Abstract class representing generic Conrad device.
More...
#include <ConradDevice.h>
|
| ConradDevice (const DeviceID &id, const RefreshTime &refresh, const std::string &productName, const std::list< ModuleType > &moduleTypes) |
|
DeviceID | id () const |
|
RefreshTime | refreshTime () const |
|
std::list< ModuleType > | moduleTypes () const |
|
std::string | vendor () const |
|
std::string | productName () const |
|
virtual void | requestModifyState (const ModuleID &moduleID, const double value, FHEMClient::Ptr fhemClient) |
|
virtual SensorData | parseMessage (const Poco::JSON::Object::Ptr message)=0 |
| Transforms received ZMQ message to SensorData.
|
|
|
static const std::string | VENDOR_NAME = "Conrad" |
|
|
bool | isNumber (const std::string &s) |
| Returns true or false depending if the string is number or not.
|
|
void | setupLogger (Poco::Logger *logger=0) const |
|
Poco::Logger & | logger () const |
|
| Loggable (const ClassInfo &info) |
|
| Loggable (const std::type_info &info) |
|
|
static Poco::Logger & | forMethod (const char *name) |
|
static Poco::Logger & | forClass (const ClassInfo &info) |
|
static Poco::Logger & | forClass (const std::type_info &info) |
|
template<typename T > |
static Poco::Logger & | forInstance (const T *i) |
|
static void | configureSimple (Poco::Logger &logger, const std::string &level) |
|
static void | logException (Poco::Logger &logger, const Poco::Message::Priority priority, const Poco::Exception &e, const char *file, size_t line) |
|
Abstract class representing generic Conrad device.
The documentation for this class was generated from the following files:
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/conrad/ConradDevice.h
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/conrad/ConradDevice.cpp