Result filter that demultiplexes its input to several outputs. The selector (a.ka. demux label) is the name string of the details object emitted with the value, details->getFullName()
. Results recorded on the various outputs are tagged with the demux label (i.e. the demux label appears as part of their names).
New outputs are created on demand, by cloning the result filter/recorder chain(s) initially attached as output to the demux filter (i.e. before the first emitted signal).
Public Member Functions | |
virtual std::string | str () const override |
Public Member Functions inherited from cResultListener | |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, bool b, cObject *details) override |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, intval_t l, cObject *details) override |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, uintval_t l, cObject *details) override |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, double d, cObject *details) override |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, const SimTime &v, cObject *details) override |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, const char *s, cObject *details) override |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, cObject *obj, cObject *details) override |
virtual void | subscribedTo (cComponent *component, simsignal_t signalID) override |
virtual void | unsubscribedFrom (cComponent *component, simsignal_t signalID) override |
virtual void | finish (cComponent *component, simsignal_t signalID) override |
virtual int | getSubscribeCount () const override |
Public Member Functions inherited from cObject | |
cObject () | |
cObject (const cObject &other)=default | |
virtual | ~cObject () |
virtual const char * | getClassName () const |
virtual const char * | getName () const |
bool | isName (const char *s) const |
virtual const char * | getFullName () const |
virtual std::string | getFullPath () const |
virtual std::string | getClassAndFullName () const |
virtual std::string | getClassAndFullPath () const |
const cObject * | getThisPtr () const |
virtual std::ostream & | printOn (std::ostream &os) const |
virtual cObject * | dup () const |
virtual void | parsimPack (cCommBuffer *buffer) const |
virtual void | parsimUnpack (cCommBuffer *buffer) |
virtual cObject * | getOwner () const |
virtual bool | isOwnedObject () const |
virtual bool | isSoftOwner () const |
cObject * | findObject (const char *name, bool deep=true) |
virtual cClassDescriptor * | getDescriptor () const |
void | copyNotSupported () const |
Public Member Functions inherited from cIListener | |
cIListener () | |
cIListener (const cIListener &other) | |
virtual | ~cIListener () |
Additional Inherited Members | |
Protected Member Functions inherited from cResultFilter | |
virtual void | forEachChild (cVisitor *v) override |
Protected Member Functions inherited from cObject | |
virtual void | take (cOwnedObject *obj) |
virtual void | drop (cOwnedObject *obj) |
void | dropAndDelete (cOwnedObject *obj) |
Protected Member Functions inherited from cIListener | |
virtual void | unsubscribeAll () |
|
overridevirtual |
Returns a brief, one-line description of the object. The returned string does (should) NOT include the object's name and class. This method is used to display object information at several places in the Qtenv GUI, among others.
Reimplemented from cObject.