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