22 using ClientSideSensor::ClientSideSensor;
This file contains definitions of common data structures used in traffic manager. ...
std::atomic_size_t _callback_id
bool IsListening() const override
Return whether this Sensor instance is currently listening to the associated sensor in the simulator...
void Stop() override
Stop listening for new measurements.
std::function< void(SharedPtr< sensor::SensorData >)> CallbackFunctionType
void Listen(CallbackFunctionType callback) override
Register a callback to be executed each time a new measurement is received.