cgma
CubitConcurrent::ClassFunctionTaskArg1< X, Param1 > Struct Template Reference

#include <CubitConcurrentApi.h>

Inheritance diagram for CubitConcurrent::ClassFunctionTaskArg1< X, Param1 >:
CubitConcurrent::Task

List of all members.

Public Member Functions

 ClassFunctionTaskArg1 (X &_ptr, void(X::*_MemFun)(Param1), Param1 _arg1)
void execute ()

Protected Attributes

Xptr
void(X::* MemFun )(Param1)
Param1 arg1

Private Member Functions

const ClassFunctionTaskArg1operator= (const ClassFunctionTaskArg1 &)
 ClassFunctionTaskArg1 (const ClassFunctionTaskArg1 &)

Detailed Description

template<typename X, typename Param1>
struct CubitConcurrent::ClassFunctionTaskArg1< X, Param1 >

Definition at line 387 of file CubitConcurrentApi.h.


Constructor & Destructor Documentation

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

Definition at line 390 of file CubitConcurrentApi.h.

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

Member Function Documentation

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

Implements CubitConcurrent::Task.

Definition at line 391 of file CubitConcurrentApi.h.

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

Member Data Documentation

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

Definition at line 398 of file CubitConcurrentApi.h.

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

Definition at line 397 of file CubitConcurrentApi.h.

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

Definition at line 396 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