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

CL_Callback_1_functor. More...

#include <callback_1.h>

Inheritance diagram for CL_Callback_1_functor< RetVal, P1 >:
Inheritance graph
[legend]

Public Member Functions

 CL_Callback_1_functor ()
 
 CL_Callback_1_functor (const CL_Callback_1_functor &copy)
 
template<class Functor >
 CL_Callback_1_functor (Functor functor)
 
void clear ()
 
RetVal invoke (P1 p1) const
 
bool is_null () const
 
void set (RetVal(*function)(P1))
 
template<typename UserData >
void set (RetVal(*function)(P1, UserData), const UserData &user_data)
 
template<class InstanceClass >
void set (InstanceClass *instance, RetVal(InstanceClass::*function)(P1))
 
template<class InstanceClass , typename UserData >
void set (InstanceClass *instance, RetVal(InstanceClass::*function)(P1, UserData), const UserData &user_data)
 

Detailed Description

template<typename RetVal, typename P1>
class CL_Callback_1_functor< RetVal, P1 >

CL_Callback_1_functor.

Constructor & Destructor Documentation

template<typename RetVal , typename P1 >
CL_Callback_1_functor< RetVal, P1 >::CL_Callback_1_functor ( )
inline
template<typename RetVal , typename P1 >
CL_Callback_1_functor< RetVal, P1 >::CL_Callback_1_functor ( const CL_Callback_1_functor< RetVal, P1 > &  copy)
inline
template<typename RetVal , typename P1 >
template<class Functor >
CL_Callback_1_functor< RetVal, P1 >::CL_Callback_1_functor ( Functor  functor)
inline

Member Function Documentation

template<typename RetVal, typename P1>
void CL_Callback_1< RetVal, P1 >::clear ( )
inlineinherited
template<typename RetVal, typename P1>
RetVal CL_Callback_1< RetVal, P1 >::invoke ( P1  p1) const
inlineinherited
template<typename RetVal, typename P1>
bool CL_Callback_1< RetVal, P1 >::is_null ( ) const
inlineinherited
template<typename RetVal, typename P1>
void CL_Callback_1< RetVal, P1 >::set ( RetVal(*)(P1)  function)
inlineinherited
template<typename RetVal, typename P1>
template<typename UserData >
void CL_Callback_1< RetVal, P1 >::set ( RetVal(*)(P1, UserData)  function,
const UserData &  user_data 
)
inlineinherited
template<typename RetVal, typename P1>
template<class InstanceClass >
void CL_Callback_1< RetVal, P1 >::set ( InstanceClass *  instance,
RetVal(InstanceClass::*)(P1)  function 
)
inlineinherited
template<typename RetVal, typename P1>
template<class InstanceClass , typename UserData >
void CL_Callback_1< RetVal, P1 >::set ( InstanceClass *  instance,
RetVal(InstanceClass::*)(P1, UserData)  function,
const UserData &  user_data 
)
inlineinherited

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