BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions
BeeeOn::PollableDevice Class Referenceabstract

PollableDevice is a device that is necessary to poll regularly for data. The polling can take some time to progress and the time should be significantly smaller than its refresh time. More...

#include <PollableDevice.h>

Inheritance diagram for BeeeOn::PollableDevice:
BeeeOn::BelkinWemoDevice BeeeOn::BLESmartDevice BeeeOn::IQRFDevice BeeeOn::PhilipsHueBulb BeeeOn::VirtualDevice BeeeOn::VPTDevice BeeeOn::BelkinWemoBulb BeeeOn::BelkinWemoStandaloneDevice BeeeOn::BeeWiDevice BeeeOn::RevogiDevice BeeeOn::TabuLumenSmartLite BeeeOn::PhilipsHueDimmableBulb BeeeOn::BelkinWemoDimmer BeeeOn::BelkinWemoSwitch BeeeOn::BeeWiSmartClim BeeeOn::BeeWiSmartDoor BeeeOn::BeeWiSmartLite BeeeOn::BeeWiSmartMotion BeeeOn::BeeWiSmartWatt BeeeOn::RevogiRGBLight BeeeOn::RevogiSmartPlug

Public Types

typedef Poco::SharedPtr
< PollableDevice
Ptr
 

Public Member Functions

virtual DeviceID id () const =0
 
virtual RefreshTime refresh () const =0
 Regular period telling how often to call the method PollableDevice::poll(). The refresh must contain a valid time.
 
virtual void poll (Distributor::Ptr distributor)=0
 Perform polling for data and ship them via the given distributor.
 

Detailed Description

PollableDevice is a device that is necessary to poll regularly for data. The polling can take some time to progress and the time should be significantly smaller than its refresh time.

Member Function Documentation

virtual DeviceID BeeeOn::PollableDevice::id ( ) const
pure virtual

The documentation for this class was generated from the following files: