|
scim
1.4.18
|
Base class for classes managing slots. More...
#include <scim_connection.h>
Public Member Functions | |
| Slot * | slot () |
| Returns a pointer to the slot held by this node. More... | |
| virtual void | block ()=0 |
| Block signal emission to the slot until unblock is called. More... | |
| virtual void | unblock ()=0 |
| Unblock the slot so signal emmissions can be received. More... | |
| virtual void | disconnect ()=0 |
| Disconnect the slot. The slot will no longer receive signal emissions. More... | |
Public Member Functions inherited from scim::ReferencedObject | |
| bool | is_referenced () const |
| void | ref () |
| Increase an object's reference count by one. More... | |
| void | unref () |
Protected Member Functions | |
| Node (Slot *slot) | |
| Constructor. More... | |
| virtual | ~Node () |
| Destructor. More... | |
Protected Member Functions inherited from scim::ReferencedObject | |
| ReferencedObject () | |
| Constructor. More... | |
| virtual | ~ReferencedObject ()=0 |
| Destructor. More... | |
| void | set_referenced (bool reference) |
Base class for classes managing slots.
A node connects a slot to its Connection class, the class returned from a signal's connect() method.
|
protected |
Constructor.
|
protectedvirtual |
Destructor.
|
inline |
Returns a pointer to the slot held by this node.
References block(), disconnect(), scim::Pointer< T >::get(), and unblock().
Referenced by scim::Signal0< R, Marshal >::emit(), scim::Signal0< void, IgnoreMarshal >::emit(), scim::Signal1< void, const ConfigPointer & >::emit(), scim::Signal1< void, P1, IgnoreMarshal >::emit(), scim::Signal2< R, P1, P2, Marshal >::emit(), scim::Signal2< void, P1, P2, IgnoreMarshal >::emit(), scim::Signal3< R, P1, P2, P3, Marshal >::emit(), scim::Signal3< void, P1, P2, P3, IgnoreMarshal >::emit(), scim::Signal4< R, P1, P2, P3, P4, Marshal >::emit(), scim::Signal4< void, P1, P2, P3, P4, IgnoreMarshal >::emit(), scim::Signal5< R, P1, P2, P3, P4, P5, Marshal >::emit(), scim::Signal5< void, P1, P2, P3, P4, P5, IgnoreMarshal >::emit(), scim::Signal6< R, P1, P2, P3, P4, P5, P6, Marshal >::emit(), and scim::Signal6< void, P1, P2, P3, P4, P5, P6, IgnoreMarshal >::emit().
|
pure virtual |
Block signal emission to the slot until unblock is called.
Implemented in scim::SlotNode.
Referenced by slot().
|
pure virtual |
Unblock the slot so signal emmissions can be received.
Implemented in scim::SlotNode.
Referenced by slot().
|
pure virtual |
Disconnect the slot. The slot will no longer receive signal emissions.
Implemented in scim::SlotNode.
Referenced by slot().