16 #ifndef __OMNETPP_CRESULTFILTER_H 17 #define __OMNETPP_CRESULTFILTER_H 19 #include "simkerneldefs.h" 20 #include "cresultlistener.h" 21 #include "onstartup.h" 23 #include "cownedobject.h" 41 #define Register_ResultFilter(NAME, CLASSNAME) \ 42 static omnetpp::cResultFilter *__FILEUNIQUENAME__() {return new CLASSNAME;} \ 43 EXECUTE_ON_STARTUP(omnetpp::resultFilters.getInstance()->add(new omnetpp::cResultFilterType(NAME,__FILEUNIQUENAME__));) 57 #define Register_ResultFilter2(NAME, CLASSNAME, DESCRIPTION) \ 58 static omnetpp::cResultFilter *__FILEUNIQUENAME__() {return new CLASSNAME;} \ 59 EXECUTE_ON_STARTUP(omnetpp::resultFilters.getInstance()->add(new omnetpp::cResultFilterType(NAME,__FILEUNIQUENAME__,DESCRIPTION));) 86 virtual void forEachChild(
cVisitor *v)
override;
91 virtual double getInitialDoubleValue()
const {
return NAN;}
93 virtual int getNumDelegates()
const;
95 std::vector<cResultListener*> getDelegates()
const;
150 std::string description;
Common base for module and channel classes.
Definition: ccomponent.h:48
Root of the OMNeT++ class hierarchy. cObject is a lightweight class without any data members...
Definition: cobject.h:58
int64_t-based, base-10 fixed-point simulation time.
Definition: simtime.h:66
Base class for filters that expect to receive an numeric value.
Definition: cresultfilter.h:107
Registers a cResultFilter.
Definition: cresultfilter.h:147
const char * getDescription() const
Definition: cresultfilter.h:168
cResultFilter * create() const
Definition: cresultfilter.h:163
Stores a (NED) property with its (possibly compound) value.
Definition: cproperty.h:38
Base class for result filters.
Definition: cresultfilter.h:72
Enables traversing the tree of (cObject-rooted) simulation objects.
Definition: cvisitor.h:56
Definition: cabstracthistogram.h:21
Common abstract base class for result filters and result recorders.
Definition: cresultlistener.h:34
Base class for cOwnedObject-based classes that do not wish to support assignment and duplication...
Definition: cownedobject.h:248
Base class for filters that expect to receive an object.
Definition: cresultfilter.h:131