BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
AnyAsyncWork represents an asynchronous work to be processed. Such work is defined only in terms of execution. It is started somehow (implementation specific) and can be joined or cancelled. More...
#include <AnyAsyncWork.h>
Public Types | |
typedef Poco::SharedPtr < AnyAsyncWork > | Ptr |
Public Types inherited from BeeeOn::Cancellable | |
typedef Poco::SharedPtr < Cancellable > | Ptr |
Public Member Functions | |
virtual bool | tryJoin (const Poco::Timespan &timeout)=0 |
Public Member Functions inherited from BeeeOn::Cancellable | |
virtual void | cancel ()=0 |
Cancel the operation this object represents. It should exit immediatelly or at least as soon as possible. | |
AnyAsyncWork represents an asynchronous work to be processed. Such work is defined only in terms of execution. It is started somehow (implementation specific) and can be joined or cancelled.
|
pure virtual |
Implemented in BeeeOn::AbstractSeeker, BeeeOn::DelayedAsyncWork< Result >, BeeeOn::DelayedAsyncWork< std::set< BeeeOn::DeviceID > >, BeeeOn::BlockingAsyncWork< Result >, and BeeeOn::ThreadWrapperAsyncWork< Result >.