OMNeT++ API 6.1
Discrete Event Simulation Library
cResultFilter Class Reference

Description

Base class for result filters.

Result filters map ONE SIGNAL to ONE SIGNAL (i.e. vector-to-vector one-to-one mapping), and accept several listeners (delegates). Result filters do not record anything – that is left to result recorders.

See also
Register_ResultFilter()
Inheritance diagram for cResultFilter:
[legend]

Classes

struct  Context
 

Protected Member Functions

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 ()
 

Additional Inherited Members

- 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 cObjectgetThisPtr () const
 
virtual std::string str () const
 
virtual std::ostream & printOn (std::ostream &os) const
 
virtual cObjectdup () const
 
virtual void parsimPack (cCommBuffer *buffer) const
 
virtual void parsimUnpack (cCommBuffer *buffer)
 
virtual cObjectgetOwner () const
 
virtual bool isOwnedObject () const
 
virtual bool isSoftOwner () const
 
cObjectfindObject (const char *name, bool deep=true)
 
virtual cClassDescriptorgetDescriptor () const
 
void copyNotSupported () const
 
- Public Member Functions inherited from cIListener
 cIListener ()
 
 cIListener (const cIListener &other)
 
virtual ~cIListener ()
 

Member Function Documentation

◆ forEachChild()

virtual void forEachChild ( cVisitor v)
overrideprotectedvirtual

Enables traversing the object tree, performing some operation on each object. The operation is encapsulated in the particular subclass of cVisitor.

This method should be redefined in every subclass to call v->visit(obj) for every obj object contained.

Reimplemented from cObject.


The documentation for this class was generated from the following file: