#include <scim_signals.h>
Inherits scim::Signal.
Public Types | |
typedef Slot4< R, P1, P2, P3, P4 > | SlotType |
Function signature for handlers connecting to the signal. | |
Public Member Functions | |
Connection | connect (SlotType *slot) |
SlotType * | slot () |
R | emit (P1 p1, P2 p2, P3 p3, P4 p4) |
R | operator() (P1 p1, P2 p2, P3 p3, P4 p4) |
Function operator; calls emit(). |
typedef Slot4<R, P1, P2, P3, P4> scim::Signal4< R, P1, P2, P3, P4, Marshal >::SlotType |
Function signature for handlers connecting to the signal.
Connection scim::Signal4< R, P1, P2, P3, P4, Marshal >::connect | ( | SlotType * | slot | ) | [inline] |
Connect a slot to the signal.
slot | - a slot of type Slot4<R, P1, P2, P3, P4>. |
SlotType* scim::Signal4< R, P1, P2, P3, P4, Marshal >::slot | ( | ) | [inline] |
Returns a slot for this signal.
R scim::Signal4< R, P1, P2, P3, P4, Marshal >::emit | ( | P1 | p1, | |
P2 | p2, | |||
P3 | p3, | |||
P4 | p4 | |||
) | [inline] |
Emit the signal.
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. |
R scim::Signal4< R, P1, P2, P3, P4, Marshal >::operator() | ( | P1 | p1, | |
P2 | p2, | |||
P3 | p3, | |||
P4 | p4 | |||
) | [inline] |
Function operator; calls emit().