CARLA
 
载入中...
搜索中...
未找到
Deserializer.h
浏览该文件的文档.
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#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.
Definition Carla.cpp:133
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