5namespace RoboidControl {
A digital (on/off, 1/0, true/false) sensor.
Definition DigitalSensor.h:8
DigitalSensor(Participant *owner=nullptr)
Create a digital sensor without communication abilities.
virtual void ProcessBinary(char *bytes) override
Function used to process binary data received for this digital sensor.
Definition DigitalSensor.cpp:14
int GenerateBinary(char *bytes, unsigned char *ix) override
Function used to generate binary data for this digital sensor.
Definition DigitalSensor.cpp:9
bool state
The sigital state.
Definition DigitalSensor.h:25
A participant is a device which manages things. It can communicate with other participant to synchron...
Definition Participant.h:62
A thing is the primitive building block.
Definition Thing.h:20
Participant * owner
The participant owning this thing.
Definition Thing.h:92
static Thing * LocalRoot()
The root thing for the local participant.
Definition Thing.cpp:23