CARLA
Loading...
Searching...
No Matches
LibCarla
source
carla
sensor
Deserializer.cpp
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
#include "
carla/sensor/Deserializer.h
"
8
9
#include "
carla/sensor/SensorRegistry.h
"
10
11
namespace
carla
{
12
namespace
sensor {
13
14
SharedPtr<SensorData>
Deserializer::Deserialize
(
Buffer
&&buffer) {
15
return
SensorRegistry::Deserialize
(std::move(buffer));
16
}
17
18
}
// namespace sensor
19
}
// namespace carla
Deserializer.h
SensorRegistry.h
carla::Buffer
A piece of raw data.
Definition
carla/Buffer.h:42
carla::sensor::CompositeSerializer::Deserialize
static interpreted_type Deserialize(Buffer &&data)
Deserializes a Buffer by calling the "Deserialize" function of the serializer that generated the Buff...
Definition
CompositeSerializer.h:88
carla::sensor::Deserializer::Deserialize
static SharedPtr< SensorData > Deserialize(Buffer &&buffer)
Definition
Deserializer.cpp:14
carla
This file contains definitions of common data structures used in traffic manager.
Definition
SignComponent.h:21
carla::SharedPtr
std::shared_ptr< T > SharedPtr
Definition
Memory.h:15
Generated by
1.9.8