Skip to content
Snippets Groups Projects
Commit 4981bc43 authored by Nicolas Mansard's avatar Nicolas Mansard
Browse files

Account for the Entity::getClassName becoming pure virtual.

parent 9c3e5885
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ class Derivator
public: /* --- CONSTRUCTION --- */
static std::string getTypeName( void ) { return "Unknown"; }
virtual const std::string& getClassName( void ) const { return CLASS_NAME; }
static const std::string CLASS_NAME;
Derivator( const std::string& name )
......@@ -75,7 +76,6 @@ class Derivator
timestepSIN.setKeepReference(true);
}
virtual ~Derivator( void ) {};
public: /* --- SIGNAL --- */
......
......@@ -112,7 +112,7 @@ class SOTGRIPPERCONTROL_EXPORT GripperControlPlugin
GripperControlPlugin( const std::string& name );
virtual ~GripperControlPlugin( void );
virtual const std::string& getClassName( void ) const { return CLASS_NAME; }
public: /* --- SIGNAL --- */
/* --- INPUTS --- */
......
......@@ -72,7 +72,7 @@ class SOTREADER_EXPORT sotReader
{
public:
static const std::string CLASS_NAME;
virtual const std::string& getClassName( void ) { return CLASS_NAME; }
virtual const std::string& getClassName( void ) const { return CLASS_NAME; }
public:
......
......@@ -67,6 +67,7 @@ namespace dynamicgraph {
{
public:
static const std::string CLASS_NAME;
virtual const std::string& getClassName( void ) const { return CLASS_NAME; }
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