BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions | Static Public Member Functions
BeeeOn::NullSensorDataFormatter Class Reference

#include <NullSensorDataFormatter.h>

Inheritance diagram for BeeeOn::NullSensorDataFormatter:
BeeeOn::SensorDataFormatter

Public Member Functions

std::string format (const SensorData &data) override
 

Static Public Member Functions

static SensorDataFormatterinstance ()
 

Additional Inherited Members

- Public Types inherited from BeeeOn::SensorDataFormatter
typedef Poco::SharedPtr
< SensorDataFormatter
Ptr
 

Detailed Description

NullSensorDataFormatter can be and is used as a default instance of a SensorDataFormatter (instead of NULL pointer).

Member Function Documentation

std::string NullSensorDataFormatter::format ( const SensorData data)
overridevirtual

Convert data from struct SensorData to some formatted text

Implements BeeeOn::SensorDataFormatter.


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