CLAM-Development
1.4.0
|
#include <Signalv2ImplSerious.hxx>
Classes | |
struct | tCallback |
Public Types | |
typedef CBL::Functor2 < ParmType1, ParmType2 > | tCallbackType |
typedef CBL::Functor2 < ParmType1, ParmType2 > | 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 | ~Signalv2 () |
void | Connect (Slotv2< ParmType1, ParmType2 > &slot) |
void | Emit (ParmType1 parm1, ParmType2 parm2) |
void | FreeConnection (Connection *pConnection) |
Removes a connection. | |
virtual | ~Signalv2 () |
void | Connect (Slotv2< ParmType1, ParmType2 > &slot) |
void | Emit (ParmType1 parm1, ParmType2 parm2) |
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 Signalv2ImplSerious.hxx.
typedef std::list<tCallback>::const_iterator SigSlot::Signalv2< ParmType1, ParmType2 >::const_tCbListIterator |
Definition at line 61 of file Signalv2ImplVC6.hxx.
typedef std::list<tCallback> SigSlot::Signalv2< ParmType1, ParmType2 >::tCallbackList |
Definition at line 59 of file Signalv2ImplVC6.hxx.
typedef tCallbackType* SigSlot::Signalv2< ParmType1, ParmType2 >::tCallbackPtr |
Definition at line 56 of file Signalv2ImplVC6.hxx.
typedef CBL::Functor2<ParmType1,ParmType2> SigSlot::Signalv2< ParmType1, ParmType2 >::tCallbackType |
Definition at line 38 of file Signalv2ImplSerious.hxx.
typedef CBL::Functor2<ParmType1,ParmType2> SigSlot::Signalv2< ParmType1, ParmType2 >::tCallbackType |
Definition at line 40 of file Signalv2ImplVC6.hxx.
typedef std::list<tCallbackPtr >::iterator SigSlot::Signalv2< ParmType1, ParmType2 >::tCallIterator |
Definition at line 58 of file Signalv2ImplVC6.hxx.
typedef std::list<tCallbackPtr> SigSlot::Signalv2< ParmType1, ParmType2 >::tCallList |
Definition at line 57 of file Signalv2ImplVC6.hxx.
typedef std::list<tCallback>::iterator SigSlot::Signalv2< ParmType1, ParmType2 >::tCbListIterator |
Definition at line 60 of file Signalv2ImplVC6.hxx.
|
inlinevirtual |
Definition at line 42 of file Signalv2ImplSerious.hxx.
References SigSlot::ConnectionHandler< SignalType >::DestroyConnections().
|
inlinevirtual |
Definition at line 124 of file Signalv2ImplVC6.hxx.
References SigSlot::Signalv2< ParmType1, ParmType2 >::DestroyConnections().
|
inlineprotected |
Definition at line 66 of file Signalv2ImplVC6.hxx.
Referenced by SigSlot::Signalv2< ParmType1, ParmType2 >::Connect().
|
inline |
Definition at line 48 of file Signalv2ImplSerious.hxx.
References SigSlot::ConnectionHandler< SignalType >::AddCallback(), SigSlot::Signal::AssignConnection(), SigSlot::Slot::Bind(), SigSlot::Connection::GetID(), and SigSlot::Slotv2< ParmType1, ParmType2 >::GetMethod().
|
inline |
Definition at line 129 of file Signalv2ImplVC6.hxx.
References SigSlot::Signalv2< ParmType1, ParmType2 >::AddCallback(), SigSlot::Signal::AssignConnection(), SigSlot::Slot::Bind(), SigSlot::Connection::GetID(), and SigSlot::Slotv2< ParmType1, ParmType2 >::GetMethod().
|
inlineprotected |
Definition at line 108 of file Signalv2ImplVC6.hxx.
Referenced by SigSlot::Signalv2< ParmType1, ParmType2 >::~Signalv2().
|
inline |
Definition at line 57 of file Signalv2ImplSerious.hxx.
References SigSlot::ConnectionHandler< SignalType >::GetCalls(), and SigSlot::ConnectionHandler< SignalType >::HasNoCallbacks().
|
inline |
Definition at line 139 of file Signalv2ImplVC6.hxx.
References SigSlot::Signalv2< ParmType1, ParmType2 >::GetCalls(), and SigSlot::Signalv2< ParmType1, ParmType2 >::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 74 of file Signalv2ImplSerious.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 156 of file Signalv2ImplVC6.hxx.
References SigSlot::Signal::FreeConnectionId(), SigSlot::Connection::GetID(), and SigSlot::Signalv2< ParmType1, ParmType2 >::RemoveCall().
|
inlineprotected |
Definition at line 76 of file Signalv2ImplVC6.hxx.
Referenced by SigSlot::Signalv2< ParmType1, ParmType2 >::Emit().
|
inlineprotected |
Definition at line 71 of file Signalv2ImplVC6.hxx.
Referenced by SigSlot::Signalv2< ParmType1, ParmType2 >::Emit().
|
inlineprotected |
Definition at line 92 of file Signalv2ImplVC6.hxx.
Referenced by SigSlot::Signalv2< ParmType1, ParmType2 >::FreeConnection().