Signal< M > Class Template Reference

#include <SignalDeclaration.h>

Inherits SignalBase.

Inheritance diagram for Signal< M >:

Inheritance graph
[legend]
Collaboration diagram for Signal< M >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Signal (const String &className, const String &signalName)
virtual ~Signal ()
int connect (const Object *slotObject, const M slotMethod)
virtual int disconnect (const Object *slotObject)
int disconnect (const Object *slotObject, const M slotMethod)

Detailed Description

template<class M>
class Signal< M >

Definition at line 22 of file SignalDeclaration.h.


Constructor & Destructor Documentation

template<class M>
Signal< M >::Signal ( const String className,
const String signalName 
)

Definition at line 17 of file Signal.h.

template<class M>
Signal< M >::~Signal (  )  [virtual]

Definition at line 22 of file Signal.h.

References SignalBase::_orphanSlotObject, SignalBase::_slots, ERROR_BACKTRACE(), FAILED(), and SignalBase::unbind().


Member Function Documentation

template<class M>
int Signal< M >::connect ( const Object slotObject,
const M  slotMethod 
)

Definition at line 42 of file Signal.h.

References SignalBase::_orphanSlotMethod, SignalBase::_orphanSlotObject, SignalBase::_slots, SignalBase::bind(), ERROR, ERROR_BACKTRACE(), FAILED(), MSG_NULL_POINTER, and OK.

template<class M>
int Signal< M >::disconnect ( const Object slotObject  )  [virtual]

Implements SignalBase.

Definition at line 65 of file Signal.h.

References SignalBase::_orphanSlotObject, SignalBase::_slots, CSTRING(), ERROR, ERROR_BACKTRACE(), FAILED(), Object::id(), MSG_NULL_POINTER, MSG_SIGNAL_SLOT_DOES_NOT_EXISTS, OK, and SignalBase::unbind().

template<class M>
int Signal< M >::disconnect ( const Object slotObject,
const M  slotMethod 
)

Definition at line 89 of file Signal.h.

References SignalBase::_orphanSlotMethod, SignalBase::_orphanSlotObject, SignalBase::_slots, CSTRING(), DEBUG, ERROR, ERROR_BACKTRACE(), FAILED(), Object::id(), MSG_NULL_POINTER, MSG_SIGNAL_SLOT_DOES_NOT_EXISTS, OK, and SignalBase::unbind().


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