fastdo  0.5.12
winux::TaskCtxT< void > 模板结构体 参考

#include <threads.hpp>

类 winux::TaskCtxT< void > 继承关系图:
winux::TaskCtxT< void > 的协作图:

Public 成员函数

void get ()
 
void exec (RunableInvoker< void > *ivk)
 
- Public 成员函数 继承自 winux::TaskCtx
bool wait (double sec=-1)
 等待任务结束 更多...
 
void updateStatus (TaskStatus st, bool isNotifyAll=false)
 更新运行状态 更多...
 
void rePost ()
 重新投入线程池队列中 更多...
 

静态 Public 成员函数

template<typename... _ArgType>
static SharedPointer< TaskCtxTCreate (_ArgType &&...arg)
 

Protected 成员函数

 TaskCtxT ()
 
- Protected 成员函数 继承自 winux::TaskCtx
 TaskCtx ()
 
virtual ~TaskCtx ()
 

额外继承的成员函数

- Public 类型 继承自 winux::TaskCtx
enum  TaskStatus { taskPending, taskRunning, taskStop }
 
- Public 属性 继承自 winux::TaskCtx
Mutex mtxTask
 
Condition cdtTask
 
TaskStatus status
 
ThreadPoolpool
 
WeakPointer< TaskCtxweakThis
 
SimplePointer< Runable > poolRunable
 

详细描述

template<>
struct winux::TaskCtxT< void >

在文件 threads.hpp595 行定义.

构造及析构函数说明

winux::TaskCtxT< void >::TaskCtxT ( )
inlineprotected

在文件 threads.hpp615 行定义.

成员函数说明

template<typename... _ArgType>
static SharedPointer<TaskCtxT> winux::TaskCtxT< void >::Create ( _ArgType &&...  arg)
inlinestatic

在文件 threads.hpp598 行定义.

void winux::TaskCtxT< void >::exec ( RunableInvoker< void > *  ivk)
inline

在文件 threads.hpp610 行定义.

void winux::TaskCtxT< void >::get ( )
inline

在文件 threads.hpp605 行定义.


该结构体的文档由以下文件生成: