|
typedef R(* | static_fp) () |
|
|
| FP0 (R(*function)(void)=0) |
|
template<typename T > |
| FP0 (T *object, R(T::*member)(void)) |
|
void | attach (R(*function)(void)) |
|
template<typename T > |
void | attach (T *object, R(T::*member)(void)) |
|
R | call () |
|
static_fp | get_function () const |
|
R | operator() (void) |
|
| operator bool (void) |
|
template<typename R >
FP0< R >::FP0 |
( |
R(*)(void) |
function = 0 | ) |
|
|
inline |
Create a function pointer, attaching a static function.
- Parameters
-
function | The void static function to attach (default is none). |
template<typename R >
template<typename T >
FP0< R >::FP0 |
( |
T * |
object, |
|
|
R(T::*)(void) |
member |
|
) |
| |
|
inline |
Create a function pointer, attaching a member function.
- Parameters
-
object | The object pointer to invoke the member function on (the "this" pointer). |
function | The address of the void member function to attach. |
template<typename R >
void FP0< R >::attach |
( |
R(*)(void) |
function | ) |
|
|
inline |
Attach a static function.
- Parameters
-
function | The void static function to attach (default is none). |
template<typename R >
template<typename T >
void FP0< R >::attach |
( |
T * |
object, |
|
|
R(T::*)(void) |
member |
|
) |
| |
|
inline |
Attach a member function.
- Parameters
-
object | The object pointer to invoke the member function on (the "this" pointer). |
function | The address of the void member function to attach. |
Call the attached static or member function.
The documentation for this class was generated from the following file: