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::DtDelegate< Ret, Param0 > Class Template Reference

template<typename Ret, typename Param0>
class makVrf::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.

Public Member Functions

 DtDelegate ()
 
 DtDelegate (Ret(*func)(Param0))
 
template<typename T , typename Method >
 DtDelegate (T *object, Method method)
 
 DtDelegate (const DtDelegate &orig)
 
DtDelegateoperator= (const DtDelegate &orig)
 
virtual ~DtDelegate (void)
 
Ret operator() (Param0 param0)
 
bool operator== (const DtDelegate &rhs) const
 
bool operator!= (const DtDelegate &rhs)
 

Private Attributes

Callback< Ret, Param0 > * myCallback
 
bool myIsStatic
 

Constructor & Destructor Documentation

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

default empty constructor

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

constructor using a static function

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

constructor using a class member functions

template<typename Ret , typename Param0 >
makVrf::DtDelegate< Ret, Param0 >::DtDelegate ( const DtDelegate< Ret, Param0 > &  orig)
inline
template<typename Ret , typename Param0 >
virtual makVrf::DtDelegate< Ret, Param0 >::~DtDelegate ( void  )
inlinevirtual

Member Function Documentation

template<typename Ret , typename Param0 >
DtDelegate& makVrf::DtDelegate< Ret, Param0 >::operator= ( const DtDelegate< Ret, Param0 > &  orig)
inline
template<typename Ret , typename Param0 >
Ret makVrf::DtDelegate< Ret, Param0 >::operator() ( Param0  param0)
inline

execute operator

References makVrf::DtDelegate< Ret, Param0 >::myCallback.

template<typename Ret , typename Param0 >
bool makVrf::DtDelegate< Ret, Param0 >::operator== ( const DtDelegate< Ret, Param0 > &  rhs) const
inline
template<typename Ret , typename Param0 >
bool makVrf::DtDelegate< Ret, Param0 >::operator!= ( const DtDelegate< Ret, Param0 > &  rhs)
inline

Member Data Documentation

template<typename Ret , typename Param0 >
Callback<Ret, Param0>* makVrf::DtDelegate< Ret, Param0 >::myCallback
private
template<typename Ret , typename Param0 >
bool makVrf::DtDelegate< Ret, Param0 >::myIsStatic
private

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)