#include <cresultrecorder.h>
Abstract base class for result recorders.
- See also
- Register_ResultRecorder()
|
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 |
|
virtual void | take (cOwnedObject *obj) |
|
virtual void | drop (cOwnedObject *obj) |
|
void | dropAndDelete (cOwnedObject *obj) |
|
virtual void init |
( |
cComponent * |
component, |
|
|
const char * |
statisticName, |
|
|
const char * |
recordingMode, |
|
|
cProperty * |
attrsProperty, |
|
|
opp_string_map * |
manualAttrs = nullptr |
|
) |
| |
|
virtual |
Sets contextual information on the result recorder: it will record a (scalar, vector, etc) result for the given component, with a name composed of statisticName and recordingMode, result attributes taken either from the keys and values of the attrsProperty NED property, or from the manualAttrs string map (exactly one of the two must be non-nullptr). manualAttrs, when specified, will be owned (i.e. deleted) by the result recorder object.
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.
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: