ClanLib  2.3.7
Public Member Functions | List of all members
CL_Callback_v2_functor< P1, P2 > Class Template Reference

CL_Callback_v2_functor. More...

#include <callback_v2.h>

Inheritance diagram for CL_Callback_v2_functor< P1, P2 >:
Inheritance graph
[legend]

Public Member Functions

 CL_Callback_v2_functor ()
 
 CL_Callback_v2_functor (const CL_Callback_v2_functor &copy)
 
template<class Functor >
 CL_Callback_v2_functor (Functor functor)
 
void clear ()
 
void invoke (P1 p1, P2 p2) const
 
bool is_null () const
 
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))
 
template<class InstanceClass , typename UserData >
void set (InstanceClass *instance, void(InstanceClass::*function)(P1, P2, UserData), const UserData &user_data)
 

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 >
CL_Callback_v2_functor< P1, P2 >::CL_Callback_v2_functor ( )
inline
template<typename P1 , typename P2 >
CL_Callback_v2_functor< P1, P2 >::CL_Callback_v2_functor ( const CL_Callback_v2_functor< P1, P2 > &  copy)
inline
template<typename P1 , typename P2 >
template<class Functor >
CL_Callback_v2_functor< P1, P2 >::CL_Callback_v2_functor ( Functor  functor)
inline

Member Function Documentation

template<typename P1, typename P2>
void CL_Callback_v2< P1, P2 >::clear ( )
inlineinherited
template<typename P1, typename P2>
void CL_Callback_v2< P1, P2 >::invoke ( P1  p1,
P2  p2 
) const
inlineinherited
template<typename P1, typename P2>
bool CL_Callback_v2< P1, P2 >::is_null ( ) const
inlineinherited
template<typename P1, typename P2>
void CL_Callback_v2< P1, P2 >::set ( void(*)(P1, P2)  function)
inlineinherited
template<typename P1, typename P2>
template<typename UserData >
void CL_Callback_v2< P1, P2 >::set ( void(*)(P1, P2, UserData)  function,
const UserData &  user_data 
)
inlineinherited
template<typename P1, typename P2>
template<class InstanceClass >
void CL_Callback_v2< P1, P2 >::set ( InstanceClass *  instance,
void(InstanceClass::*)(P1, P2)  function 
)
inlineinherited
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 
)
inlineinherited

The documentation for this class was generated from the following file: