|
Public Member Functions |
| Delegate () |
| Create a new, empty Delegate.
|
| Delegate (const Delegate &rhs) |
| Share the data from the given Delegate with this one.
|
bool | isEmpty () const |
| Returns true if this Delegate is empty.
|
void | clear () |
| Clears this Delegate so that it is empty.
|
void | add (const Callable &callable) |
| Adds a new callable to this delegate.
|
size_t | getCallableCount () const |
| Returns the number of callable targets in this Delegate.
|
Delegate & | operator+= (const Callable &rhs) |
| This operator adds a new callable.
|
Delegate & | operator= (const Delegate &rhs) |
| This operator shares the data from the given Delegate with this one.
|
void | operator() () const |
| This is the nullary operator.
|
template<class T0> |
void | operator() (T0 arg0) const |
| This is the automatic typing 1-arity operator.
|
template<class T0, class T1> |
void | operator() (T0 arg0, T1 arg1) const |
| This is the automatic typing 2-arity operator.
|
template<class T0, class T1, class T2> |
void | operator() (T0 arg0, T1 arg1, T2 arg2) const |
| This is the automatic typing 3-arity operator.
|
template<class T0, class T1, class T2, class T3> |
void | operator() (T0 arg0, T1 arg1, T2 arg2, T3 arg3) const |
| This is the automatic typing 4-arity operator.
|
template<class T0, class T1, class T2, class T3, class T4> |
void | operator() (T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) const |
| This is the automatic typing 5-arity operator.
|
template<class T0, class T1, class T2, class T3, class T4, class T5> |
void | operator() (T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) const |
| This is the automatic typing 6-arity operator.
|
template<class T0, class T1, class T2, class T3, class T4, class T5, class T6> |
void | operator() (T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) const |
| This is the automatic typing 7-arity operator.
|
Protected Member Functions |
void | invoke () const |
void | invoke (const Variable &arg0) const |
void | invoke (const Variable &arg0, const Variable &arg1) const |
void | invoke (const Variable &arg0, const Variable &arg1, const Variable &arg2) const |
void | invoke (const Variable &arg0, const Variable &arg1, const Variable &arg2, const Variable &arg3) const |
void | invoke (const Variable &arg0, const Variable &arg1, const Variable &arg2, const Variable &arg3, const Variable &arg4) const |
void | invoke (const Variable &arg0, const Variable &arg1, const Variable &arg2, const Variable &arg3, const Variable &arg4, const Variable &arg5) const |
void | invoke (const Variable &arg0, const Variable &arg1, const Variable &arg2, const Variable &arg3, const Variable &arg4, const Variable &arg5, const Variable &arg6) const |
Classes |
struct | DelegateData |
This class acts as a call target, which routes calls to all the registered call targets. Call targets must all be able to accept the given number of arguments and argument types.