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


Public Member Functions | |
| TableProbeBus (const wns::pyconfig::View &pyco) | |
| virtual | ~TableProbeBus () |
Implementation of wns::probe::bus::ProbeBus Interface | |
| 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 &aValue, const IContext ®) |
| Called to actually process the measurement. | |
| virtual void | output () |
| Called by the simulator to trigger periodical storage of measurement data. | |
Private Attributes | |
| std::vector< std::string > | evals |
| array of strings, describing what to evaluate, e.g. "mean", "variance", "trials", etc. | |
| std::vector< std::string > | formats |
| array of strings identifying the desired output formats | |
| std::string | outfileBase |
| basename to construct the output file names | |
| std::string | outputPath |
| path for the output files | |
| std::vector< detail::Sorter > | sorters |
| array of Sorters, one for each dimension of the Table | |
| detail::StatEvalTable * | t |
| The datastructure in which the actual evaluation is stored. | |
Definition at line 42 of file TableProbeBus.hpp.
| TableProbeBus::TableProbeBus | ( | const wns::pyconfig::View & | pyco | ) |
Definition at line 44 of file TableProbeBus.cpp.
| TableProbeBus::~TableProbeBus | ( | ) | [virtual] |
Definition at line 71 of file TableProbeBus.cpp.
| bool TableProbeBus::accepts | ( | const wns::simulator::Time & | time, | |
| const IContext & | context | |||
| ) | [virtual] |
| void TableProbeBus::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 111 of file TableProbeBus.cpp.
| void TableProbeBus::output | ( | ) | [virtual] |
std::vector<std::string> wns::probe::bus::TableProbeBus::evals [private] |
Definition at line 70 of file TableProbeBus.hpp.
std::vector<std::string> wns::probe::bus::TableProbeBus::formats [private] |
Definition at line 72 of file TableProbeBus.hpp.
std::string wns::probe::bus::TableProbeBus::outfileBase [private] |
Definition at line 77 of file TableProbeBus.hpp.
std::string wns::probe::bus::TableProbeBus::outputPath [private] |
Definition at line 75 of file TableProbeBus.hpp.
std::vector<detail::Sorter> wns::probe::bus::TableProbeBus::sorters [private] |
Definition at line 67 of file TableProbeBus.hpp.
Definition at line 80 of file TableProbeBus.hpp.
1.5.5