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

Public Member Functions

 StoppableLoopAdapter (StoppableRunnable::Ptr runnable)
 
void start () override
 
void stop () override
 
void setStopTimeout (const Poco::Timespan &timeout)
 
StoppableRunnable::Ptr runnable () const
 
- Public Member Functions inherited from BeeeOn::Loggable
 Loggable (const ClassInfo &info)
 
 Loggable (const std::type_info &info)
 

Protected Member Functions

void doStop ()
 
- Protected Member Functions inherited from BeeeOn::Loggable
void setupLogger (Poco::Logger *logger=0) const
 
Poco::Logger & logger () const
 

Additional Inherited Members

- Public Types inherited from BeeeOn::StoppableLoop
typedef Poco::SharedPtr
< StoppableLoop
Ptr
 
- 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)
 

Member Function Documentation

void StoppableLoopAdapter::start ( )
overridevirtual

Starts the loop to process in an internally managed thread.

Implements BeeeOn::StoppableLoop.

void StoppableLoopAdapter::stop ( )
overridevirtual

Stop the loop and wait until finished.

Implements BeeeOn::StoppableLoop.


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