cgma
CubitConcurrent::ClassFunctionTask< X > Struct Template Reference

#include <CubitConcurrentApi.h>

Inheritance diagram for CubitConcurrent::ClassFunctionTask< X >:
CubitConcurrent::Task

List of all members.

Public Member Functions

 ClassFunctionTask (X &_ptr, void(X::*_MemFun)())
void execute ()

Protected Attributes

Xptr
void(X::* MemFun )()

Private Member Functions

const ClassFunctionTaskoperator= (const ClassFunctionTask &)
 ClassFunctionTask (const ClassFunctionTask &)

Detailed Description

template<class X>
struct CubitConcurrent::ClassFunctionTask< X >

Definition at line 370 of file CubitConcurrentApi.h.


Constructor & Destructor Documentation

template<class X>
CubitConcurrent::ClassFunctionTask< X >::ClassFunctionTask ( X _ptr,
void(X::*)()  _MemFun 
) [inline]

Definition at line 373 of file CubitConcurrentApi.h.

: ptr(_ptr), MemFun(_MemFun) {}
template<class X>
CubitConcurrent::ClassFunctionTask< X >::ClassFunctionTask ( const ClassFunctionTask< X > &  ) [private]

Member Function Documentation

template<class X>
void CubitConcurrent::ClassFunctionTask< X >::execute ( ) [inline, virtual]

Implements CubitConcurrent::Task.

Definition at line 374 of file CubitConcurrentApi.h.

      {
        (ptr.*MemFun)();
      }
template<class X>
const ClassFunctionTask& CubitConcurrent::ClassFunctionTask< X >::operator= ( const ClassFunctionTask< X > &  ) [private]

Member Data Documentation

template<class X>
void(X::* CubitConcurrent::ClassFunctionTask< X >::MemFun)() [protected]

Definition at line 380 of file CubitConcurrentApi.h.

template<class X>
X& CubitConcurrent::ClassFunctionTask< X >::ptr [protected]

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