Compile-time map for mapping sensor objects to serializers. 更多...
#include <CompositeSerializer.h>
Public 类型 | |
using | interpreted_type = SharedPtr<SensorData> |
Public 类型 继承自 carla::sensor::CompileTimeTypeMap< Items... > | |
using | get |
using | get_by_index |
静态 Public 成员函数 | |
static interpreted_type | Deserialize (Buffer &&data) |
Deserializes a Buffer by calling the "Deserialize" function of the serializer that generated the Buffer. | |
template<typename Sensor , typename... Args> | |
static Buffer | Serialize (Sensor &sensor, Args &&... args) |
Serialize the arguments provided into a Buffer by calling to the serializer registered for the given Sensor type. | |
静态 Public 成员函数 继承自 carla::sensor::CompileTimeTypeMap< Items... > | |
static constexpr size_t | size () |
Private 类型 | |
using | Super = CompileTimeTypeMap<Items...> |
静态 Private 成员函数 | |
template<typename Data > | |
static interpreted_type | Deserialize (size_t index, Data &&data) |
template<size_t Index, typename Data > | |
static interpreted_type | Deserialize_impl (Data &&data) |
template<typename Data , size_t... Is> | |
static interpreted_type | Deserialize_impl (size_t i, Data &&data, std::index_sequence< Is... >) |
Compile-time map for mapping sensor objects to serializers.
The appropriate serializer is called for each sensor to serialize and deserialize its data.
Do not use directly, use the SensorRegistry instantiation.
在文件 CompositeSerializer.h 第 29 行定义.
using carla::sensor::CompositeSerializer< Items >::interpreted_type = SharedPtr<SensorData> |
在文件 CompositeSerializer.h 第 34 行定义.
|
private |
在文件 CompositeSerializer.h 第 30 行定义.
|
inlinestatic |
Deserializes a Buffer by calling the "Deserialize" function of the serializer that generated the Buffer.
在文件 CompositeSerializer.h 第 88 行定义.
引用了 carla::sensor::RawData::GetSensorTypeId().
被这些函数引用 carla::sensor::Deserializer::Deserialize().
|
inlinestaticprivate |
|
inlinestaticprivate |
在文件 CompositeSerializer.h 第 48 行定义.
被这些函数引用 carla::sensor::CompositeSerializer< Items >::Deserialize().
|
inlinestaticprivate |
在文件 CompositeSerializer.h 第 54 行定义.
|
inlinestatic |
Serialize the arguments provided into a Buffer by calling to the serializer registered for the given Sensor type.
在文件 CompositeSerializer.h 第 80 行定义.
被这些函数引用 ADVSCamera::PostPhysTick(), FPixelReader::SendPixelsInRenderThread() , 以及 FAsyncDataStreamTmpl< T >::SerializeAndSend().