Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBcallbackSourceBase Class Reference

Base class for callback sources. **. More...

#include "CTBcallbackBase.hxx"

Inheritance diagram for CTBcallbackSourceBase:

Inheritance graph
[legend]
Collaboration diagram for CTBcallbackSourceBase:

Collaboration graph
[legend]
List of all members.

Public Methods

 CTBcallbackSourceBase ()
 CTBcallbackSourceBase (const CTBcallbackSourceBase &rhs)
virtual ~CTBcallbackSourceBase ()
int NConnect () const
CTBcallbackSourceBase & operator= (const CTBcallbackSourceBase &rhs)
bool operator! () const
 operator bool () const

Protected Methods

void Execute (void *p_arg) const

Protected Attributes

CTBsimpleListHead< CTBcallbackLinkm_shead

Friends

class CTBcallbackLink
class CTBcallbackTargetBase

Detailed Description

Base class for callback sources. **.

Definition at line 23 of file CTBcallbackBase.hxx.


Constructor & Destructor Documentation

CTBcallbackSourceBase::CTBcallbackSourceBase [inline]
 

Default constructor.

Definition at line 18 of file CTBcallbackBase.icc.

CTBcallbackSourceBase::CTBcallbackSourceBase const CTBcallbackSourceBase & rhs [inline]
 

Copy constructor. Is a noop !!

Definition at line 25 of file CTBcallbackBase.icc.

CTBcallbackSourceBase::~CTBcallbackSourceBase [virtual]
 

Virtual destructor.

Definition at line 30 of file CTBcallbackBase.cxx.


Member Function Documentation

int CTBcallbackSourceBase::NConnect const
 

Returns number of active connections.

Definition at line 48 of file CTBcallbackBase.cxx.

Referenced by CTBcallbackSource1R::operator()(), CTBcallbackSource0R::operator()(), CTBcallbackSource1B::operator()(), and CTBcallbackSource0B::operator()().

CTBcallbackSourceBase & CTBcallbackSourceBase::operator= const CTBcallbackSourceBase & rhs [inline]
 

Assignment operator. Is a noop !!

Definition at line 33 of file CTBcallbackBase.icc.

bool CTBcallbackSourceBase::operator! const [inline]
 

Returns true if no targets connected.

Definition at line 42 of file CTBcallbackBase.icc.

CTBcallbackSourceBase::operator bool const [inline]
 

Returns true if at least one targets connected.

Definition at line 50 of file CTBcallbackBase.icc.

void CTBcallbackSourceBase::Execute void * p_arg const [protected]
 

Execute a callback.

Definition at line 65 of file CTBcallbackBase.cxx.

Referenced by CTBcallbackSource1R::operator()(), CTBcallbackSource0R::operator()(), CTBcallbackSource1B::operator()(), CTBcallbackSource0B::operator()(), CTBcallbackSource4::operator()(), CTBcallbackSource3::operator()(), CTBcallbackSource2::operator()(), CTBcallbackSource1::operator()(), and CTBcallbackSource0::operator()().


Friends And Related Function Documentation

friend class CTBcallbackLink [friend]
 

Definition at line 25 of file CTBcallbackBase.hxx.

friend class CTBcallbackTargetBase [friend]
 

Definition at line 26 of file CTBcallbackBase.hxx.


Member Data Documentation

CTBsimpleListHead<CTBcallbackLink> CTBcallbackSourceBase::m_shead [protected]
 

Definition at line 49 of file CTBcallbackBase.hxx.


The documentation for this class was generated from the following files:
Generated at Fri Oct 24 18:13:23 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001