Salome HOME
Sources formated according to the codeing standards
[modules/shaper.git] / src / Config / Config_PointerMessage.h
1 /*
2  * Config_PointerMessage.h
3  *
4  *  Created on: Mar 21, 2014
5  *      Author: sbh
6  */
7
8 #ifndef PARTSET_MESSAGE_H_
9 #define PARTSET_MESSAGE_H_
10
11 #include <Config_def.h>
12 #include <Events_Message.h>
13
14 /*
15  * A general class to pass pointers over the event loop.
16  */
17 class CONFIG_EXPORT Config_PointerMessage : public Events_Message
18 {
19  public:
20   Config_PointerMessage(const Events_ID theId, const void* theParent = 0);
21   virtual ~Config_PointerMessage();
22
23   void* pointer() const;
24   void setPointer(void* pointer);
25
26  private:
27   void* myPointer;
28 };
29
30 #endif /* PARTSET_MESSAGE_H_ */