|
INFM HIL Interface
Interface between Artery simulation and DuTs
|
Timer to call given callback periodically with given event More...
#include <PeriodicTimer.h>
Public Member Functions | |
| PeriodicTimer (const std::shared_ptr< boost::asio::io_service > &io, int periodMs, SimEvent event, std::function< void(const SimEvent &)> callback) | |
| void | start () |
| void | stop () |
Timer to call given callback periodically with given event
| void sim_interface::PeriodicTimer::start | ( | ) |
Start the async waiting on the constructed timer with tick() as callback
| void sim_interface::PeriodicTimer::stop | ( | ) |
Cancel the constructed timer