![]() |
User Manual, Developers Guide and API Documentation |
![]() |


Public Types | |
| enum | State { NotSubmitted, Queued, Running, Finished, Canceled } |
Public Member Functions | |
| Command (const wns::events::scheduler::Callable &callable) | |
| virtual bool | isCanceled () const |
| Return true if the Command was canceled. | |
| virtual bool | isFinished () const |
| Return true if the Command was executed (no longer queued, no longer running). | |
| virtual bool | isNotSubmitted () const |
| Return true, if the Command is not submitted to the queue so far (initial state). | |
| virtual bool | isQueued () const |
| Return true if the Command is queued (waiting for execution). | |
| virtual bool | isRunning () const |
| Return true if the Command is currently being executed. | |
| void | operator() () |
| forward call to callable | |
Public Attributes | |
| wns::events::scheduler::Callable | callable_ |
| State | state_ |
Definition at line 96 of file CommandQueue.hpp.
Definition at line 116 of file CommandQueue.hpp.
| wns::events::scheduler::CommandQueue::Command::Command | ( | const wns::events::scheduler::Callable & | callable | ) | [inline] |
Definition at line 101 of file CommandQueue.hpp.
| virtual bool wns::events::scheduler::CommandQueue::Command::isCanceled | ( | ) | const [inline, virtual] |
| virtual bool wns::events::scheduler::CommandQueue::Command::isFinished | ( | ) | const [inline, virtual] |
| virtual bool wns::events::scheduler::CommandQueue::Command::isNotSubmitted | ( | ) | const [inline, virtual] |
| virtual bool wns::events::scheduler::CommandQueue::Command::isQueued | ( | ) | const [inline, virtual] |
| virtual bool wns::events::scheduler::CommandQueue::Command::isRunning | ( | ) | const [inline, virtual] |
| void wns::events::scheduler::CommandQueue::Command::operator() | ( | ) | [inline] |
Definition at line 111 of file CommandQueue.hpp.
Definition at line 154 of file CommandQueue.hpp.
Definition at line 156 of file CommandQueue.hpp.
1.5.5