CLAM-Development  1.4.0
Classes | Public Types | Public Member Functions | Protected Member Functions
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 Types inherited from SigSlot::Signal
typedef std::stack< unsignedtConnectionIdStack
typedef unsigned tConnectionId

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.
- Public Member Functions inherited from SigSlot::Signal
virtual ~Signal ()
 Destructor.

Protected Member Functions

void AddCallback (tConnectionId pConnection, Slot *slot, tCallbackType cb)
bool HasNoCallbacks () const
tCallListGetCalls ()
void RemoveCall (tConnectionId id)
void DestroyConnections ()
- Protected Member Functions inherited from SigSlot::Signal
void FreeConnectionId (tConnectionId)
tConnectionId AssignConnection ()

Additional Inherited Members

- Static Protected Attributes inherited from SigSlot::Signal
static tConnectionId smLastConnectionId = 0

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 ( )
inlinevirtual
virtual SigSlot::Signalv0::~Signalv0 ( )
inlinevirtual

Definition at line 115 of file Signalv0ImplVC6.hxx.

References DestroyConnections().


Member Function Documentation

void SigSlot::Signalv0::AddCallback ( tConnectionId  pConnection,
Slot slot,
tCallbackType  cb 
)
inlineprotected

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 ( )
inlineprotected

Definition at line 102 of file Signalv0ImplVC6.hxx.

Referenced by ~Signalv0().

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

Definition at line 130 of file Signalv0ImplVC6.hxx.

References GetCalls(), and HasNoCallbacks().

void SigSlot::Signalv0::FreeConnection ( Connection conn)
inlinevirtual

Removes a connection.

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

Parameters:
connThe 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().

void SigSlot::Signalv0::FreeConnection ( Connection conn)
inlinevirtual

Removes a connection.

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

Parameters:
connThe connection to be freed

Implements SigSlot::Signal.

Definition at line 146 of file Signalv0ImplVC6.hxx.

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

tCallList& SigSlot::Signalv0::GetCalls ( )
inlineprotected

Definition at line 70 of file Signalv0ImplVC6.hxx.

Referenced by Emit().

bool SigSlot::Signalv0::HasNoCallbacks ( ) const
inlineprotected

Definition at line 65 of file Signalv0ImplVC6.hxx.

Referenced by Emit().

void SigSlot::Signalv0::RemoveCall ( tConnectionId  id)
inlineprotected

Definition at line 86 of file Signalv0ImplVC6.hxx.

Referenced by FreeConnection().


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