GATE
|
Public Types | |
typedef TypedTask< T > | self_t |
Public Types inherited from gate::Task | |
enum | StatusEnum { Status_Prepared = GATE_TASK_STATUS_PREPARED , Status_Running = GATE_TASK_STATUS_RUNNING , Status_Completed = GATE_TASK_STATUS_COMPLETED , Status_Canceled = GATE_TASK_STATUS_CANCELED , Status_Failed = GATE_TASK_STATUS_FAILED } |
typedef ObjectImpl< gate_task_t > | object_impl_t |
Public Types inherited from gate::ObjectImpl< gate_task_t > | |
typedef gate_task_t | impl_t |
typedef ObjectImpl< gate_task_t > | object_impl_t |
Public Member Functions | |
TypedTask (gate_task_t *ptr_runnable) | |
TypedTask (self_t const &src) | |
self_t & | operator= (self_t const &src) |
T | getResult () |
Public Member Functions inherited from gate::Task | |
virtual void | run () |
virtual void | cancel () |
Task (gate_task_t *ptr_task) | |
Task (Task const &src) | |
Task & | operator= (Task const &src) |
StatusEnum | status () |
bool_t | completed () |
void const * | getResult () |
void | wait () |
bool | waitFor (uint32_t timeoutMs) |
template<class T > | |
bool_t | getResult (T &refResult) |
Public Member Functions inherited from gate::ObjectImpl< gate_task_t > | |
ObjectImpl (impl_t *impl) noexcept | |
ObjectImpl (ObjectImpl const &src) noexcept | |
ObjectImpl & | operator= (ObjectImpl const &that) noexcept |
impl_t * | c_impl () const noexcept |
Public Member Functions inherited from gate::Object | |
Object (gate_object_ptr_t obj_ptr) noexcept | |
Object (Object const &obj) noexcept | |
Object & | operator= (Object const &obj) noexcept |
String | getInterfaceName () |
gate_object_ptr_t | c_impl () noexcept |
bool_t | operator! () const noexcept |
bool_t | empty () const noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from gate::ObjectImpl< gate_task_t > | |
void | swap (object_impl_t &that) noexcept |
Protected Member Functions inherited from gate::Object | |
void | swap (Object &that) noexcept |
Protected Attributes inherited from gate::ObjectImpl< gate_task_t > | |
impl_t * | impl_ptr |