library of assembled shared sources |
http://lass.cocamware.com |
#include <callback_11.h>
Public Types | |
typedef Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > | TSelf |
typedef SharedPtr < impl::Dispatcher11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > > | TDispatcherPtr |
Public Member Functions | |
Callback11 () | |
Default constructor, construct empty callback. | |
template<typename FunctionType > | |
Callback11 (FunctionType iFunction) | |
Construct function callback. | |
template<typename ObjectPtr , typename Method > | |
Callback11 (ObjectPtr iObject, Method iMethod) | |
Construct object/method callback. | |
Callback11 (const TSelf &iOther) | |
copy constructor | |
template<typename Other > | |
TSelf & | operator= (const Other &iOther) |
assignment operator | |
void | operator() (typename util::CallTraits< P1 >::TParam iP1, typename util::CallTraits< P2 >::TParam iP2, typename util::CallTraits< P3 >::TParam iP3, typename util::CallTraits< P4 >::TParam iP4, typename util::CallTraits< P5 >::TParam iP5, typename util::CallTraits< P6 >::TParam iP6, typename util::CallTraits< P7 >::TParam iP7, typename util::CallTraits< P8 >::TParam iP8, typename util::CallTraits< P9 >::TParam iP9, typename util::CallTraits< P10 >::TParam iP10, typename util::CallTraits< P11 >::TParam iP11) const |
THE operator. | |
void | reset () |
Reset to empty callback. | |
bool | isEmpty () const |
Returns true if no callback dispatcher is assigned to this object. | |
bool | operator! () const |
return this->isEmpty() | |
operator num::SafeBool () const | |
return !this->isEmpty()) | |
void | swap (TSelf &iOther) |
Swaps the dispatcher of this callback with the dispatcher of another. | |
Private Attributes | |
TDispatcherPtr | dispatcher_ |
Related Functions | |
(Note that these are not member functions.) | |
template<typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 , typename P11 > | |
Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > | makeCallback (void(*iFunction)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)) |
make a Callback11 from a function | |
template<typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 , typename P11 > | |
const Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > & | makeCallback (const Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > &iCallback) |
make a Callback11 from a callback | |
template<typename ObjectPtr , typename Object , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 , typename P8 , typename P9 , typename P10 , typename P11 > | |
Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > | makeCallback (ObjectPtr iObject, void(Object::*iMethod)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)) |
make a Callback11 from a object and method |
Definition at line 96 of file callback_11.h.
typedef Callback11<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::TSelf |
Definition at line 100 of file callback_11.h.
typedef SharedPtr< impl::Dispatcher11<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> > lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::TDispatcherPtr |
Definition at line 101 of file callback_11.h.
lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::Callback11 | ( | ) | [inline] |
lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::Callback11 | ( | FunctionType | iFunction | ) | [inline] |
lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::Callback11 | ( | ObjectPtr | iObject, | |
Method | iMethod | |||
) | [inline] |
lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::Callback11 | ( | const TSelf & | iOther | ) | [inline] |
TSelf& lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::operator= | ( | const Other & | iOther | ) | [inline] |
assignment operator
Definition at line 141 of file callback_11.h.
References lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::swap().
void lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::operator() | ( | typename util::CallTraits< P1 >::TParam | iP1, | |
typename util::CallTraits< P2 >::TParam | iP2, | |||
typename util::CallTraits< P3 >::TParam | iP3, | |||
typename util::CallTraits< P4 >::TParam | iP4, | |||
typename util::CallTraits< P5 >::TParam | iP5, | |||
typename util::CallTraits< P6 >::TParam | iP6, | |||
typename util::CallTraits< P7 >::TParam | iP7, | |||
typename util::CallTraits< P8 >::TParam | iP8, | |||
typename util::CallTraits< P9 >::TParam | iP9, | |||
typename util::CallTraits< P10 >::TParam | iP10, | |||
typename util::CallTraits< P11 >::TParam | iP11 | |||
) | const [inline] |
THE operator.
Executes the callback.
Definition at line 150 of file callback_11.h.
References lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::dispatcher_, and lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::isEmpty().
void lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::reset | ( | ) | [inline] |
Reset to empty callback.
Definition at line 163 of file callback_11.h.
References lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::dispatcher_, and lass::util::SharedPtr< T, StoragePolicy, CounterPolicy >::reset().
bool lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::isEmpty | ( | ) | const [inline] |
Returns true if no callback dispatcher is assigned to this object.
Definition at line 170 of file callback_11.h.
References lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::dispatcher_, and lass::util::SharedPtr< T, StoragePolicy, CounterPolicy >::isEmpty().
Referenced by lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::operator()().
bool lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::operator! | ( | ) | const [inline] |
return this->isEmpty()
Definition at line 177 of file callback_11.h.
References lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::dispatcher_, and lass::util::SharedPtr< T, StoragePolicy, CounterPolicy >::isEmpty().
lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::operator num::SafeBool | ( | ) | const [inline] |
return !this->isEmpty())
Definition at line 184 of file callback_11.h.
References lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::dispatcher_, lass::util::SharedPtr< T, StoragePolicy, CounterPolicy >::isEmpty(), lass::num::safeFalse, and lass::num::safeTrue.
void lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::swap | ( | TSelf & | iOther | ) | [inline] |
Swaps the dispatcher of this callback with the dispatcher of another.
Definition at line 191 of file callback_11.h.
References lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::dispatcher_.
Referenced by lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::operator=().
Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > makeCallback | ( | void(*)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) | iFunction | ) | [related] |
const Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > & makeCallback | ( | const Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > & | iCallback | ) | [related] |
Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 > makeCallback | ( | ObjectPtr | iObject, | |
void(Object::*)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) | iMethod | |||
) | [related] |
make a Callback11 from a object and method
make a Callback11 from a object and const method
Definition at line 229 of file callback_11.h.
TDispatcherPtr lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::dispatcher_ [private] |
Definition at line 198 of file callback_11.h.
Referenced by lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::isEmpty(), lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::operator num::SafeBool(), lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::operator!(), lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::operator()(), lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::reset(), and lass::util::Callback11< P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::swap().
Generated on Mon Nov 10 14:22:16 2008 for Library of Assembled Shared Sources by 1.5.7.1 |