Open Lighting Architecture
|
A class which represents a sensor.
Public Member Functions | |
FakeSensor (ola::rdm::rdm_sensor_type type, ola::rdm::rdm_pid_unit unit, ola::rdm::rdm_pid_prefix prefix, int16_t range_min, int16_t range_max, int16_t normal_min, int16_t normal_max, const string &description) | |
int16_t | GenerateValue () |
void | Record () |
int16_t | Reset () |
int16_t ola::rdm::FakeSensor::GenerateValue | ( | ) |
Generate a Sensor value
void ola::rdm::FakeSensor::Record | ( | ) |
Generate a new value and record it.
int16_t ola::rdm::FakeSensor::Reset | ( | ) |
Reset a sensor.