diff --git a/include/dynamic-graph/entity.h b/include/dynamic-graph/entity.h index 17c814fe84b443f8868d4346aab59a192cc06104..b10217873e3e6a987b4db05060d86aa5cc836fa9 100644 --- a/include/dynamic-graph/entity.h +++ b/include/dynamic-graph/entity.h @@ -87,16 +87,13 @@ namespace dynamicgraph return ; } - virtual const std::string& getCommandList () const; - virtual CommandMap_t getNewStyleCommandMap(); + const std::string& getCommandList () const; + CommandMap_t getNewStyleCommandMap(); command::Command* getNewStyleCommand( const std::string& cmdName ); - virtual SignalMap getSignalMap() const; + SignalMap getSignalMap() const; protected: - /// Add a command to Entity - virtual void addCommand(const std::string& name, - command::Command* command); - + void addCommand(const std::string& name,command::Command* command); void entityRegistration (); void entityDeregistration (); diff --git a/src/dgraph/entity.cpp b/src/dgraph/entity.cpp index 3ea8900578ad70c5ef79edfce4a65628837d5cb0..8b37740f99a9fa02e1344b1cd495f781375016db 100644 --- a/src/dgraph/entity.cpp +++ b/src/dgraph/entity.cpp @@ -279,6 +279,7 @@ commandLine( const std::string& cmdLine,std::istringstream& cmdArgs,std::ostream } +/// Add a command to Entity void Entity:: addCommand(const std::string& inName, Command* command) {