![]() |
API Documentation
|
A class that updates a device by repeatedly calling update() until stop() is called. More...
#include <Device.h>
Public Member Functions | |
| DeviceUpdateThread (const DeviceUpdateThread &)=delete | |
| DeviceUpdateThread (DesignObjectLookup *lookup, Device *sensor) | |
| DeviceUpdateThread (DeviceUpdateThread &&)=delete | |
| virtual void | run () override |
| void | stop () |
| virtual | ~DeviceUpdateThread () override |
Protected Attributes | |
| volatile bool | m_is_running |
| DesignObjectLookup * | m_lookup = nullptr |
| Device * | m_sensor |
A class that updates a device by repeatedly calling update() until stop() is called.
| DeviceUpdateThread | ( | DesignObjectLookup * | lookup, |
| Device * | sensor ) |
|
delete |
|
delete |
|
overridevirtual |
|
overridevirtual |
| void stop | ( | ) |
|
protected |
|
protected |
|
protected |