Salome HOME
272a40063a0ce08be3ea474d85783684f14549b3
[modules/shaper.git] / src / PartSet / PartSet_Listener.h
1 // File:        PartSet_Listener.h
2 // Created:     28 Apr 2014
3 // Author:      Natalia ERMOLAEVA
4
5 #ifndef PartSet_Listener_H
6 #define PartSet_Listener_H
7
8 #include "PartSet.h"
9
10 #include <Events_Listener.h>
11
12 class PartSet_Module;
13
14 /*!
15  \class PartSet_Listener
16  * \brief The operation for the sketch feature creation
17  */
18 class PARTSET_EXPORT PartSet_Listener : public Events_Listener
19 {
20  public:
21   /// Constructor
22   /// \param theId the feature identifier
23   /// \param theParent the operation parent
24   PartSet_Listener(PartSet_Module* theModule);
25   /// Destructor
26   virtual ~PartSet_Listener();
27
28   /// This method is called by loop when the event is started to process.
29   virtual void processEvent(const boost::shared_ptr<Events_Message>& theMessage);
30
31  private:
32   PartSet_Module* myModule;  ///< the current module
33 };
34
35 #endif