namespace R2C2 {
+class Block;
class Layout;
class Sensor: public sigc::trackable
protected:
Layout &layout;
unsigned address;
+ bool invert;
State state;
Msp::Time::TimeDelta state_confirm_timeout;
public:
virtual ~Sensor();
+ virtual void set_address(unsigned);
unsigned get_address() const { return address; }
State get_state() const { return state; }
+ virtual Block *get_block() const { return 0; }
void tick(const Msp::Time::TimeDelta &);