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


Public Member Functions | |
| virtual bool | accepts (const wns::simulator::Time &, const IContext &) |
| Called to determine if the ProbeBus would accept the measurement. | |
| LoggingProbeBus (const wns::pyconfig::View &) | |
| 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. | |
| virtual | ~LoggingProbeBus () |
Private Attributes | |
| wns::logger::Logger | logger_ |
Definition at line 47 of file LoggingProbeBus.hpp.
| LoggingProbeBus::LoggingProbeBus | ( | const wns::pyconfig::View & | pyco | ) |
Definition at line 40 of file LoggingProbeBus.cpp.
| LoggingProbeBus::~LoggingProbeBus | ( | ) | [virtual] |
Definition at line 45 of file LoggingProbeBus.cpp.
| bool LoggingProbeBus::accepts | ( | const wns::simulator::Time & | time, | |
| const IContext & | context | |||
| ) | [virtual] |
| void LoggingProbeBus::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 56 of file LoggingProbeBus.cpp.
| void LoggingProbeBus::output | ( | ) | [virtual] |
Definition at line 66 of file LoggingProbeBus.hpp.
1.5.5