CLAM-Development  1.4.0
Classes | Public Types | Public Member Functions | Protected Member Functions
SigSlot::Signalv1< ParmType1 > Class Template Reference

#include <Signalv1ImplSerious.hxx>

List of all members.

Classes

struct  tCallback

Public Types

typedef CBL::Functor1< ParmType1 > tCallbackType
typedef CBL::Functor1< ParmType1 > 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 ~Signalv1 ()
void Connect (Slotv1< ParmType1 > &slot)
void Emit (ParmType1 parm)
void FreeConnection (Connection *pConnection)
 Removes a connection.
virtual ~Signalv1 ()
void Connect (Slotv1< ParmType1 > &slot)
void Emit (ParmType1 parm)
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

template<typename ParmType1>
class SigSlot::Signalv1< ParmType1 >

Definition at line 35 of file Signalv1ImplSerious.hxx.


Member Typedef Documentation

template<typename ParmType1 >
typedef std::list<tCallback>::const_iterator SigSlot::Signalv1< ParmType1 >::const_tCbListIterator

Definition at line 58 of file Signalv1ImplVC6.hxx.

template<typename ParmType1 >
typedef std::list<tCallback> SigSlot::Signalv1< ParmType1 >::tCallbackList

Definition at line 56 of file Signalv1ImplVC6.hxx.

template<typename ParmType1 >
typedef tCallbackType* SigSlot::Signalv1< ParmType1 >::tCallbackPtr

Definition at line 53 of file Signalv1ImplVC6.hxx.

template<typename ParmType1 >
typedef CBL::Functor1<ParmType1> SigSlot::Signalv1< ParmType1 >::tCallbackType

Definition at line 38 of file Signalv1ImplSerious.hxx.

template<typename ParmType1 >
typedef CBL::Functor1<ParmType1> SigSlot::Signalv1< ParmType1 >::tCallbackType

Definition at line 39 of file Signalv1ImplVC6.hxx.

template<typename ParmType1 >
typedef std::list<tCallbackPtr >::iterator SigSlot::Signalv1< ParmType1 >::tCallIterator

Definition at line 55 of file Signalv1ImplVC6.hxx.

template<typename ParmType1 >
typedef std::list<tCallbackPtr> SigSlot::Signalv1< ParmType1 >::tCallList

Definition at line 54 of file Signalv1ImplVC6.hxx.

template<typename ParmType1 >
typedef std::list<tCallback>::iterator SigSlot::Signalv1< ParmType1 >::tCbListIterator

Definition at line 57 of file Signalv1ImplVC6.hxx.


Constructor & Destructor Documentation

template<typename ParmType1 >
virtual SigSlot::Signalv1< ParmType1 >::~Signalv1 ( )
inlinevirtual
template<typename ParmType1 >
virtual SigSlot::Signalv1< ParmType1 >::~Signalv1 ( )
inlinevirtual

Member Function Documentation

template<typename ParmType1 >
void SigSlot::Signalv1< ParmType1 >::AddCallback ( tConnectionId  pConnection,
Slot slot,
tCallbackType  cb 
)
inlineprotected

Definition at line 63 of file Signalv1ImplVC6.hxx.

Referenced by SigSlot::Signalv1< ParmType1 >::Connect().

template<typename ParmType1 >
void SigSlot::Signalv1< ParmType1 >::Connect ( Slotv1< ParmType1 > &  slot)
inline
template<typename ParmType1 >
void SigSlot::Signalv1< ParmType1 >::Connect ( Slotv1< ParmType1 > &  slot)
inline
template<typename ParmType1 >
void SigSlot::Signalv1< ParmType1 >::DestroyConnections ( )
inlineprotected

Definition at line 105 of file Signalv1ImplVC6.hxx.

Referenced by SigSlot::Signalv1< ParmType1 >::~Signalv1().

template<typename ParmType1 >
void SigSlot::Signalv1< ParmType1 >::Emit ( ParmType1  parm)
inline
template<typename ParmType1 >
void SigSlot::Signalv1< ParmType1 >::Emit ( ParmType1  parm)
inline
template<typename ParmType1 >
void SigSlot::Signalv1< ParmType1 >::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 73 of file Signalv1ImplSerious.hxx.

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

template<typename ParmType1 >
void SigSlot::Signalv1< ParmType1 >::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 151 of file Signalv1ImplVC6.hxx.

References SigSlot::Signal::FreeConnectionId(), SigSlot::Connection::GetID(), and SigSlot::Signalv1< ParmType1 >::RemoveCall().

template<typename ParmType1 >
tCallList& SigSlot::Signalv1< ParmType1 >::GetCalls ( )
inlineprotected

Definition at line 73 of file Signalv1ImplVC6.hxx.

Referenced by SigSlot::Signalv1< ParmType1 >::Emit().

template<typename ParmType1 >
bool SigSlot::Signalv1< ParmType1 >::HasNoCallbacks ( ) const
inlineprotected

Definition at line 68 of file Signalv1ImplVC6.hxx.

Referenced by SigSlot::Signalv1< ParmType1 >::Emit().

template<typename ParmType1 >
void SigSlot::Signalv1< ParmType1 >::RemoveCall ( tConnectionId  id)
inlineprotected

Definition at line 89 of file Signalv1ImplVC6.hxx.

Referenced by SigSlot::Signalv1< ParmType1 >::FreeConnection().


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