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. | |
virtual void | block ()=0 |
Block signal emission to the slot until unblock is called. | |
virtual void | unblock ()=0 |
Unblock the slot so signal emmissions can be received. | |
virtual void | disconnect ()=0 |
Disconnect the slot. The slot will no longer receive signal emissions. | |
![]() | |
bool | is_referenced () const |
void | ref () |
Increase an object's reference count by one. | |
void | unref () |
Protected Member Functions | |
Node (Slot *slot) | |
Constructor. | |
virtual | ~Node () |
Destructor. | |
![]() | |
ReferencedObject () | |
Constructor. | |
virtual | ~ReferencedObject ()=0 |
Destructor. | |
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 scim::Pointer< T >::get().
Block signal emission to the slot until unblock is called.
Implemented in scim::SlotNode.
Unblock the slot so signal emmissions can be received.
Implemented in scim::SlotNode.
Disconnect the slot. The slot will no longer receive signal emissions.
Implemented in scim::SlotNode.