Listener for counting the occurrences of signals with the same attribute.
More...
#include <ResultRecorders.h>
|
virtual void | collect (std::string val) |
|
virtual void | receiveSignal (cResultFilter *prev, simtime_t_cref t, bool b, cObject *details) override |
|
virtual void | receiveSignal (cResultFilter *prev, simtime_t_cref t, long l, cObject *details) override |
|
virtual void | receiveSignal (cResultFilter *prev, simtime_t_cref t, unsigned long l, cObject *details) override |
|
virtual void | receiveSignal (cResultFilter *prev, simtime_t_cref t, double d, cObject *details) override |
|
virtual void | receiveSignal (cResultFilter *prev, simtime_t_cref t, const SimTime &v, cObject *details) override |
|
virtual void | receiveSignal (cResultFilter *prev, simtime_t_cref t, const char *s, cObject *details) override |
|
virtual void | receiveSignal (cResultFilter *prev, simtime_t_cref t, cObject *obj, cObject *details) override |
|
Listener for counting the occurrences of signals with the same attribute.
inet::GroupCountRecorder::GroupCountRecorder |
( |
| ) |
|
|
inline |
void inet::GroupCountRecorder::collect |
( |
std::string |
val | ) |
|
|
protectedvirtual |
Referenced by receiveSignal().
std::map< std::string, long > groupcounts
Definition: ResultRecorders.h:32
void inet::GroupCountRecorder::finish |
( |
cResultFilter * |
prev | ) |
|
|
overridevirtual |
64 opp_string_map attributes = getStatisticAttributes();
67 std::stringstream name;
68 name << getResultName().c_str() <<
":" << elem.first;
69 getEnvir()->recordScalar(getComponent(), name.str().c_str(), elem.second, &attributes);
std::map< std::string, long > groupcounts
Definition: ResultRecorders.h:32
void inet::GroupCountRecorder::receiveSignal |
( |
cResultFilter * |
prev, |
|
|
simtime_t_cref |
t, |
|
|
bool |
b, |
|
|
cObject * |
details |
|
) |
| |
|
overrideprotectedvirtual |
virtual void collect(std::string val)
Definition: ResultRecorders.cc:25
value< double, units::m > b
Definition: Units.h:1054
void inet::GroupCountRecorder::receiveSignal |
( |
cResultFilter * |
prev, |
|
|
simtime_t_cref |
t, |
|
|
long |
l, |
|
|
cObject * |
details |
|
) |
| |
|
overrideprotectedvirtual |
virtual void collect(std::string val)
Definition: ResultRecorders.cc:25
value< double, units::s > s
Definition: Units.h:1049
void inet::GroupCountRecorder::receiveSignal |
( |
cResultFilter * |
prev, |
|
|
simtime_t_cref |
t, |
|
|
unsigned long |
l, |
|
|
cObject * |
details |
|
) |
| |
|
overrideprotectedvirtual |
virtual void collect(std::string val)
Definition: ResultRecorders.cc:25
value< double, units::s > s
Definition: Units.h:1049
void inet::GroupCountRecorder::receiveSignal |
( |
cResultFilter * |
prev, |
|
|
simtime_t_cref |
t, |
|
|
double |
d, |
|
|
cObject * |
details |
|
) |
| |
|
overrideprotectedvirtual |
virtual void collect(std::string val)
Definition: ResultRecorders.cc:25
value< double, units::s > s
Definition: Units.h:1049
void inet::GroupCountRecorder::receiveSignal |
( |
cResultFilter * |
prev, |
|
|
simtime_t_cref |
t, |
|
|
const SimTime & |
v, |
|
|
cObject * |
details |
|
) |
| |
|
overrideprotectedvirtual |
virtual void collect(std::string val)
Definition: ResultRecorders.cc:25
void inet::GroupCountRecorder::receiveSignal |
( |
cResultFilter * |
prev, |
|
|
simtime_t_cref |
t, |
|
|
const char * |
s, |
|
|
cObject * |
details |
|
) |
| |
|
overrideprotectedvirtual |
virtual void collect(std::string val)
Definition: ResultRecorders.cc:25
value< double, units::s > s
Definition: Units.h:1049
void inet::GroupCountRecorder::receiveSignal |
( |
cResultFilter * |
prev, |
|
|
simtime_t_cref |
t, |
|
|
cObject * |
obj, |
|
|
cObject * |
details |
|
) |
| |
|
overrideprotectedvirtual |
virtual void collect(std::string val)
Definition: ResultRecorders.cc:25
std::map<std::string,long> inet::GroupCountRecorder::groupcounts |
|
protected |
The documentation for this class was generated from the following files: