Skip to content
Snippets Groups Projects
Commit ff0c2241 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Allow entity to be instanciated, for testing purposes

parent 8d60418c
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,11 @@ namespace dynamicgraph ...@@ -78,7 +78,11 @@ namespace dynamicgraph
{ {
return name; return name;
} }
virtual const std::string& getClassName () const = 0; virtual const std::string& getClassName () const
{
static std::string ret("Entity");
return ret;
}
virtual std::string getDocString () const; virtual std::string getDocString () const;
bool hasSignal( const std::string & signame ) const; bool hasSignal( const std::string & signame ) const;
SignalBase<int>& getSignal (const std::string& signalName); SignalBase<int>& getSignal (const std::string& signalName);
......
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