CARLA
LibCarla
source
carla
sensor
Deserializer.cpp
Go to the documentation of this file.
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
carla::sensor::Deserializer::Deserialize
static SharedPtr< SensorData > Deserialize(Buffer &&buffer)
Definition:
Deserializer.cpp:14
SensorRegistry.h
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
carla
This file contains definitions of common data structures used in traffic manager. ...
Definition:
Carla.cpp:133
Deserializer.h
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::Buffer
A piece of raw data.
Definition:
carla/Buffer.h:42
Generated by
1.8.13