CARLA
Loading...
Searching...
No Matches
Deserializer.h
Go to the documentation of this file.
1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
9#include "carla/Buffer.h"
10#include "carla/Memory.h"
11
12namespace carla {
13namespace sensor {
14
15 class SensorData;
16
17 /// Deserializes a Buffer containing data generated by a sensor and creates
18 /// the appropriate SensorData class that contains the sensor's measurement.
19 ///
20 /// This class encapsulates the SensorRegistry to avoid including all the
21 /// serializers and SensorData classes.
23 public:
24
26 };
27
28} // namespace sensor
29} // namespace carla
A piece of raw data.
Deserializes a Buffer containing data generated by a sensor and creates the appropriate SensorData cl...
static SharedPtr< SensorData > Deserialize(Buffer &&buffer)
This file contains definitions of common data structures used in traffic manager.
std::shared_ptr< T > SharedPtr
Definition Memory.h:15