File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ It is providing a step-by-step way of building an entity
35
35
36
36
\section sec_htw_helpers Helpers
37
37
38
+
38
39
When writing entities you might use some macros which are very useful to write your class.
39
40
40
41
\subsection subsec_howto_typedef Entity helpers
@@ -43,7 +44,21 @@ The header <b>entity-helper.h</b> is defining a type called EntityClassName
43
44
44
45
\section sec_howto_macros_helpers Macro helpers
45
46
46
- \subsection subsec_howto_macros_helpers Preprocessing macros for signals
47
+ \subsection subsec_howto_macros_helpers_ent Preprocessing macros for entities
48
+
49
+ <ul>
50
+ <li> <b>DYNAMIC_GRAPH_ENTITY_DECL()</b>:
51
+ This macro creates a method <b>getClassName()</b> which returns the class name.</li>
52
+ This macro <b>should</b> be used in the declaration of the class.
53
+ </li>
54
+ <li> <b>DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(classtype,classname)</b>
55
+ This macros creates the methods necessary to have a factory building the C++ class
56
+ <b>classtype</b> from the string <b>classname</b>.
57
+ This macro <b>should</b> be used in the implementation of the class.
58
+ </li>
59
+ </ul>
60
+
61
+ \subsection subsec_howto_macros_helpers_sig Preprocessing macros for signals
47
62
48
63
<ul>
49
64
<li> Macro for input signals
You can’t perform that action at this time.
0 commit comments