#include "scheduler.hpp"
|
| using | Task = std::function< void()> |
| |
|
| virtual | ~IScheduler () |
| |
| virtual void | dispose (bool wait_for_release=true)=0 |
| | Stops sheduler work and tasks execution. More...
|
| |
| virtual bool | isBusy () const =0 |
| | Checks if current scheduler executes task. More...
|
| |
| virtual void | add (Task &&t)=0 |
| | Adds task to execution queue. More...
|
| |
| virtual void | addDelayed (std::chrono::microseconds timeout, Task &&t)=0 |
| | Adds delayed task to execution queue. More...
|
| |
◆ Task
◆ ~IScheduler()
| virtual iroha::subscription::IScheduler::~IScheduler |
( |
| ) |
|
|
inlinevirtual |
◆ add()
| virtual void iroha::subscription::IScheduler::add |
( |
Task && |
t | ) |
|
|
pure virtual |
◆ addDelayed()
| virtual void iroha::subscription::IScheduler::addDelayed |
( |
std::chrono::microseconds |
timeout, |
|
|
Task && |
t |
|
) |
| |
|
pure virtual |
◆ dispose()
| virtual void iroha::subscription::IScheduler::dispose |
( |
bool |
wait_for_release = true | ) |
|
|
pure virtual |
◆ isBusy()
| virtual bool iroha::subscription::IScheduler::isBusy |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: