CLAM-Development
1.4.0
|
#include <Signalv1ImplSerious.hxx>
Classes | |
struct | tCallback |
Public Types | |
typedef CBL::Functor1< ParmType1 > | tCallbackType |
typedef CBL::Functor1< ParmType1 > | tCallbackType |
typedef tCallbackType * | tCallbackPtr |
typedef std::list< tCallbackPtr > | tCallList |
typedef std::list < tCallbackPtr >::iterator | tCallIterator |
typedef std::list< tCallback > | tCallbackList |
typedef std::list< tCallback > ::iterator | tCbListIterator |
typedef std::list< tCallback > ::const_iterator | const_tCbListIterator |
![]() | |
typedef std::stack< unsigned > | tConnectionIdStack |
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. | |
![]() | |
virtual | ~Signal () |
Destructor. |
Protected Member Functions | |
void | AddCallback (tConnectionId pConnection, Slot *slot, tCallbackType cb) |
bool | HasNoCallbacks () const |
tCallList & | GetCalls () |
void | RemoveCall (tConnectionId id) |
void | DestroyConnections () |
![]() | |
void | FreeConnectionId (tConnectionId) |
tConnectionId | AssignConnection () |
Additional Inherited Members | |
![]() | |
static tConnectionId | smLastConnectionId = 0 |
Definition at line 35 of file Signalv1ImplSerious.hxx.
typedef std::list<tCallback>::const_iterator SigSlot::Signalv1< ParmType1 >::const_tCbListIterator |
Definition at line 58 of file Signalv1ImplVC6.hxx.
typedef std::list<tCallback> SigSlot::Signalv1< ParmType1 >::tCallbackList |
Definition at line 56 of file Signalv1ImplVC6.hxx.
typedef tCallbackType* SigSlot::Signalv1< ParmType1 >::tCallbackPtr |
Definition at line 53 of file Signalv1ImplVC6.hxx.
typedef CBL::Functor1<ParmType1> SigSlot::Signalv1< ParmType1 >::tCallbackType |
Definition at line 38 of file Signalv1ImplSerious.hxx.
typedef CBL::Functor1<ParmType1> SigSlot::Signalv1< ParmType1 >::tCallbackType |
Definition at line 39 of file Signalv1ImplVC6.hxx.
typedef std::list<tCallbackPtr >::iterator SigSlot::Signalv1< ParmType1 >::tCallIterator |
Definition at line 55 of file Signalv1ImplVC6.hxx.
typedef std::list<tCallbackPtr> SigSlot::Signalv1< ParmType1 >::tCallList |
Definition at line 54 of file Signalv1ImplVC6.hxx.
typedef std::list<tCallback>::iterator SigSlot::Signalv1< ParmType1 >::tCbListIterator |
Definition at line 57 of file Signalv1ImplVC6.hxx.
|
inlinevirtual |
Definition at line 42 of file Signalv1ImplSerious.hxx.
References SigSlot::ConnectionHandler< SignalType >::DestroyConnections().
|
inlinevirtual |
Definition at line 120 of file Signalv1ImplVC6.hxx.
References SigSlot::Signalv1< ParmType1 >::DestroyConnections().
|
inlineprotected |
Definition at line 63 of file Signalv1ImplVC6.hxx.
Referenced by SigSlot::Signalv1< ParmType1 >::Connect().
|
inline |
Definition at line 47 of file Signalv1ImplSerious.hxx.
References SigSlot::ConnectionHandler< SignalType >::AddCallback(), SigSlot::Signal::AssignConnection(), SigSlot::Slot::Bind(), SigSlot::Connection::GetID(), and SigSlot::Slotv1< ParmType1 >::GetMethod().
|
inline |
Definition at line 125 of file Signalv1ImplVC6.hxx.
References SigSlot::Signalv1< ParmType1 >::AddCallback(), SigSlot::Signal::AssignConnection(), SigSlot::Slot::Bind(), SigSlot::Connection::GetID(), and SigSlot::Slotv1< ParmType1 >::GetMethod().
|
inlineprotected |
Definition at line 105 of file Signalv1ImplVC6.hxx.
Referenced by SigSlot::Signalv1< ParmType1 >::~Signalv1().
|
inline |
Definition at line 56 of file Signalv1ImplSerious.hxx.
References SigSlot::ConnectionHandler< SignalType >::GetCalls(), and SigSlot::ConnectionHandler< SignalType >::HasNoCallbacks().
|
inline |
Definition at line 134 of file Signalv1ImplVC6.hxx.
References SigSlot::Signalv1< ParmType1 >::GetCalls(), and SigSlot::Signalv1< ParmType1 >::HasNoCallbacks().
|
inlinevirtual |
Removes a connection.
Removes the given connections, so the Signal does not notify anymore the Slot behind that Connection.
conn | The 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().
|
inlinevirtual |
Removes a connection.
Removes the given connections, so the Signal does not notify anymore the Slot behind that Connection.
conn | The 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().
|
inlineprotected |
Definition at line 73 of file Signalv1ImplVC6.hxx.
Referenced by SigSlot::Signalv1< ParmType1 >::Emit().
|
inlineprotected |
Definition at line 68 of file Signalv1ImplVC6.hxx.
Referenced by SigSlot::Signalv1< ParmType1 >::Emit().
|
inlineprotected |
Definition at line 89 of file Signalv1ImplVC6.hxx.
Referenced by SigSlot::Signalv1< ParmType1 >::FreeConnection().