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