#include <scim_signals.h>
Inherits scim::Signal.
Public Types | |
typedef Slot1< R, P1 > | SlotType |
Function signature for handlers connecting to the signal. | |
Public Member Functions | |
Connection | connect (SlotType *slot) |
SlotType * | slot () |
R | emit (P1 p1) |
R | operator() (P1 p1) |
Function operator; calls emit(). |
typedef Slot1<R, P1> scim::Signal1< R, P1, Marshal >::SlotType |
Function signature for handlers connecting to the signal.
Connection scim::Signal1< R, P1, Marshal >::connect | ( | SlotType * | slot | ) | [inline] |
Connect a slot to the signal.
slot | - a slot of type Slot1<R, P1>. |
SlotType* scim::Signal1< R, P1, Marshal >::slot | ( | ) | [inline] |
Returns a slot for this signal.
R scim::Signal1< R, P1, Marshal >::emit | ( | P1 | p1 | ) | [inline] |
Emit the signal.
p1 | - passes p1 to the signal handler. |
R scim::Signal1< R, P1, Marshal >::operator() | ( | P1 | p1 | ) | [inline] |
Function operator; calls emit().