- Command &command(const std::string &);
- void add_turnout(Turnout *);
- void add_locomotive(Locomotive *);
- void add_sensor(Sensor *);
+ Command &command(Cmd);
+ Command &command(Cmd, unsigned char);
+ Command &command(Cmd, const unsigned char *, unsigned);
+
+ void add_turnout(Turnout &);
+ Turnout &get_turnout(unsigned) const;
+ void add_locomotive(Locomotive &);
+ Locomotive &get_locomotive(unsigned) const;
+ void add_sensor(Sensor &);
+ Sensor &get_sensor(unsigned) const;
+