Dillo v3.1.1-98-g318d1f14
|
The base class for signal receiver base classes. More...
#include <signal.hh>
Public Member Functions | |
Receiver () | |
~Receiver () | |
void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. | |
Public Member Functions inherited from lout::object::Object | |
virtual | ~Object () |
The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. | |
virtual bool | equals (Object *other) |
Returns, whether two objects are equal. | |
virtual int | hashValue () |
Return a hash value for the object. | |
virtual Object * | clone () |
Return an exact copy of the object. | |
const char * | toString () |
Use object::Object::intoStringBuffer to return a textual representation of the object. | |
virtual size_t | sizeOf () |
Return the number of bytes, this object totally uses. | |
Private Member Functions | |
void | connectTo (Emitter *emitter) |
void | unconnectFrom (Emitter *emitter) |
Private Attributes | |
container::typed::List< Emitter > * | emitters |
Friends | |
class | Emitter |
The base class for signal receiver base classes.
If defining a signal group, a sub class of this class must be defined, in which only the abstract signal methods must be defined.
lout::signal::Receiver::~Receiver | ( | ) |
Definition at line 118 of file signal.cc.
References emitters, and lout::signal::Emitter::unconnect().
|
private |
Definition at line 133 of file signal.cc.
References emitters.
Referenced by lout::signal::Emitter::connect().
|
virtual |
Store a textual representation of the object in a misc::StringBuffer.
This is used by object::Object::toString.
Reimplemented from lout::object::Object.
Definition at line 127 of file signal.cc.
References lout::misc::StringBuffer::append().
|
private |
Definition at line 138 of file signal.cc.
References emitters.
Referenced by lout::signal::Emitter::~Emitter().
|
private |
Definition at line 258 of file signal.hh.
Referenced by connectTo(), Receiver(), unconnectFrom(), and ~Receiver().