VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
DtDelegate< Ret, Param0 > Class Template Reference

Delegate template for binding static or member functions for callback at later time The return type and single parameter is parameterized in the template. More...

+ Collaboration diagram for DtDelegate< Ret, Param0 >:

Public Member Functions

 DtDelegate (Ret(*func)(Param0))
 constructor using a static function
template<typename T , typename Method >
 DtDelegate (T *object, Method method)
 constructor using a class member functions
 ~DtDelegate (void)
 destructor
Ret operator() (Param0 param0)
 execute operator

Private Attributes

Callback< Ret, Param0 > * callback_

Detailed Description

template<typename Ret, typename Param0>
class DtDelegate< Ret, Param0 >

Delegate template for binding static or member functions for callback at later time The return type and single parameter is parameterized in the template.

Constructor & Destructor Documentation

template<typename Ret , typename Param0 >
DtDelegate< Ret, Param0 >::DtDelegate ( Ret(*)(Param0)  func)
inline

constructor using a static function

template<typename Ret , typename Param0 >
template<typename T , typename Method >
DtDelegate< Ret, Param0 >::DtDelegate ( T *  object,
Method  method 
)
inline

constructor using a class member functions

template<typename Ret , typename Param0 >
DtDelegate< Ret, Param0 >::~DtDelegate ( void  )
inline

destructor

References DtDelegate< Ret, Param0 >::callback_.

Member Function Documentation

template<typename Ret , typename Param0 >
Ret DtDelegate< Ret, Param0 >::operator() ( Param0  param0)
inline

execute operator

References DtDelegate< Ret, Param0 >::callback_.

Member Data Documentation

template<typename Ret , typename Param0 >
Callback<Ret, Param0>* DtDelegate< Ret, Param0 >::callback_
private

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

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)