CL_Callback_v2_functor.
More...
#include <callback_v2.h>
List of all members.
Public Member Functions |
| CL_Callback_v2_functor () |
| CL_Callback_v2_functor (const CL_Callback_v2_functor ©) |
template<class Functor > |
| CL_Callback_v2_functor (Functor functor) |
void | clear () |
void | invoke (P1 p1, P2 p2) const |
bool | is_null () const |
template<class InstanceClass , typename UserData > |
void | set (InstanceClass *instance, void(InstanceClass::*function)(P1, P2, UserData), const UserData &user_data) |
void | set (void(*function)(P1, P2)) |
template<typename UserData > |
void | set (void(*function)(P1, P2, UserData), const UserData &user_data) |
template<class InstanceClass > |
void | set (InstanceClass *instance, void(InstanceClass::*function)(P1, P2)) |
Detailed Description
template<typename P1, typename P2>
class CL_Callback_v2_functor< P1, P2 >
CL_Callback_v2_functor.
Constructor & Destructor Documentation
template<typename P1 , typename P2 >
template<typename P1 , typename P2 >
template<typename P1 , typename P2 >
template<class Functor >
Member Function Documentation
template<typename P1, typename P2>
template<typename P1, typename P2>
void CL_Callback_v2< P1, P2 >::invoke |
( |
P1 |
p1, |
|
|
P2 |
p2 | |
|
) |
| | const [inline, inherited] |
template<typename P1, typename P2>
template<typename P1, typename P2>
template<typename UserData >
void CL_Callback_v2< P1, P2 >::set |
( |
void(*)(P1, P2, UserData) |
function, |
|
|
const UserData & |
user_data | |
|
) |
| | [inline, inherited] |
template<typename P1, typename P2>
template<class InstanceClass , typename UserData >
void CL_Callback_v2< P1, P2 >::set |
( |
InstanceClass * |
instance, |
|
|
void(InstanceClass::*)(P1, P2, UserData) |
function, |
|
|
const UserData & |
user_data | |
|
) |
| | [inline, inherited] |
template<typename P1, typename P2>
template<class InstanceClass >
void CL_Callback_v2< P1, P2 >::set |
( |
InstanceClass * |
instance, |
|
|
void(InstanceClass::*)(P1, P2) |
function | |
|
) |
| | [inline, inherited] |
template<typename P1, typename P2>
void CL_Callback_v2< P1, P2 >::set |
( |
void(*)(P1, P2) |
function |
) |
[inline, inherited] |
The documentation for this class was generated from the following file: