#include <scim_signals.h>
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>. |
Referenced by scim::Signal1< void, P1, IgnoreMarshal >::connect(), and scim::Signal1< const void, scim::Pointer & >::connect().
SlotType* scim::Signal1< R, P1, Marshal >::slot | ( | ) | [inline] |
Returns a slot for this signal.
Referenced by scim::Signal1< void, P1, IgnoreMarshal >::emit(), and scim::Signal1< const void, scim::Pointer & >::emit().
R scim::Signal1< R, P1, Marshal >::emit | ( | P1 | p1 | ) | [inline] |
Emit the signal.
p1 | - passes p1 to the signal handler. |
Referenced by scim::Signal1< void, P1, IgnoreMarshal >::operator()(), and scim::Signal1< const void, scim::Pointer & >::operator()().
R scim::Signal1< R, P1, Marshal >::operator() | ( | P1 | p1 | ) | [inline] |
Function operator; calls emit().