1 #ifndef __LOUT_SIGNALS_HH__
2 #define __LOUT_SIGNALS_HH__
236 int argc,
Object **argv) = 0;
310 #endif // __LOUT_SIGNALS_HH__
virtual void deleted(ObservedObject *object)=0
bool emitToReceiver(signal::Receiver *receiver, int signalNo, int argc, Object **argv)
A sub class must implement this for a call to a single receiver.
Definition: signal.cc:147
~Emitter()
Definition: signal.cc:38
DeletionEmitter deletionEmitter
Definition: signal.hh:297
container::typed::List< Receiver > * receivers
Definition: signal.hh:217
A class for fast concatenation of a large number of strings.
Definition: misc.hh:565
void unconnectFrom(Emitter *emitter)
Definition: signal.cc:138
void connect(Receiver *receiver)
Connect a receiver to the emitter.
Definition: signal.cc:65
void connectDeletion(DeletionReceiver *receiver)
Definition: signal.hh:291
This is the base class for many other classes, which defines very common virtual methods.
Definition: object.hh:24
The base class for signal emitters.
Definition: signal.hh:212
void unconnect(Receiver *receiver)
Definition: signal.cc:54
container::typed::List< Emitter > * emitters
Definition: signal.hh:258
The base class for signal receiver base classes.
Definition: signal.hh:253
~Receiver()
Definition: signal.cc:118
An observed object has a signal emitter, which tells the receivers, when the object is deleted...
Definition: signal.hh:274
Definition: container.cc:27
bool emitBool(int signalNo, int argc, Object **argv)
Emit a boolean signal.
Definition: signal.cc:91
void connectTo(Emitter *emitter)
Definition: signal.cc:133
virtual ~ObservedObject()
Definition: signal.cc:164
void emitDeletion(ObservedObject *obj)
Definition: signal.cc:157
void connectDeletion(DeletionReceiver *receiver)
Definition: signal.hh:302
Definition: signal.hh:284
void intoStringBuffer(misc::StringBuffer *sb)
Store a textual representation of the object in a misc::StringBuffer.
Definition: signal.cc:127
Emitter()
Definition: signal.cc:33
Definition: signal.hh:277
void emitVoid(int signalNo, int argc, Object **argv)
Emit a void signal.
Definition: signal.cc:77
Typed version of container::untyped::List.
Definition: container.hh:463
virtual bool emitToReceiver(Receiver *receiver, int signalNo, int argc, Object **argv)=0
A sub class must implement this for a call to a single receiver.
Receiver()
Definition: signal.cc:113
void intoStringBuffer(misc::StringBuffer *sb)
Store a textual representation of the object in a misc::StringBuffer.
Definition: signal.cc:47