1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: Events_Listener.hxx
4 // Created: Thu Mar 13 2014
5 // Author: Mikhail PONIKAROV
7 #ifndef Events_Listener_H_
8 #define Events_Listener_H_
15 /**\class Events_Listener
17 * \brief Base interface for any event listener.
19 * If some object wants to listen some events it must inherit
20 * this class and register in the Loop.
22 class EVENTS_EXPORT Events_Listener
26 //! This method is called by loop when the event is started to process.
27 virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage) = 0;