![]() |
SSP21-CPP
|
#include <exe4cpp/IExecutor.h>
Public Member Functions | |
virtual Timer | start (const duration_t &duration, const action_t &action)=0 |
virtual Timer | start (const steady_time_t &expiration, const action_t &action)=0 |
virtual void | post (const action_t &action)=0 |
![]() | |
virtual steady_time_t | get_time ()=0 |
Interface that abstracts an event loop.
Events can be posted for to execute immediately or some time in the future. Events are processed in the order they are posted.
Definition at line 44 of file IExecutor.h.
|
pure virtual |
Implemented in exe4cpp::MockExecutor, exe4cpp::StrandExecutor, and exe4cpp::BasicExecutor.
|
pure virtual |
Implemented in exe4cpp::MockExecutor, exe4cpp::StrandExecutor, and exe4cpp::BasicExecutor.
|
pure virtual |
Implemented in exe4cpp::StrandExecutor, exe4cpp::MockExecutor, and exe4cpp::BasicExecutor.