SigSlot::Signalv0 Class Reference

#include <Signalv0ImplSerious.hxx>

List of all members.

Classes

struct  tCallback

Public Types

typedef CBL::Functor0 tCallbackType
typedef CBL::Functor0 tCallbackType
typedef tCallbackTypetCallbackPtr
typedef std::list< tCallbackPtrtCallList
typedef std::list
< tCallbackPtr >::iterator 
tCallIterator
typedef std::list< tCallbacktCallbackList
typedef std::list< tCallback >
::iterator 
tCbListIterator
typedef std::list< tCallback >
::const_iterator 
const_tCbListIterator

Public Member Functions

virtual ~Signalv0 ()
void Connect (Slotv0 &slot)
void Emit ()
void FreeConnection (Connection *pConnection)
 Removes a connection.
virtual ~Signalv0 ()
void Connect (Slotv0 &slot)
void Emit ()
void FreeConnection (Connection *pConnection)
 Removes a connection.

Protected Member Functions

void AddCallback (tConnectionId pConnection, Slot *slot, tCallbackType cb)
bool HasNoCallbacks () const
tCallListGetCalls ()
void RemoveCall (tConnectionId id)
void DestroyConnections ()

Detailed Description

Definition at line 34 of file Signalv0ImplSerious.hxx.


Member Typedef Documentation

typedef std::list<tCallback>::const_iterator SigSlot::Signalv0::const_tCbListIterator

Definition at line 55 of file Signalv0ImplVC6.hxx.

Definition at line 53 of file Signalv0ImplVC6.hxx.

Definition at line 50 of file Signalv0ImplVC6.hxx.

typedef CBL::Functor0 SigSlot::Signalv0::tCallbackType

Definition at line 36 of file Signalv0ImplVC6.hxx.

typedef CBL::Functor0 SigSlot::Signalv0::tCallbackType

Definition at line 38 of file Signalv0ImplSerious.hxx.

typedef std::list<tCallbackPtr >::iterator SigSlot::Signalv0::tCallIterator

Definition at line 52 of file Signalv0ImplVC6.hxx.

Definition at line 51 of file Signalv0ImplVC6.hxx.

typedef std::list<tCallback>::iterator SigSlot::Signalv0::tCbListIterator

Definition at line 54 of file Signalv0ImplVC6.hxx.


Constructor & Destructor Documentation

virtual SigSlot::Signalv0::~Signalv0 (  )  [inline, virtual]
virtual SigSlot::Signalv0::~Signalv0 (  )  [inline, virtual]

Definition at line 115 of file Signalv0ImplVC6.hxx.

References DestroyConnections().


Member Function Documentation

void SigSlot::Signalv0::AddCallback ( tConnectionId  pConnection,
Slot slot,
tCallbackType  cb 
) [inline, protected]

Definition at line 60 of file Signalv0ImplVC6.hxx.

Referenced by Connect().

void SigSlot::Signalv0::Connect ( Slotv0 slot  )  [inline]
void SigSlot::Signalv0::Connect ( Slotv0 slot  )  [inline]
void SigSlot::Signalv0::DestroyConnections (  )  [inline, protected]

Definition at line 102 of file Signalv0ImplVC6.hxx.

Referenced by ~Signalv0().

void SigSlot::Signalv0::Emit (  )  [inline]

Definition at line 130 of file Signalv0ImplVC6.hxx.

References GetCalls(), and HasNoCallbacks().

void SigSlot::Signalv0::Emit (  )  [inline]
void SigSlot::Signalv0::FreeConnection ( Connection conn  )  [inline, virtual]

Removes a connection.

Removes the given connections, so the Signal does not notify anymore the Slot behind that Connection.

Parameters:
conn The connection to be freed

Implements SigSlot::Signal.

Definition at line 146 of file Signalv0ImplVC6.hxx.

References SigSlot::Signal::FreeConnectionId(), SigSlot::Connection::GetID(), and RemoveCall().

void SigSlot::Signalv0::FreeConnection ( Connection conn  )  [inline, virtual]

Removes a connection.

Removes the given connections, so the Signal does not notify anymore the Slot behind that Connection.

Parameters:
conn The connection to be freed

Implements SigSlot::Signal.

Definition at line 70 of file Signalv0ImplSerious.hxx.

References SigSlot::Signal::FreeConnectionId(), SigSlot::Connection::GetID(), and SigSlot::ConnectionHandler< SignalType >::RemoveCall().

tCallList& SigSlot::Signalv0::GetCalls (  )  [inline, protected]

Definition at line 70 of file Signalv0ImplVC6.hxx.

Referenced by Emit().

bool SigSlot::Signalv0::HasNoCallbacks (  )  const [inline, protected]

Definition at line 65 of file Signalv0ImplVC6.hxx.

Referenced by Emit().

void SigSlot::Signalv0::RemoveCall ( tConnectionId  id  )  [inline, protected]

Definition at line 86 of file Signalv0ImplVC6.hxx.

Referenced by FreeConnection().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3