MemberFunctionWrapper< T, C > Class Template Reference

MemberFunctionWrapper< T, C > Class Template Reference

#include <qtconcurrentfunctionwrappers.h>

Class Description

template<typename T, typename C>
class QtConcurrent::MemberFunctionWrapper< T, C >

Definition at line 111 of file qtconcurrentfunctionwrappers.h.

Public Types

typedef T(C::* FunctionPointerType) ()
 
typedef T result_type
 

Public Member Functions

 MemberFunctionWrapper (FunctionPointerType _functionPointer)
 
operator() (C &c)
 

Member Typedef Documentation

typedef T(C::* FunctionPointerType) ()

Definition at line 114 of file qtconcurrentfunctionwrappers.h.

typedef T result_type

Definition at line 115 of file qtconcurrentfunctionwrappers.h.

Constructor & Destructor Documentation

MemberFunctionWrapper ( FunctionPointerType  _functionPointer)
inline

Definition at line 116 of file qtconcurrentfunctionwrappers.h.

117  :functionPointer(_functionPointer) { }

Member Function Documentation

T operator() ( C &  c)
inline

Definition at line 119 of file qtconcurrentfunctionwrappers.h.

120  {
121  return (c.*functionPointer)();
122  }
const GLubyte * c
Definition: GLee.h:5419

The documentation for this class was generated from the following file: