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