Salome HOME
FIx for issue #360 : make switching on/off checking of transactions in Session -...
[modules/shaper.git] / src / Config / Config_PointerMessage.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 /*
4  * Config_PointerMessage.h
5  *
6  *  Created on: Mar 21, 2014
7  *      Author: sbh
8  */
9
10 #ifndef PARTSET_MESSAGE_H_
11 #define PARTSET_MESSAGE_H_
12
13 #include <Config_def.h>
14 #include <Events_Message.h>
15
16 /*!
17  * \class Config_PointerMessage
18  * \brief A general class to pass pointers over the event loop.
19  */
20 class CONFIG_EXPORT Config_PointerMessage : public Events_Message
21 {
22  public:
23   Config_PointerMessage(const Events_ID theId, const void* theParent = 0);
24   virtual ~Config_PointerMessage();
25
26   void* pointer() const;
27   void setPointer(void* pointer);
28
29  private:
30   void* myPointer;
31 };
32
33 #endif /* PARTSET_MESSAGE_H_ */