1 #ifndef LIBMARKLIN_SENSOR_H_
2 #define LIBMARKLIN_SENSOR_H_
6 #include <sigc++/sigc++.h>
15 sigc::signal<void, bool> signal_state_changed;
17 Sensor(Control &, unsigned);
18 unsigned get_address() const { return addr; }
19 bool get_state() const { return state; }
25 void sensor_event(unsigned, bool);
27 typedef std::list<Sensor *> SensorSeq;
28 typedef std::map<unsigned, Sensor *> SensorMap;
30 } // namespace Marklin