1 // File: Events_Listener.hxx
2 // Created: Thu Mar 13 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef Events_Listener_H_
6 #define Events_Listener_H_
13 /**\class Events_Listener
15 * \brief Base interface for any event listener.
17 * If some object wants to listen some events it must inherit
18 * this class and register in the Loop.
20 class EVENTS_EXPORT Events_Listener
24 //! This method is called by loop when the event is started to process.
25 virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage) = 0;