#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(). | |
| typedef Slot2<R, P1, P2> scim::Signal2< R, P1, P2, Marshal >::SlotType |
Function signature for handlers connecting to the signal.
| Connection scim::Signal2< R, P1, P2, Marshal >::connect | ( | SlotType * | slot | ) | [inline] |
Connect a slot to the signal.
| slot | - a slot of type Slot2<R, P1, P2>. |
| SlotType* scim::Signal2< R, P1, P2, Marshal >::slot | ( | ) | [inline] |
Returns a slot for this signal.
| R scim::Signal2< R, P1, P2, Marshal >::emit | ( | P1 | p1, | |
| P2 | p2 | |||
| ) | [inline] |
Emit the signal.
| p1 | - passes p1 to the signal handler. | |
| p2 | - passes p2 to the signal handler. |
| R scim::Signal2< R, P1, P2, Marshal >::operator() | ( | P1 | p1, | |
| P2 | p2 | |||
| ) | [inline] |
Function operator; calls emit().
1.5.0