1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
4 * Config_PointerMessage.h
6 * Created on: Mar 21, 2014
10 #ifndef PARTSET_MESSAGE_H_
11 #define PARTSET_MESSAGE_H_
13 #include <Config_def.h>
14 #include <Events_Message.h>
17 * \class Config_PointerMessage
19 * \brief A general class to pass pointers over the event loop.
21 class CONFIG_EXPORT Config_PointerMessage : public Events_Message
25 Config_PointerMessage(const Events_ID theId, const void* theParent = 0);
26 virtual ~Config_PointerMessage();
28 /// Returns pointer to an object
29 void* pointer() const;
30 /// Sets pointer to an object
31 void setPointer(void* pointer);
34 void* myPointer; ///< Pointer to an object
37 #endif /* PARTSET_MESSAGE_H_ */