![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <probe/bus/TimeWindowProbeBus.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. | |
| virtual void | startObserving (ProbeBus *other) |
| Start observing (connect to) another Probebus. | |
| TimeWindowProbeBus (const wns::pyconfig::View &) | |
| virtual | ~TimeWindowProbeBus () |
Private Attributes | |
| wns::simulator::Time | end_ |
| wns::events::scheduler::Interface * | evsched_ |
| wns::simulator::Time | start_ |
Classes | |
| class | StartStopObservingCommand |
Definition at line 41 of file TimeWindowProbeBus.hpp.
| TimeWindowProbeBus::TimeWindowProbeBus | ( | const wns::pyconfig::View & | pyco | ) |
Definition at line 43 of file TimeWindowProbeBus.cpp.
| TimeWindowProbeBus::~TimeWindowProbeBus | ( | ) | [virtual] |
Definition at line 50 of file TimeWindowProbeBus.cpp.
| bool TimeWindowProbeBus::accepts | ( | const wns::simulator::Time & | time, | |
| const IContext & | context | |||
| ) | [virtual] |
| void TimeWindowProbeBus::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 61 of file TimeWindowProbeBus.cpp.
| void TimeWindowProbeBus::output | ( | ) | [virtual] |
| void TimeWindowProbeBus::startObserving | ( | ProbeBus * | other | ) | [virtual] |
| other | The ProbeBus to observe |
Reimplemented from wns::probe::bus::ProbeBus.
Definition at line 73 of file TimeWindowProbeBus.cpp.
Definition at line 105 of file TimeWindowProbeBus.hpp.
Definition at line 101 of file TimeWindowProbeBus.hpp.
Definition at line 103 of file TimeWindowProbeBus.hpp.
1.5.5