![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <probe/bus/StatEvalProbeBus.hpp>


Public Member Functions | |
| virtual bool | accepts (const wns::simulator::Time &, const IContext &) |
| Called to determine if the ProbeBus would accept the measurement. | |
| virtual void | onMeasurement (const wns::simulator::Time &, const double &, const IContext &) |
| Called to actually process the measurement. | |
| virtual void | output () |
| Called by the simulator to trigger periodical storage of measurement data. | |
| StatEvalProbeBus (const wns::pyconfig::View &) | |
| virtual | ~StatEvalProbeBus () |
Private Attributes | |
| bool | appendFlag |
| std::string | filename |
| bool | firstWrite |
| std::string | outputPath |
| wns::evaluation::statistics::StatEvalInterface * | statEval |
Definition at line 49 of file StatEvalProbeBus.hpp.
| StatEvalProbeBus::StatEvalProbeBus | ( | const wns::pyconfig::View & | pyco | ) |
Definition at line 42 of file StatEvalProbeBus.cpp.
| StatEvalProbeBus::~StatEvalProbeBus | ( | ) | [virtual] |
Definition at line 55 of file StatEvalProbeBus.cpp.
| bool StatEvalProbeBus::accepts | ( | const wns::simulator::Time & | time, | |
| const IContext & | context | |||
| ) | [virtual] |
| void StatEvalProbeBus::onMeasurement | ( | const wns::simulator::Time & | time, | |
| const double & | measurement, | |||
| const IContext & | context | |||
| ) | [virtual] |
| time | The current timestamp of the simulation | |
| measurement | The measured value. | |
| context | The context of your measurement. |
Implements wns::probe::bus::ProbeBus.
Definition at line 67 of file StatEvalProbeBus.cpp.
| void StatEvalProbeBus::output | ( | ) | [virtual] |
Definition at line 74 of file StatEvalProbeBus.hpp.
std::string wns::probe::bus::StatEvalProbeBus::filename [private] |
Definition at line 72 of file StatEvalProbeBus.hpp.
Definition at line 76 of file StatEvalProbeBus.hpp.
std::string wns::probe::bus::StatEvalProbeBus::outputPath [private] |
Definition at line 70 of file StatEvalProbeBus.hpp.
wns::evaluation::statistics::StatEvalInterface* wns::probe::bus::StatEvalProbeBus::statEval [private] |
Definition at line 78 of file StatEvalProbeBus.hpp.
1.5.5