Skip to content
Snippets Groups Projects
Commit 76db43a7 authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Use DYNAMIC_GRAPH_ENTITY_DECL() when needed.

parent 77c6f634
No related branches found
No related tags found
No related merge requests found
......@@ -47,11 +47,10 @@ namespace dg = dynamicgraph;
/* --------------------------------------------------------------------- */
template< class T >
class Derivator
:public dg::Entity
class Derivator : public dg::Entity
{
DYNAMIC_GRAPH_ENTITY_DECL();
protected:
protected:
T memory;
bool initialized;
double timestep;
......@@ -61,7 +60,6 @@ class Derivator
static std::string getTypeName( void ) { return "Unknown"; }
Derivator( const std::string& name )
: dg::Entity(name)
,memory(),initialized(false)
......
......@@ -61,6 +61,7 @@ namespace dg = dynamicgraph;
class SOTGRIPPERCONTROL_EXPORT GripperControl
{
DYNAMIC_GRAPH_ENTITY_DECL();
protected:
double offset;
......
......@@ -71,7 +71,6 @@ class SOTREADER_EXPORT sotReader
: public Entity
{
DYNAMIC_GRAPH_ENTITY_DECL();
public:
SignalPtr< Flags,int > selectionSIN;
......
......@@ -66,7 +66,6 @@ namespace dynamicgraph {
:public dynamicgraph::Entity
{
DYNAMIC_GRAPH_ENTITY_DECL();
public:
class sotEventAbstract
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment