OMNeT++ Simulation Library  5.6.1
cResultFilter Class Reference

#include <cresultfilter.h>

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:
cResultListener cObject cIListener cNumericResultFilter cObjectResultFilter ConstantFilter TimeFilter TotalCountFilter AverageFilter CountNanFilter ErrorNanFilter IdentityFilter MaxFilter MeanFilter MinFilter RemoveRepeatsFilter SkipNanFilter SumFilter SumPerDurationFilter TimeAverageFilter PacketBitsFilter PacketBytesFilter Constant0Filter Constant1Filter CountFilter

Protected Member Functions

virtual void forEachChild (cVisitor *v) override
 
- Protected 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, long l, cObject *details) override
 
virtual void receiveSignal (cComponent *source, simsignal_t signalID, unsigned long 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
 
- Protected Member Functions inherited from cObject
virtual void take (cOwnedObject *obj)
 
virtual void drop (cOwnedObject *obj)
 
void dropAndDelete (cOwnedObject *obj)
 

Additional Inherited Members

- Public Member Functions inherited from cObject
 cObject ()
 
 cObject (const cObject &other)
 
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
 
const cObjectgetThisPtr () const
 
virtual std::string str () const
 
virtual _OPPDEPRECATED std::string info () const
 
virtual _OPPDEPRECATED std::string detailedInfo () const
 
virtual cObjectdup () const
 
virtual void parsimPack (cCommBuffer *buffer) const
 
virtual void parsimUnpack (cCommBuffer *buffer)
 
virtual cObjectgetOwner () const
 
virtual bool isOwnedObject () const
 
cObjectfindObject (const char *name, bool deep=true)
 
void copyNotSupported () const
 
- Public Member Functions inherited from cIListener
int getSubscribeCount () const
 

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: