Skip to content
Snippets Groups Projects
Commit eb98525d authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Add read access to Entity::signalMap.

parent 6893d3d1
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,8 @@ namespace dynamicgraph
class DYNAMIC_GRAPH_DLLAPI Entity : private boost::noncopyable
{
public:
typedef std::map< std::string,SignalBase<int>* > SignalMap;
static const std::string CLASS_NAME;
explicit Entity (const std::string& name);
......@@ -90,10 +92,8 @@ namespace dynamicgraph
virtual std::map<const std::string, command::Command*>
getNewStyleCommandMap();
virtual SignalMap getSignalMap() const;
protected:
typedef std::map< std::string,SignalBase<int>* > SignalMap;
/// Add a command to Entity
virtual void addCommand(const std::string& name,
command::Command* command);
......
......@@ -213,6 +213,11 @@ std::ostream& dynamicgraph::operator<< (std::ostream& os, const Entity& ent )
return os;
}
Entity::SignalMap Entity::getSignalMap() const
{
return signalMap;
}
/* --- PARAMS --------------------------------------------------------------- */
/* --- PARAMS --------------------------------------------------------------- */
/* --- PARAMS --------------------------------------------------------------- */
......
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