BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
#include <NullSensorDataFormatter.h>
Public Member Functions | |
std::string | format (const SensorData &data) override |
Static Public Member Functions | |
static SensorDataFormatter & | instance () |
Additional Inherited Members | |
Public Types inherited from BeeeOn::SensorDataFormatter | |
typedef Poco::SharedPtr < SensorDataFormatter > | Ptr |
NullSensorDataFormatter can be and is used as a default instance of a SensorDataFormatter (instead of NULL pointer).
|
overridevirtual |
Convert data from struct SensorData to some formatted text
Implements BeeeOn::SensorDataFormatter.