14namespace sensor {
class SensorData; }
Represents an actor in the simulation.
virtual void Listen(CallbackFunctionType callback)=0
Register a callback to be executed each time a new measurement is received.
virtual bool IsListening() const =0
Return whether this Sensor instance is currently listening to new data.
virtual void Stop()=0
Stop listening for new measurements.
std::function< void(SharedPtr< sensor::SensorData >)> CallbackFunctionType
This file contains definitions of common data structures used in traffic manager.
std::shared_ptr< T > SharedPtr