BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
Public Types | |
typedef Poco::SharedPtr < VirtualDevice > | Ptr |
Public Types inherited from BeeeOn::PollableDevice | |
typedef Poco::SharedPtr < PollableDevice > | Ptr |
Public Member Functions | |
void | setID (const DeviceID &deviceId) |
DeviceID | id () const override |
void | setVendorName (const std::string &vendorName) |
std::string | vendorName () const |
void | setProductName (const std::string &productName) |
std::string | productName () const |
std::list< VirtualModule::Ptr > | modules () const |
void | addModule (const VirtualModule::Ptr virtualModule) |
std::list< ModuleType > | moduleTypes () const |
void | setRefresh (const RefreshTime &refresh) |
RefreshTime | refresh () const override |
Regular period telling how often to call the method PollableDevice::poll(). The refresh must contain a valid time. | |
bool | modifyValue (const ModuleID &moduleID, double value) |
SensorData | generate () |
void | poll (Distributor::Ptr distributor) override |
Perform polling for data and ship them via the given distributor. | |
|
overridevirtual |
Implements BeeeOn::PollableDevice.