5namespace RoboidControl {
A participant is a device which manages things. It can communicate with other participant to synchron...
Definition Participant.h:62
A temperature sensor.
Definition TemperatureSensor.h:8
virtual void SetTemperature(float temperature)
Manually override the measured temperature.
Definition TemperatureSensor.cpp:11
float temperature
The measured temperature.
Definition TemperatureSensor.h:20
int GenerateBinary(char *bytes, unsigned char *ix) override
Function to create a binary message with the temperature.
Definition TemperatureSensor.cpp:15
TemperatureSensor(Participant *participant)
The default constructor.
virtual void ProcessBinary(char *bytes) override
Function to extract the temperature received in the binary message.
Definition TemperatureSensor.cpp:22
A thing is the primitive building block.
Definition Thing.h:20
static Thing * LocalRoot()
The root thing for the local participant.
Definition Thing.cpp:23