ConstMemberFunctionWrapper< T, C > Class Template Reference

ConstMemberFunctionWrapper< T, C > Class Template Reference

#include <qtconcurrentfunctionwrappers.h>

Class Description

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

Definition at line 148 of file qtconcurrentfunctionwrappers.h.

Public Types

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

Public Member Functions

 ConstMemberFunctionWrapper (FunctionPointerType _functionPointer)
 
operator() (const C &c) const
 

Member Typedef Documentation

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

Definition at line 151 of file qtconcurrentfunctionwrappers.h.

typedef T result_type

Definition at line 152 of file qtconcurrentfunctionwrappers.h.

Constructor & Destructor Documentation

ConstMemberFunctionWrapper ( FunctionPointerType  _functionPointer)
inline

Definition at line 153 of file qtconcurrentfunctionwrappers.h.

154  :functionPointer(_functionPointer) { }

Member Function Documentation

T operator() ( const C &  c) const
inline

Definition at line 156 of file qtconcurrentfunctionwrappers.h.

157  {
158  return (c.*functionPointer)();
159  }
const GLubyte * c
Definition: GLee.h:5419

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