OMNeT++ Simulation Library  6.0.3
cResultRecorder Class Reference

#include <cresultrecorder.h>

Description

Abstract base class for result recorders.

See also
Register_ResultRecorder()
Inheritance diagram for cResultRecorder:
cResultListener cObject cIListener cNumericResultRecorder TotalCountRecorder AverageRecorder ErrorNanRecorder LastValueRecorder MaxRecorder MeanRecorder MinRecorder StatisticsRecorder SumRecorder TimeAverageRecorder VectorRecorder CountRecorder

Classes

struct  Context
 

Public Member Functions

virtual const char * getName () const override
 
virtual std::string getFullPath () 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
 
bool isName (const char *s) const
 
virtual const char * getFullName () 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
 
virtual void forEachChild (cVisitor *v)
 
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 ()
 

Additional Inherited Members

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

Member Function Documentation

◆ getName()

virtual const char* getName ( ) const
inlineoverridevirtual

Returns pointer to the object's name. It should never return nullptr. This default implementation just returns an empty string ("").

Reimplemented from cObject.

◆ getFullPath()

virtual std::string getFullPath ( ) const
inlineoverridevirtual

Returns the full path of the object in the object hierarchy, like "net.host[2].tcp.winsize". This method relies on getOwner(): if there is an owner object, this method returns the owner's fullPath plus this object's fullName, separated by a dot; otherwise it simply returns fullName.

Reimplemented from cObject.


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