VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
makVrf::MethodCallback< Ret, Param0, T, Method > Class Template Reference

template<typename Ret, typename Param0, typename T, typename Method>
class makVrf::MethodCallback< Ret, Param0, T, Method >

Member function callback is used to bind class member functions The return type, single parameter, object type and method pointer are parameterized in the template.

Inheritance diagram for makVrf::MethodCallback< Ret, Param0, T, Method >:
Inheritance graph
[legend]

Public Member Functions

 MethodCallback (void *object, Method method)
 
 MethodCallback (const MethodCallback &orig)
 
virtual MethodCallbackclone ()
 
virtual Ret invoke (Param0 param0)
 
virtual bool operator== (const Callback< Ret, Param0 > &rhs)
 
- Public Member Functions inherited from makVrf::Callback< Ret, Param0 >
virtual ~Callback ()
 
virtual bool operator!= (const Callback< Ret, Param0 > &rhs)
 

Private Attributes

void * myObject
 
Method myMethod
 

Constructor & Destructor Documentation

template<typename Ret , typename Param0 , typename T , typename Method >
makVrf::MethodCallback< Ret, Param0, T, Method >::MethodCallback ( void *  object,
Method  method 
)
inline
template<typename Ret , typename Param0 , typename T , typename Method >
makVrf::MethodCallback< Ret, Param0, T, Method >::MethodCallback ( const MethodCallback< Ret, Param0, T, Method > &  orig)
inline

Member Function Documentation

template<typename Ret , typename Param0 , typename T , typename Method >
virtual MethodCallback* makVrf::MethodCallback< Ret, Param0, T, Method >::clone ( )
inlinevirtual
template<typename Ret , typename Param0 , typename T , typename Method >
virtual Ret makVrf::MethodCallback< Ret, Param0, T, Method >::invoke ( Param0  param0)
inlinevirtual
template<typename Ret , typename Param0 , typename T , typename Method >
virtual bool makVrf::MethodCallback< Ret, Param0, T, Method >::operator== ( const Callback< Ret, Param0 > &  rhs)
inlinevirtual

Member Data Documentation

template<typename Ret , typename Param0 , typename T , typename Method >
void* makVrf::MethodCallback< Ret, Param0, T, Method >::myObject
private
template<typename Ret , typename Param0 , typename T , typename Method >
Method makVrf::MethodCallback< Ret, Param0, T, Method >::myMethod
private

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)