A template for a signal passing three arguments of type P1, P2 and P3, and returning a value of type R.
More...
template<typename R, typename P1, typename P2, typename P3, typename Marshal = class DefaultMarshal<R>>
class scim::Signal3< R, P1, P2, P3, Marshal >
A template for a signal passing three arguments of type P1, P2 and P3, and returning a value of type R.
template<typename R, typename P1, typename P2, typename P3, typename Marshal = class DefaultMarshal<R>>
Connect a slot to the signal.
- Parameters
-
slot | - a slot of type Slot3<R, P1, P2, P3>. |
- 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 Marshal = class DefaultMarshal<R>>
Returns a slot for this signal.
- Returns
- a new slot of type Slot3<R, P1, P2, P3>.
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 Marshal = class DefaultMarshal<R>>
R scim::Signal3< R, P1, P2, P3, Marshal >::emit |
( |
P1 | p1, |
|
|
P2 | p2, |
|
|
P3 | p3 ) |
|
inline |