version 3.3

VRS::FunctionCallbackR< RETURN > Class Template Reference

#include <vrs/functioncallback.h>

Inheritance diagram for VRS::FunctionCallbackR< RETURN >:

VRS::CallbackR< RETURN > VRS::CallbackBase VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 FunctionCallbackR (RETURN(*func)())
virtual RETURN callback ()
 See CallbackR::callback.
 VRS_TYPEINFO (FunctionCallbackR, CallbackR< RETURN >)


Detailed Description

template<class RETURN>
class VRS::FunctionCallbackR< RETURN >

Callback-wrapper for a C-function with no arguments and a return value of type RETURN: RETURN func();

Constructor & Destructor Documentation

template<class RETURN>
VRS::FunctionCallbackR< RETURN >::FunctionCallbackR ( RETURN(*)()  func  )  [inline]

The c'tor expects a function-pointer to a function of the appropriate type.


Member Function Documentation

template<class RETURN>
virtual RETURN VRS::FunctionCallbackR< RETURN >::callback (  )  [inline, virtual]

template<class RETURN>
VRS::FunctionCallbackR< RETURN >::VRS_TYPEINFO ( FunctionCallbackR< RETURN >  ,
CallbackR< RETURN >   
)


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

Generated on Mon May 21 06:00:17 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact