BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
Public Types | |
typedef Poco::AutoPtr < ServerDeviceListResult > | Ptr |
typedef std::map< ModuleID, double > | ModuleValues |
typedef std::map< DeviceID, ModuleValues > | DeviceValues |
Public Types inherited from BeeeOn::Result | |
typedef Poco::AutoPtr< Result > | Ptr |
typedef Poco::ScopedLock< Result > | ScopedLock |
typedef Enum< StatusEnum > | Status |
Public Member Functions | |
ServerDeviceListResult (const Answer::Ptr answer) | |
void | setDevices (const DeviceValues &values) |
DeviceValues | devices () const |
void | setDeviceList (const std::vector< DeviceID > &deviceList) |
std::vector< DeviceID > | deviceList () const |
Poco::Nullable< double > | value (const DeviceID &id, const ModuleID &module) const |
Public Member Functions inherited from BeeeOn::Result | |
Result (Poco::AutoPtr< Answer > answer) | |
void | setStatus (const Status status) |
Status | status () const |
void | notifyUpdated () |
void | lock () |
void | unlock () |
Public Member Functions inherited from BeeeOn::Castable | |
template<typename T > | |
bool | is () |
template<typename T > | |
bool | is () const |
template<typename C > | |
const C & | cast () const |
template<typename C > | |
C & | cast () |