![]() |
SSP21-CPP
|
#include <exe4cpp/asio/StrandExecutor.h>
Public Member Functions | |
StrandExecutor (const std::shared_ptr< asio::io_service > &io_service) | |
std::shared_ptr< StrandExecutor > | fork () |
virtual Timer | start (const duration_t &duration, const action_t &action) override |
virtual Timer | start (const steady_time_t &expiration, const action_t &action) override |
virtual void | post (const action_t &action) override |
virtual steady_time_t | get_time () override |
std::shared_ptr< asio::io_service > | get_service () |
template<typename handler_t > | |
asio::detail::wrapped_handler< asio::strand, handler_t, asio::detail::is_continuation_if_running > | wrap (const handler_t &handler) |
Static Public Member Functions | |
static std::shared_ptr< StrandExecutor > | create (const std::shared_ptr< asio::io_service > &io_service) |
Implementation of openpal::IExecutor backed by asio::strand
Shutdown life-cycle guarantees are provided by using std::shared_ptr
Definition at line 43 of file StrandExecutor.h.
|
inlineoverridevirtual |
Implements exe4cpp::IExecutor.
Definition at line 67 of file StrandExecutor.h.
|
inlineoverridevirtual |
Implements exe4cpp::IExecutor.
Definition at line 72 of file StrandExecutor.h.
|
inlineoverridevirtual |
Implements exe4cpp::IExecutor.
Definition at line 92 of file StrandExecutor.h.
|
inlineoverridevirtual |
Implements exe4cpp::ISteadyTimeSource.
Definition at line 102 of file StrandExecutor.h.