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

Public Types

typedef Poco::SharedPtr
< SequentialAsyncExecutor
Ptr
 
- Public Types inherited from BeeeOn::StoppableRunnable
typedef Poco::SharedPtr
< StoppableRunnable
Ptr
 
- Public Types inherited from BeeeOn::AsyncExecutor
typedef Poco::SharedPtr
< AsyncExecutor
Ptr
 

Public Member Functions

void setStopTimeout (const Poco::Timespan &timeout)
 
void invoke (std::function< void()> f) override
 
void run () override
 
void stop () override
 

Protected Member Functions

void finalize ()
 

Member Function Documentation

void SequentialAsyncExecutor::invoke ( std::function< void()>  f)
overridevirtual

Add task to queue for executing

Implements BeeeOn::AsyncExecutor.

void SequentialAsyncExecutor::stop ( )
overridevirtual

Stop the runnable. The call should not block.

Implements BeeeOn::StoppableRunnable.


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