BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions
BeeeOn::NamedPipeExporter Class Reference
Inheritance diagram for BeeeOn::NamedPipeExporter:
BeeeOn::Exporter BeeeOn::Loggable

Public Member Functions

bool ship (const SensorData &data) override
 
void setFilePath (const std::string &path)
 
void setFormatter (SensorDataFormatter *formatter)
 
- Public Member Functions inherited from BeeeOn::Loggable
 Loggable (const ClassInfo &info)
 
 Loggable (const std::type_info &info)
 

Additional Inherited Members

- Static Public Member Functions inherited from BeeeOn::Loggable
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)
 
- Protected Member Functions inherited from BeeeOn::Loggable
void setupLogger (Poco::Logger *logger=0) const
 
Poco::Logger & logger () const
 

Member Function Documentation

void NamedPipeExporter::setFilePath ( const std::string &  path)

Set file path of named pipe (mkfifo)

void NamedPipeExporter::setFormatter ( SensorDataFormatter formatter)

Set formatter for type of output

Parameters
m_formatter
bool NamedPipeExporter::ship ( const SensorData data)
overridevirtual

Export data to named pipe

Implements BeeeOn::Exporter.


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