#include <scim_signals.h>
Inheritance diagram for scim::Signal2< R, P1, P2, Marshal >:
Public Types | |
typedef Slot2< R, P1, P2 > | SlotType |
Function signature for handlers connecting to the signal. | |
Public Member Functions | |
Connection | connect (SlotType *slot) |
SlotType * | slot () |
R | emit (P1 p1, P2 p2) |
R | operator() (P1 p1, P2 p2) |
Function operator; calls emit(). |
Definition at line 362 of file scim_signals.h.
|
Function signature for handlers connecting to the signal.
Definition at line 374 of file scim_signals.h. |
|
Connect a slot to the signal.
The returned connection object can be used alter or change the connection. Definition at line 376 of file scim_signals.h. References scim::Signal2< R, P1, P2, Marshal >::slot(). |
|
Returns a slot for this signal.
The returned slot can be passed to another signal allowing the other signal to call this signal when it gets emitted. Definition at line 386 of file scim_signals.h. Referenced by scim::Signal2< R, P1, P2, Marshal >::connect(), and scim::Signal2< R, P1, P2, Marshal >::emit(). |
|
Emit the signal.
Calls every slot connected to this signal, in order of connection. Definition at line 396 of file scim_signals.h. References scim::Slot2< R, P1, P2 >::call(), scim::slot(), and scim::Signal2< R, P1, P2, Marshal >::slot(). Referenced by scim::Signal2< void, P1, P2, IgnoreMarshal >::operator()(), and scim::Signal2< R, P1, P2, Marshal >::operator()(). |
|
Function operator; calls emit().
Definition at line 419 of file scim_signals.h. References scim::Signal2< R, P1, P2, Marshal >::emit(). |