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

Invoker模板 更多...

#include <utilities.hpp>

Public 类型

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

Public 成员函数

template<typename... _ArgType>
 Invoker (_Fx func, ClassType *obj, _ArgType &&...arg)
 
ReturnType invoke ()
 

Protected 成员函数

template<size_t... _Index>
ReturnType _invoke (IndexSequence< _Index... >)
 

Protected 属性

_Fx _func
 
ClassType_obj
 
ParamsTuple _params
 

详细描述

template<typename _Fx, typename = typename winux::FuncTraits<_Fx>::ClassType, typename = typename winux::FuncTraits<_Fx>::ReturnType>
class winux::Invoker< _Fx, typename, typename >

Invoker模板

在文件 utilities.hpp13 行定义.

成员类型定义说明

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

在文件 utilities.hpp19 行定义.

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

在文件 utilities.hpp16 行定义.

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

在文件 utilities.hpp18 行定义.

template<typename _Fx , typename = typename winux::FuncTraits<_Fx>::ClassType, typename = typename winux::FuncTraits<_Fx>::ReturnType>
using winux::Invoker< _Fx, typename, typename >::ParamsTuple = typename FuncTraits::ParamsTuple

在文件 utilities.hpp17 行定义.

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

在文件 utilities.hpp20 行定义.

构造及析构函数说明

template<typename _Fx , typename = typename winux::FuncTraits<_Fx>::ClassType, typename = typename winux::FuncTraits<_Fx>::ReturnType>
template<typename... _ArgType>
winux::Invoker< _Fx, typename, typename >::Invoker ( _Fx  func,
ClassType obj,
_ArgType &&...  arg 
)
inline

在文件 utilities.hpp23 行定义.

成员函数说明

template<typename _Fx , typename = typename winux::FuncTraits<_Fx>::ClassType, typename = typename winux::FuncTraits<_Fx>::ReturnType>
template<size_t... _Index>
ReturnType winux::Invoker< _Fx, typename, typename >::_invoke ( IndexSequence< _Index... >  )
inlineprotected

在文件 utilities.hpp33 行定义.

template<typename _Fx , typename = typename winux::FuncTraits<_Fx>::ClassType, typename = typename winux::FuncTraits<_Fx>::ReturnType>
ReturnType winux::Invoker< _Fx, typename, typename >::invoke ( )
inline

在文件 utilities.hpp27 行定义.

类成员变量说明

template<typename _Fx , typename = typename winux::FuncTraits<_Fx>::ClassType, typename = typename winux::FuncTraits<_Fx>::ReturnType>
_Fx winux::Invoker< _Fx, typename, typename >::_func
protected

在文件 utilities.hpp38 行定义.

template<typename _Fx , typename = typename winux::FuncTraits<_Fx>::ClassType, typename = typename winux::FuncTraits<_Fx>::ReturnType>
ClassType* winux::Invoker< _Fx, typename, typename >::_obj
protected

在文件 utilities.hpp39 行定义.

template<typename _Fx , typename = typename winux::FuncTraits<_Fx>::ClassType, typename = typename winux::FuncTraits<_Fx>::ReturnType>
ParamsTuple winux::Invoker< _Fx, typename, typename >::_params
protected

在文件 utilities.hpp40 行定义.


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