version 3.3

VRS::MethodCallback4< CLASS, ARG1, ARG2, ARG3, ARG4 > Class Template Reference

#include <vrs/methodcallback.h>

Inheritance diagram for VRS::MethodCallback4< CLASS, ARG1, ARG2, ARG3, ARG4 >:

VRS::Callback4< ARG1, ARG2, ARG3, ARG4 > VRS::CallbackBase VRS::SharedObj VRS::Visitable

List of all members.

Public Types

typedef void(CLASS::* ConstMethod )(ARG1, ARG2, ARG3, ARG4) const

Public Member Functions

 MethodCallback4 (CLASS *obj, void(CLASS::*meth)(ARG1, ARG2, ARG3, ARG4))
 MethodCallback4 (const CLASS *obj, void(CLASS::*meth)(ARG1, ARG2, ARG3, ARG4) const)
virtual void callback (ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4)
 See Callback3::callback.
 VRS_TYPEINFO (MethodCallback4, VRS_TEMPLATE_ARGS_4(ARG1, ARG2, ARG3, ARG4, Callback4))


Detailed Description

template<class CLASS, class ARG1, class ARG2, class ARG3, class ARG4>
class VRS::MethodCallback4< CLASS, ARG1, ARG2, ARG3, ARG4 >

Callback-wrapper for a C++-method of a class CLASS with four arguments of type ARG1, ARG2, ARG3 and ARG4 and no return value: void CLASS::func(ARG1 arg1, ARG2 arg2, ARG3 arg3,ARG4 arg4); void CLASS::func(ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4) const;

Member Typedef Documentation

template<class CLASS, class ARG1, class ARG2, class ARG3, class ARG4>
typedef void(CLASS::* VRS::MethodCallback4< CLASS, ARG1, ARG2, ARG3, ARG4 >::ConstMethod)(ARG1, ARG2, ARG3, ARG4) const


Constructor & Destructor Documentation

template<class CLASS, class ARG1, class ARG2, class ARG3, class ARG4>
VRS::MethodCallback4< CLASS, ARG1, ARG2, ARG3, ARG4 >::MethodCallback4 ( CLASS *  obj,
void(CLASS::*)(ARG1, ARG2, ARG3, ARG4)  meth 
) [inline]

template<class CLASS, class ARG1, class ARG2, class ARG3, class ARG4>
VRS::MethodCallback4< CLASS, ARG1, ARG2, ARG3, ARG4 >::MethodCallback4 ( const CLASS *  obj,
void(CLASS::*)(ARG1, ARG2, ARG3, ARG4) const   meth 
) [inline]

The c'tor expects a pointer to an object of type CLASS and a method-pointer to a method of the appropriate type. Non-const- and const-methods are supported! Note that the object-pointer will be stored in a normal pointer (not a SO<CLASS>-pointer)!


Member Function Documentation

template<class CLASS, class ARG1, class ARG2, class ARG3, class ARG4>
virtual void VRS::MethodCallback4< CLASS, ARG1, ARG2, ARG3, ARG4 >::callback ( ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4 
) [inline, virtual]

template<class CLASS, class ARG1, class ARG2, class ARG3, class ARG4>
VRS::MethodCallback4< CLASS, ARG1, ARG2, ARG3, ARG4 >::VRS_TYPEINFO ( MethodCallback4< CLASS, ARG1, ARG2, ARG3, ARG4 >  ,
VRS_TEMPLATE_ARGS_4(ARG1, ARG2, ARG3, ARG4, Callback4  
)


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

Generated on Sun May 19 06:00:35 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact