60 void Send(std::string message);
std::function< void(SharedPtr< sensor::SensorData >)> CallbackFunctionType
bool IsEnabledForROS()
Return if the sensor is publishing for ROS2
bool IsListeningGBuffer(uint32_t id) const
void EnableForROS()
Enable this sensor for ROS2 publishing
std::bitset< 16 > listening_mask
void ListenToGBuffer(uint32_t GBufferId, CallbackFunctionType callback)
Listen fr
void Send(std::string message)
Send data via this sensor
void Stop() override
Stop listening for new measurements.
void DisableForROS()
Disable this sensor for ROS2 publishing
bool IsListening() const override
Return whether this Sensor instance is currently listening to the associated sensor in the simulator.
void Listen(CallbackFunctionType callback) override
Register a callback to be executed each time a new measurement is received.
void StopGBuffer(uint32_t GBufferId)
Stop listening for a specific gbuffer stream.
This file contains definitions of common data structures used in traffic manager.