Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
fastdelegate::FastDelegate2< Param1, Param2, RetType > Class Template Reference

#include <FastDelegate.h>

Classes

struct  SafeBoolStruct
 

Public Types

typedef FastDelegate2 type
 

Public Member Functions

template<class X , class Y >
void bind (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2))
 
template<class X , class Y >
void bind (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2) const)
 
void bind (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
 
void clear ()
 
bool empty () const
 
 FastDelegate2 ()
 
 FastDelegate2 (const FastDelegate2 &x)
 
template<class X , class Y >
 FastDelegate2 (Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2))
 
template<class X , class Y >
 FastDelegate2 (const Y *pthis, DesiredRetType(X::*function_to_bind)(Param1 p1, Param2 p2) const)
 
 FastDelegate2 (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
 
const DelegateMementoGetMemento ()
 
 operator unspecified_bool_type () const
 
bool operator! () const
 
bool operator!= (const FastDelegate2 &x) const
 
bool operator!= (StaticFunctionPtr funcptr)
 
RetType operator() (Param1 p1, Param2 p2) const
 
bool operator< (const FastDelegate2 &x) const
 
void operator= (const FastDelegate2 &x)
 
void operator= (DesiredRetType(*function_to_bind)(Param1 p1, Param2 p2))
 
bool operator== (const FastDelegate2 &x) const
 
bool operator== (StaticFunctionPtr funcptr)
 
bool operator> (const FastDelegate2 &x) const
 
void SetMemento (const DelegateMemento &any)
 

Private Types

typedef detail::ClosurePtr< GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtrClosureType
 
typedef detail::DefaultVoidToVoid< RetType >::type DesiredRetType
 
typedef RetType(detail::GenericClass::* GenericMemFn) (Param1 p1, Param2 p2)
 
typedef DesiredRetType(* StaticFunctionPtr) (Param1 p1, Param2 p2)
 
typedef StaticFunctionPtr SafeBoolStruct::* unspecified_bool_type
 
typedef RetType(* UnvoidStaticFunctionPtr) (Param1 p1, Param2 p2)
 
typedef struct fastdelegate::FastDelegate2::SafeBoolStruct UselessTypedef
 

Private Member Functions

RetType InvokeStaticFunction (Param1 p1, Param2 p2) const
 

Private Attributes

ClosureType m_Closure
 

Detailed Description

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
class fastdelegate::FastDelegate2< Param1, Param2, RetType >

Definition at line 1024 of file FastDelegate.h.

Member Typedef Documentation

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
typedef detail::ClosurePtr<GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr> fastdelegate::FastDelegate2< Param1, Param2, RetType >::ClosureType
private

Definition at line 1030 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
typedef detail::DefaultVoidToVoid<RetType>::type fastdelegate::FastDelegate2< Param1, Param2, RetType >::DesiredRetType
private

Definition at line 1026 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
typedef RetType(detail::GenericClass::* fastdelegate::FastDelegate2< Param1, Param2, RetType >::GenericMemFn) (Param1 p1, Param2 p2)
private

Definition at line 1029 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
typedef DesiredRetType(* fastdelegate::FastDelegate2< Param1, Param2, RetType >::StaticFunctionPtr) (Param1 p1, Param2 p2)
private

Definition at line 1027 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
typedef FastDelegate2 fastdelegate::FastDelegate2< Param1, Param2, RetType >::type

Definition at line 1034 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
typedef StaticFunctionPtr SafeBoolStruct::* fastdelegate::FastDelegate2< Param1, Param2, RetType >::unspecified_bool_type
private

Definition at line 1083 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
typedef RetType(* fastdelegate::FastDelegate2< Param1, Param2, RetType >::UnvoidStaticFunctionPtr) (Param1 p1, Param2 p2)
private

Definition at line 1028 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
typedef struct fastdelegate::FastDelegate2::SafeBoolStruct fastdelegate::FastDelegate2< Param1, Param2, RetType >::UselessTypedef
private

Constructor & Destructor Documentation

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 ( )
inline

Definition at line 1037 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 ( const FastDelegate2< Param1, Param2, RetType > &  x)
inline

Definition at line 1038 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
template<class X , class Y >
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 ( Y *  pthis,
DesiredRetType(X::*)(Param1 p1, Param2 p2)  function_to_bind 
)
inline

Definition at line 1052 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
template<class X , class Y >
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 ( const Y *  pthis,
DesiredRetType(X::*)(Param1 p1, Param2 p2) const  function_to_bind 
)
inline

Definition at line 1059 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
fastdelegate::FastDelegate2< Param1, Param2, RetType >::FastDelegate2 ( DesiredRetType(*)(Param1 p1, Param2 p2)  function_to_bind)
inline

Definition at line 1066 of file FastDelegate.h.

Member Function Documentation

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
template<class X , class Y >
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::bind ( Y *  pthis,
DesiredRetType(X::*)(Param1 p1, Param2 p2)  function_to_bind 
)
inline

Definition at line 1055 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
template<class X , class Y >
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::bind ( const Y *  pthis,
DesiredRetType(X::*)(Param1 p1, Param2 p2) const  function_to_bind 
)
inline

Definition at line 1062 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::bind ( DesiredRetType(*)(Param1 p1, Param2 p2)  function_to_bind)
inline

Definition at line 1071 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::clear ( )
inline

Definition at line 1097 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::empty ( ) const
inline

Definition at line 1095 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
const DelegateMemento& fastdelegate::FastDelegate2< Param1, Param2, RetType >::GetMemento ( )
inline

Definition at line 1099 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
RetType fastdelegate::FastDelegate2< Param1, Param2, RetType >::InvokeStaticFunction ( Param1  p1,
Param2  p2 
) const
inlineprivate

Definition at line 1103 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator unspecified_bool_type ( ) const
inline

Definition at line 1085 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator! ( ) const
inline

Definition at line 1093 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator!= ( const FastDelegate2< Param1, Param2, RetType > &  x) const
inline

Definition at line 1044 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator!= ( StaticFunctionPtr  funcptr)
inline

Definition at line 1091 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
RetType fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator() ( Param1  p1,
Param2  p2 
) const
inline

Definition at line 1075 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator< ( const FastDelegate2< Param1, Param2, RetType > &  x) const
inline

Definition at line 1046 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator= ( const FastDelegate2< Param1, Param2, RetType > &  x)
inline

Definition at line 1040 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator= ( DesiredRetType(*)(Param1 p1, Param2 p2)  function_to_bind)
inline

Definition at line 1069 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator== ( const FastDelegate2< Param1, Param2, RetType > &  x) const
inline

Definition at line 1042 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator== ( StaticFunctionPtr  funcptr)
inline

Definition at line 1089 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate2< Param1, Param2, RetType >::operator> ( const FastDelegate2< Param1, Param2, RetType > &  x) const
inline

Definition at line 1048 of file FastDelegate.h.

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
void fastdelegate::FastDelegate2< Param1, Param2, RetType >::SetMemento ( const DelegateMemento any)
inline

Definition at line 1100 of file FastDelegate.h.

Member Data Documentation

template<class Param1, class Param2, class RetType = detail::DefaultVoid>
ClosureType fastdelegate::FastDelegate2< Param1, Param2, RetType >::m_Closure
private

Definition at line 1031 of file FastDelegate.h.


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


socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Fri May 14 2021 02:59:39