CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
LibCarla
source
carla
sensor
s11n
NoopSerializer.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/Memory.h
"
10
#include "
carla/sensor/RawData.h
"
11
12
#include <cstdint>
13
#include <cstring>
14
15
namespace
carla
{
16
namespace
sensor
{
17
18
class
SensorData
;
19
20
namespace
s11n
{
21
22
/// Dummy serializer that blocks all the data. Use it as serializer for
23
/// client-side sensors that do not send any data.
24
class
NoopSerializer
{
25
public
:
26
27
[[noreturn]]
static
SharedPtr<SensorData>
Deserialize
(
RawData
&&
data
);
28
};
29
30
}
// namespace s11n
31
}
// namespace sensor
32
}
// namespace carla
Memory.h
RawData.h
carla::sensor::RawData
Wrapper around the raw data generated by a sensor plus some useful meta-information.
Definition
RawData.h:21
carla::sensor::SensorData
Base class for all the objects containing data generated by a sensor.
Definition
SensorData.h:22
carla::sensor::s11n::NoopSerializer
Dummy serializer that blocks all the data.
Definition
NoopSerializer.h:24
carla::sensor::s11n::NoopSerializer::Deserialize
static SharedPtr< SensorData > Deserialize(RawData &&data)
Definition
NoopSerializer.cpp:15
carla::sensor::data
Definition
ROS2.h:33
carla::sensor::s11n
Definition
ROS2.h:39
carla::sensor
Definition
client/detail/Client.h:58
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.18.0