#include <Signalv0ImplSerious.hxx>
Classes | |
struct | tCallback |
Public Types | |
typedef CBL::Functor0 | tCallbackType |
typedef CBL::Functor0 | 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 |
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 |
tCallList & | GetCalls () |
void | RemoveCall (tConnectionId id) |
void | DestroyConnections () |
Definition at line 34 of file Signalv0ImplSerious.hxx.
typedef std::list<tCallback>::const_iterator SigSlot::Signalv0::const_tCbListIterator |
Definition at line 55 of file Signalv0ImplVC6.hxx.
typedef std::list<tCallback> SigSlot::Signalv0::tCallbackList |
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.
typedef std::list<tCallbackPtr> SigSlot::Signalv0::tCallList |
Definition at line 51 of file Signalv0ImplVC6.hxx.
typedef std::list<tCallback>::iterator SigSlot::Signalv0::tCbListIterator |
Definition at line 54 of file Signalv0ImplVC6.hxx.
virtual SigSlot::Signalv0::~Signalv0 | ( | ) | [inline, virtual] |
Definition at line 40 of file Signalv0ImplSerious.hxx.
References SigSlot::ConnectionHandler< SignalType >::DestroyConnections().
virtual SigSlot::Signalv0::~Signalv0 | ( | ) | [inline, virtual] |
Definition at line 115 of file Signalv0ImplVC6.hxx.
References DestroyConnections().
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] |
Definition at line 121 of file Signalv0ImplVC6.hxx.
References AddCallback(), SigSlot::Signal::AssignConnection(), SigSlot::Slot::Bind(), SigSlot::Connection::GetID(), and SigSlot::Slotv0::GetMethod().
void SigSlot::Signalv0::Connect | ( | Slotv0 & | slot | ) | [inline] |
Definition at line 45 of file Signalv0ImplSerious.hxx.
References SigSlot::ConnectionHandler< SignalType >::AddCallback(), SigSlot::Signal::AssignConnection(), SigSlot::Slot::Bind(), SigSlot::Connection::GetID(), and SigSlot::Slotv0::GetMethod().
Referenced by CLAM::PortMonitor< Spectrum >::AttachSlotNewData(), CLAM::PortMonitor< Spectrum >::AttachStartSlot(), CLAM::PortMonitor< Spectrum >::AttachStopSlot(), and CLAM::AudioPlayer::AudioPlayer().
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] |
Definition at line 54 of file Signalv0ImplSerious.hxx.
References SigSlot::ConnectionHandler< SignalType >::GetCalls(), and SigSlot::ConnectionHandler< SignalType >::HasNoCallbacks().
Referenced by CLAM::PortMonitor< Spectrum >::ConcreteStart(), CLAM::PortMonitor< Spectrum >::ConcreteStop(), and CLAM::PortMonitor< TheDataType, ThePortType >::Do().
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.
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.
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().