famouso::util::Delegate< parameter, R > Class Template Reference
Implements anonymous callback functionality. More...
#include <Delegate.h>
Data Structures | |
struct | function_stub |
struct | mem_fn_const_stub |
struct | mem_fn_stub |
Public Member Functions | |
Delegate () | |
template<typename T , R(T::*)(parameter) Fxn> | |
void | bind (T *obj) |
template<typename T , R(T::*)(parameter) const Fxn> | |
void | bind (T const *obj) |
template<R(*)(parameter) Fxn> | |
void | bind () |
R | operator() (parameter a0) const |
operator bool () const |
Detailed Description
template<typename parameter = void, typename R = void>
class famouso::util::Delegate< parameter, R >
Implements anonymous callback functionality.
Constructor & Destructor Documentation
template<typename parameter = void, typename R = void>
famouso::util::Delegate< parameter, R >::Delegate | ( | ) | [inline] |
Member Function Documentation
template<typename parameter = void, typename R = void>
template<R(*)(parameter) Fxn>
void famouso::util::Delegate< parameter, R >::bind | ( | ) | [inline] |
template<typename parameter = void, typename R = void>
template<typename T , R(T::*)(parameter) const Fxn>
void famouso::util::Delegate< parameter, R >::bind | ( | T const * | obj | ) | [inline] |
template<typename parameter = void, typename R = void>
template<typename T , R(T::*)(parameter) Fxn>
void famouso::util::Delegate< parameter, R >::bind | ( | T * | obj | ) | [inline] |
template<typename parameter = void, typename R = void>
famouso::util::Delegate< parameter, R >::operator bool | ( | ) | const [inline] |
template<typename parameter = void, typename R = void>
R famouso::util::Delegate< parameter, R >::operator() | ( | parameter | a0 | ) | const [inline] |
The documentation for this class was generated from the following file:
- include/case/Delegate.h