A template for a signal passing six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R.
More...
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename Marshal = class DefaultMarshal<R>>
class scim::Signal6< R, P1, P2, P3, P4, P5, P6, Marshal >
A template for a signal passing six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R.
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename Marshal = class DefaultMarshal<R>>
Connect a slot to the signal.
- Parameters
-
slot | - a slot of type Slot6<R, P1, P2, P3, P4, P5, P6>. |
- Returns
- a connection object.
The returned connection object can be used alter or change the connection.
References scim::Signal::connect(), and slot().
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename Marshal = class DefaultMarshal<R>>
Returns a slot for this signal.
- Returns
- a new slot of type Slot6<R, P1, P2, P3, P4, P5, P6>.
The returned slot can be passed to another signal allowing the other signal to call this signal when it gets emitted.
Referenced by connect(), and emit().
template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename Marshal = class DefaultMarshal<R>>
R scim::Signal6< R, P1, P2, P3, P4, P5, P6, Marshal >::emit |
( |
P1 | p1, |
|
|
P2 | p2, |
|
|
P3 | p3, |
|
|
P4 | p4, |
|
|
P5 | p5, |
|
|
P6 | p6 ) |
|
inline |
Emit the signal.
- Parameters
-
p1 | - passes p1 to the signal handler. |
p2 | - passes p2 to the signal handler. |
p3 | - passes p3 to the signal handler. |
p4 | - passes p4 to the signal handler. |
p5 | - passes p5 to the signal handler. |
p6 | - passes p6 to the signal handler. |
- Returns
- the value returned by the signal handler.
Calls every slot connected to this signal, in order of connection.
References scim::Signal::connection_list, and slot().
Referenced by operator()(), and scim::Signal6< void, P1, P2, P3, P4, P5, P6, IgnoreMarshal >::operator()().