18 #ifndef __OMNETPP_CSTATISTICBUILDER_H 19 #define __OMNETPP_CSTATISTICBUILDER_H 21 #include "omnetpp/clistener.h" 22 #include "omnetpp/cproperty.h" 26 extern const char *PROPKEY_STATISTIC_SOURCE;
27 extern const char *PROPKEY_STATISTIC_RECORD;
28 extern const char *PROPKEY_STATISTIC_CHECKSIGNALS;
39 enum TristateBool {TRISTATE_TRUE=1, TRISTATE_FALSE=0, TRISTATE_DEFAULT=-1};
51 void addResultRecorders(
cComponent *component);
63 void doAddResultRecorders(
cComponent *component, std::string& componentFullPath,
const char *statisticName,
cProperty *statisticProperty,
simsignal_t signal=SIMSIGNAL_NULL);
66 std::vector<std::string> extractRecorderList(
const char *modesOption,
cProperty *statisticProperty);
67 SignalSource doStatisticSource(
cComponent *component,
cProperty *statisticProperty,
const char *statisticName,
const char *sourceSpec, TristateBool checkSignalDecl,
bool needWarmupFilter);
68 void doResultRecorder(
const SignalSource& source,
const char *mode,
cComponent *component,
const char *statisticName,
cProperty *attrsProperty);
69 TristateBool parseTristateBool(
const char *s,
const char *what);
Common base for module and channel classes.
Definition: ccomponent.h:48
Stores a (NED) property with its (possibly compound) value.
Definition: cproperty.h:38
Definition: cstatisticbuilder.h:36
Definition: cabstracthistogram.h:21
int simsignal_t
Signal handle.
Definition: clistener.h:24
Represents the configuration, as accessed by the simulation kernel.
Definition: cconfiguration.h:70