CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
sensor
Deserializer.cpp
浏览该文件的文档.
1
// Copyright (c) 2017 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
Carla.cpp:133
carla::SharedPtr
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...
Definition
Memory.h:20
制作者
1.10.0