scim  1.4.14
scim::Node Class Reference

Base class for classes managing slots. More...

#include <scim_connection.h>

List of all members.

Public Member Functions

Slotslot ()
 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 recieve signal emissions.
- Public Member Functions inherited from scim::ReferencedObject
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.
- Protected Member Functions inherited from scim::ReferencedObject
 ReferencedObject ()
 Constructor.
virtual ~ReferencedObject ()=0
 Destructor.
void set_referenced (bool reference)

Detailed Description

Base class for classes managing slots.

A node connects a slot to its Connection class, the class returned from a signal's connect() method.


Constructor & Destructor Documentation

scim::Node::Node ( Slot slot)
protected

Constructor.

virtual scim::Node::~Node ( )
protectedvirtual

Destructor.


Member Function Documentation

Slot* scim::Node::slot ( )
inline

Returns a pointer to the slot held by this node.

References scim::Pointer< T >::get().

virtual void scim::Node::block ( )
pure virtual

Block signal emission to the slot until unblock is called.

Implemented in scim::SlotNode.

virtual void scim::Node::unblock ( )
pure virtual

Unblock the slot so signal emmissions can be received.

Implemented in scim::SlotNode.

virtual void scim::Node::disconnect ( )
pure virtual

Disconnect the slot. The slot will no longer recieve signal emissions.

Implemented in scim::SlotNode.


The documentation for this class was generated from the following file: