Commit ff0c2241 authored by Guilhem Saurel's avatar Guilhem Saurel

Allow entity to be instanciated, for testing purposes

parent 8d60418c
Pipeline #2188 passed with stage
in 9 minutes and 21 seconds
......@@ -78,7 +78,11 @@ namespace dynamicgraph
{
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;
bool hasSignal( const std::string & signame ) const;
SignalBase<int>& getSignal (const std::string& signalName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment