fastdo  0.6.8
winux::RunableT< _Fx, _TargetTuple, typename > 模板类 参考

#include <utilities.hpp>

类 winux::RunableT< _Fx, _TargetTuple, typename > 继承关系图:
winux::RunableT< _Fx, _TargetTuple, typename > 的协作图:

Public 类型

using FuncTraits = winux::FuncTraits< _Fx >
 
using TargetTuple = _TargetTuple
 
using ParamsIndexSequence = typename MakeIndexSequence< std::tuple_size< typename FuncTraits::ParamsTuple >::value >::Type
 
using ReturnType = typename winux::FuncTraits< _Fx >::ReturnType
 
using ClassType = typename winux::FuncTraits< _Fx >::ClassType
 

Public 成员函数

template<typename... _ArgType>
 RunableT (_Fx pfn, _ArgType &&...arg)
 
virtual void run ()
 
virtual RunableTclone ()
 
virtual ReturnType invoke ()
 
template<size_t... _Index>
ReturnType _invoke (IndexSequence< _Index... >)
 
- Public 成员函数 继承自 winux::Runable
virtual ~Runable ()
 

Public 属性

_Fx _pfn
 
TargetTuple _tuple
 

Protected 成员函数

 RunableT (_Fx pfn, TargetTuple &&tuple)
 

详细描述

template<typename _Fx, typename _TargetTuple, typename = typename winux::FuncTraits<_Fx>::ClassType>
class winux::RunableT< _Fx, _TargetTuple, typename >

在文件 utilities.hpp25 行定义.

成员类型定义说明

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
using winux::RunableT< _Fx, _TargetTuple, typename >::ClassType = typename winux::FuncTraits<_Fx>::ClassType

在文件 utilities.hpp32 行定义.

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
using winux::RunableT< _Fx, _TargetTuple, typename >::FuncTraits = winux::FuncTraits<_Fx>

在文件 utilities.hpp28 行定义.

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
using winux::RunableT< _Fx, _TargetTuple, typename >::ParamsIndexSequence = typename MakeIndexSequence< std::tuple_size< typename FuncTraits::ParamsTuple >::value >::Type

在文件 utilities.hpp30 行定义.

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
using winux::RunableT< _Fx, _TargetTuple, typename >::ReturnType = typename winux::FuncTraits<_Fx>::ReturnType

在文件 utilities.hpp31 行定义.

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
using winux::RunableT< _Fx, _TargetTuple, typename >::TargetTuple = _TargetTuple

在文件 utilities.hpp29 行定义.

构造及析构函数说明

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
template<typename... _ArgType>
winux::RunableT< _Fx, _TargetTuple, typename >::RunableT ( _Fx  pfn,
_ArgType &&...  arg 
)
inline

在文件 utilities.hpp35 行定义.

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
winux::RunableT< _Fx, _TargetTuple, typename >::RunableT ( _Fx  pfn,
TargetTuple &&  tuple 
)
inlineprotected

在文件 utilities.hpp64 行定义.

成员函数说明

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
template<size_t... _Index>
ReturnType winux::RunableT< _Fx, _TargetTuple, typename >::_invoke ( IndexSequence< _Index... >  )
inline

在文件 utilities.hpp55 行定义.

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
virtual RunableT* winux::RunableT< _Fx, _TargetTuple, typename >::clone ( )
inlinevirtual

实现了 winux::Runable.

在文件 utilities.hpp44 行定义.

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
virtual ReturnType winux::RunableT< _Fx, _TargetTuple, typename >::invoke ( )
inlinevirtual
template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
virtual void winux::RunableT< _Fx, _TargetTuple, typename >::run ( )
inlinevirtual

实现了 winux::Runable.

在文件 utilities.hpp39 行定义.

类成员变量说明

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
_Fx winux::RunableT< _Fx, _TargetTuple, typename >::_pfn

在文件 utilities.hpp60 行定义.

template<typename _Fx , typename _TargetTuple , typename = typename winux::FuncTraits<_Fx>::ClassType>
TargetTuple winux::RunableT< _Fx, _TargetTuple, typename >::_tuple

在文件 utilities.hpp61 行定义.


该类的文档由以下文件生成: