Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Roll back the modification, not yet approved
[modules/shaper.git]
/
src
/
Config
/
Config_PointerMessage.h
diff --git
a/src/Config/Config_PointerMessage.h
b/src/Config/Config_PointerMessage.h
index f108d3edeaa50bc7ad81f1071026fd6f5825484f..872c4365509effdc6d0ae624337860874c6f77e4 100644
(file)
--- a/
src/Config/Config_PointerMessage.h
+++ b/
src/Config/Config_PointerMessage.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
/*
* Config_PointerMessage.h
*
/*
* Config_PointerMessage.h
*
@@
-8,23
+10,28
@@
#ifndef PARTSET_MESSAGE_H_
#define PARTSET_MESSAGE_H_
#ifndef PARTSET_MESSAGE_H_
#define PARTSET_MESSAGE_H_
-#include <Config.h>
+#include <Config
_def
.h>
#include <Events_Message.h>
#include <Events_Message.h>
-/*
- * A general class to pass pointers over the event loop.
+/*!
+ * \class Config_PointerMessage
+ * \ingroup Config
+ * \brief A general class to pass pointers over the event loop.
*/
*/
-class CONFIG_EXPORT Config_PointerMessage: public Events_Message
+class CONFIG_EXPORT Config_PointerMessage
: public Events_Message
{
{
-public:
+ public:
+ /// Constructor
Config_PointerMessage(const Events_ID theId, const void* theParent = 0);
virtual ~Config_PointerMessage();
Config_PointerMessage(const Events_ID theId, const void* theParent = 0);
virtual ~Config_PointerMessage();
+ /// Returns pointer to an object
void* pointer() const;
void* pointer() const;
+ /// Sets pointer to an object
void setPointer(void* pointer);
void setPointer(void* pointer);
-private:
- void* myPointer;
+
private:
+ void* myPointer;
///< Pointer to an object
};
#endif /* PARTSET_MESSAGE_H_ */
};
#endif /* PARTSET_MESSAGE_H_ */