SignalBase Class Reference

#include <SignalBase.h>

Inherits Object.

Inherited by Signal< M >.

Inheritance diagram for SignalBase:

Inheritance graph
[legend]
Collaboration diagram for SignalBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SignalBase (const String &className, const String &signalName)
virtual ~SignalBase ()
String name () const
String ownerClassName () const
virtual int disconnect (const Object *slotObject)=0
int listSlots (String &text)

Public Attributes

const Object_orphanSlotObject
SlotMethod _orphanSlotMethod
SlotMap _slots

Protected Member Functions

int bind (Object *obj)
int unbind (Object *obj)

Private Attributes

String _className
String _name

Detailed Description

Definition at line 16 of file SignalBase.h.


Constructor & Destructor Documentation

SignalBase::SignalBase ( const String className,
const String signalName 
)

Definition at line 13 of file SignalBase.cpp.

SignalBase::~SignalBase (  )  [virtual]

Definition at line 22 of file SignalBase.cpp.


Member Function Documentation

String SignalBase::name (  )  const

Definition at line 26 of file SignalBase.cpp.

References _className, and _name.

Referenced by Object::bindSignal(), Object::listMySignals(), Object::listSignals(), and Object::unbindSignal().

String SignalBase::ownerClassName (  )  const

Definition at line 31 of file SignalBase.cpp.

References _className.

virtual int SignalBase::disconnect ( const Object slotObject  )  [pure virtual]

Implemented in Signal< M >.

Referenced by Object::~Object().

int SignalBase::listSlots ( String text  ) 

Definition at line 36 of file SignalBase.cpp.

References _orphanSlotObject, _slots, CSTRING(), String::eol(), Object::id(), OK, SIGNAL_COLOR_TITLE(), and String::sprintf().

int SignalBase::bind ( Object obj  )  [protected]

Definition at line 64 of file SignalBase.cpp.

References Object::bindSignal(), ERROR, ERROR_BACKTRACE(), FAILED(), MSG_NULL_POINTER, and OK.

Referenced by Signal< M >::connect().

int SignalBase::unbind ( Object obj  )  [protected]

Definition at line 77 of file SignalBase.cpp.

References ERROR, ERROR_BACKTRACE(), FAILED(), MSG_NULL_POINTER, OK, and Object::unbindSignal().

Referenced by Signal< M >::disconnect(), and Signal< M >::~Signal().


Member Data Documentation

const Object* SignalBase::_orphanSlotObject

Definition at line 33 of file SignalBase.h.

Referenced by Signal< M >::connect(), Signal< M >::disconnect(), listSlots(), and Signal< M >::~Signal().

SlotMethod SignalBase::_orphanSlotMethod

Definition at line 34 of file SignalBase.h.

Referenced by Signal< M >::connect(), and Signal< M >::disconnect().

SlotMap SignalBase::_slots

Definition at line 35 of file SignalBase.h.

Referenced by Signal< M >::connect(), Signal< M >::disconnect(), listSlots(), and Signal< M >::~Signal().

String SignalBase::_className [private]

Definition at line 44 of file SignalBase.h.

Referenced by name(), and ownerClassName().

String SignalBase::_name [private]

Definition at line 45 of file SignalBase.h.

Referenced by name().


The documentation for this class was generated from the following files:
Generated on Thu Sep 6 20:13:53 2007 for Pylon Application Platform by  doxygen 1.5.1