RadarFX API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
makRadarFx::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...

Public Member Functions

 DtDelegate ()
 default empty constructor
 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 (const DtDelegate &orig)
DtDelegateoperator= (const DtDelegate &orig)
virtual ~DtDelegate (void)
 destructor
Ret operator() (Param0 param0)
 execute operator
bool operator== (const DtDelegate &rhs)
bool operator!= (const DtDelegate &rhs)

Private Attributes

Callback< Ret, Param0 > * myCallback
bool myIsStatic

Detailed Description

template<typename Ret, typename Param0>
class makRadarFx::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 >
makRadarFx::DtDelegate< Ret, Param0 >::DtDelegate ( )
inline

default empty constructor

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

constructor using a static function

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

constructor using a class member functions

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

Member Function Documentation

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

Member Data Documentation

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

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

Document ID: 1.0
Copyright © 2015 VT MÄK Inc. All Rights Reserved (www.mak.com)