fastdelegate::FastDelegate1< Param1, RetType > Class Template Reference

#include <FastDelegate.h>

Inheritance diagram for fastdelegate::FastDelegate1< Param1, RetType >:

Inheritance graph
[legend]
List of all members.


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


Public Types

typedef FastDelegate1 type

Public Member Functions

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

Private Types

typedef detail::DefaultVoidToVoid<
RetType >::type 
DesiredRetType
typedef DesiredRetType(*) StaticFunctionPtr (Param1 p1)
typedef RetType(*) UnvoidStaticFunctionPtr (Param1 p1)
typedef RetType(detail::GenericClass::*) GenericMemFn (Param1 p1)
typedef detail::ClosurePtr<
GenericMemFn, StaticFunctionPtr,
UnvoidStaticFunctionPtr
ClosureType
typedef fastdelegate::FastDelegate1::SafeBoolStruct UselessTypedef
typedef StaticFunctionPtr
SafeBoolStruct::* 
unspecified_bool_type

Private Member Functions

RetType InvokeStaticFunction (Param1 p1) const

Private Attributes

ClosureType m_Closure

Classes

struct  SafeBoolStruct

Member Typedef Documentation

template<class Param1, class RetType = detail::DefaultVoid>
typedef detail::DefaultVoidToVoid<RetType>::type fastdelegate::FastDelegate1< Param1, RetType >::DesiredRetType [private]

template<class Param1, class RetType = detail::DefaultVoid>
typedef DesiredRetType(*) fastdelegate::FastDelegate1< Param1, RetType >::StaticFunctionPtr(Param1 p1) [private]

template<class Param1, class RetType = detail::DefaultVoid>
typedef RetType(*) fastdelegate::FastDelegate1< Param1, RetType >::UnvoidStaticFunctionPtr(Param1 p1) [private]

template<class Param1, class RetType = detail::DefaultVoid>
typedef RetType(detail::GenericClass::*) fastdelegate::FastDelegate1< Param1, RetType >::GenericMemFn(Param1 p1) [private]

template<class Param1, class RetType = detail::DefaultVoid>
typedef detail::ClosurePtr<GenericMemFn, StaticFunctionPtr, UnvoidStaticFunctionPtr> fastdelegate::FastDelegate1< Param1, RetType >::ClosureType [private]

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

template<class Param1, class RetType = detail::DefaultVoid>
typedef struct fastdelegate::FastDelegate1::SafeBoolStruct fastdelegate::FastDelegate1< Param1, RetType >::UselessTypedef [private]

template<class Param1, class RetType = detail::DefaultVoid>
typedef StaticFunctionPtr SafeBoolStruct::* fastdelegate::FastDelegate1< Param1, RetType >::unspecified_bool_type [private]


Constructor & Destructor Documentation

template<class Param1, class RetType = detail::DefaultVoid>
fastdelegate::FastDelegate1< Param1, RetType >::FastDelegate1 (  )  [inline]

template<class Param1, class RetType = detail::DefaultVoid>
fastdelegate::FastDelegate1< Param1, RetType >::FastDelegate1 ( const FastDelegate1< Param1, RetType > &  x  )  [inline]

template<class Param1, class RetType = detail::DefaultVoid>
template<class X, class Y>
fastdelegate::FastDelegate1< Param1, RetType >::FastDelegate1 ( Y *  pthis,
DesiredRetType(X::*)(Param1 p1)  function_to_bind 
) [inline]

template<class Param1, class RetType = detail::DefaultVoid>
template<class X, class Y>
fastdelegate::FastDelegate1< Param1, RetType >::FastDelegate1 ( const Y *  pthis,
DesiredRetType(X::*)(Param1 p1) const   function_to_bind 
) [inline]

template<class Param1, class RetType = detail::DefaultVoid>
fastdelegate::FastDelegate1< Param1, RetType >::FastDelegate1 ( DesiredRetType(*)(Param1 p1)  function_to_bind  )  [inline]


Member Function Documentation

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

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

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

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

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

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

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

template<class Param1, class RetType = detail::DefaultVoid>
void fastdelegate::FastDelegate1< Param1, RetType >::operator= ( DesiredRetType(*)(Param1 p1)  function_to_bind  )  [inline]

template<class Param1, class RetType = detail::DefaultVoid>
void fastdelegate::FastDelegate1< Param1, RetType >::bind ( DesiredRetType(*)(Param1 p1)  function_to_bind  )  [inline]

template<class Param1, class RetType = detail::DefaultVoid>
RetType fastdelegate::FastDelegate1< Param1, RetType >::operator() ( Param1  p1  )  const [inline]

template<class Param1, class RetType = detail::DefaultVoid>
fastdelegate::FastDelegate1< Param1, RetType >::operator unspecified_bool_type (  )  const [inline]

template<class Param1, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate1< Param1, RetType >::operator== ( StaticFunctionPtr  funcptr  )  [inline]

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

template<class Param1, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate1< Param1, RetType >::operator! (  )  const [inline]

template<class Param1, class RetType = detail::DefaultVoid>
bool fastdelegate::FastDelegate1< Param1, RetType >::empty (  )  const [inline]

template<class Param1, class RetType = detail::DefaultVoid>
void fastdelegate::FastDelegate1< Param1, RetType >::clear (  )  [inline]

template<class Param1, class RetType = detail::DefaultVoid>
const DelegateMemento& fastdelegate::FastDelegate1< Param1, RetType >::GetMemento (  )  [inline]

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

template<class Param1, class RetType = detail::DefaultVoid>
RetType fastdelegate::FastDelegate1< Param1, RetType >::InvokeStaticFunction ( Param1  p1  )  const [inline, private]


Member Data Documentation

template<class Param1, class RetType = detail::DefaultVoid>
ClosureType fastdelegate::FastDelegate1< Param1, RetType >::m_Closure [private]