cgma
CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 > Struct Template Reference

#include <CubitConcurrentApi.h>

Inheritance diagram for CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >:
CubitConcurrent::Task

List of all members.

Public Member Functions

 ClassFunctionTaskArg2 (X &_ptr, void(X::*_MemFun)(Param1, Param2), Param1 _arg1, Param2 _arg2)
void execute ()

Protected Attributes

Xptr
void(X::* MemFun )(Param1, Param2)
Param1 arg1
Param2 arg2

Private Member Functions

const ClassFunctionTaskArg2operator= (const ClassFunctionTaskArg2 &)
 ClassFunctionTaskArg2 (const ClassFunctionTaskArg2 &)

Detailed Description

template<typename X, typename Param1, typename Param2>
struct CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >

Definition at line 405 of file CubitConcurrentApi.h.


Constructor & Destructor Documentation

template<typename X, typename Param1, typename Param2>
CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >::ClassFunctionTaskArg2 ( X _ptr,
void(X::*)(Param1, Param2)  _MemFun,
Param1  _arg1,
Param2  _arg2 
) [inline]

Definition at line 408 of file CubitConcurrentApi.h.

        : ptr(_ptr), MemFun(_MemFun), arg1(_arg1), arg2(_arg2) {}
template<typename X, typename Param1, typename Param2>
CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >::ClassFunctionTaskArg2 ( const ClassFunctionTaskArg2< X, Param1, Param2 > &  ) [private]

Member Function Documentation

template<typename X, typename Param1, typename Param2>
void CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >::execute ( ) [inline, virtual]

Implements CubitConcurrent::Task.

Definition at line 410 of file CubitConcurrentApi.h.

      {
        (ptr.*MemFun)(arg1, arg2);
      }
template<typename X, typename Param1, typename Param2>
const ClassFunctionTaskArg2& CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >::operator= ( const ClassFunctionTaskArg2< X, Param1, Param2 > &  ) [private]

Member Data Documentation

template<typename X, typename Param1, typename Param2>
Param1 CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >::arg1 [protected]

Definition at line 417 of file CubitConcurrentApi.h.

template<typename X, typename Param1, typename Param2>
Param2 CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >::arg2 [protected]

Definition at line 418 of file CubitConcurrentApi.h.

template<typename X, typename Param1, typename Param2>
void(X::* CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >::MemFun)(Param1, Param2) [protected]

Definition at line 416 of file CubitConcurrentApi.h.

template<typename X, typename Param1, typename Param2>
X& CubitConcurrent::ClassFunctionTaskArg2< X, Param1, Param2 >::ptr [protected]

Definition at line 415 of file CubitConcurrentApi.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines