Deserializes a Buffer containing data generated by a sensor and creates the appropriate SensorData class that contains the sensor's measurement. More...
#include <Deserializer.h>
Static Public Member Functions | |
static SharedPtr< SensorData > | Deserialize (Buffer &&buffer) |
Deserializes a Buffer containing data generated by a sensor and creates the appropriate SensorData class that contains the sensor's measurement.
This class encapsulates the SensorRegistry to avoid including all the serializers and SensorData classes.
Definition at line 22 of file Deserializer.h.
|
static |
Definition at line 14 of file Deserializer.cpp.
References carla::sensor::CompositeSerializer< Items >::Deserialize().
Referenced by carla::client::detail::Episode::Listen(), carla::client::detail::Simulator::SubscribeToGBuffer(), and carla::client::detail::Simulator::SubscribeToSensor().