![]() |
VR-Forces Developer's Guide
|
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) | |
| DtDelegate & | operator= (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 |
|
inline |
default empty constructor
|
inline |
constructor using a static function
|
inline |
constructor using a class member functions
|
inline |
|
inlinevirtual |
destructor
References makVrf::DtDelegate< Ret, Param0 >::myCallback.
|
inline |
|
inline |
execute operator
References makVrf::DtDelegate< Ret, Param0 >::myCallback.
|
inline |
|
inline |
|
private |
|
private |