编译时映射表,用于将传感器对象映射到序列化器。 更多...
#include <CompositeSerializer.h>
Public 类型 | |
using | interpreted_type = SharedPtr<SensorData> |
![]() | |
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. | |
![]() | |
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... >) |
编译时映射表,用于将传感器对象映射到序列化器。
针对每个传感器,会调用相应的序列化器对其数据进行序列化和反序列化操作。
请勿直接使用,请使用传感器注册实例(SensorRegistry实例)。
在文件 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 第 93 行定义.
引用了 carla::sensor::RawData::GetSensorTypeId().
被这些函数引用 carla::sensor::Deserializer::Deserialize().
|
inlinestaticprivate |
|
inlinestaticprivate |
在文件 CompositeSerializer.h 第 48 行定义.
被这些函数引用 carla::sensor::CompositeSerializer< Items >::Deserialize().
|
inlinestaticprivate |
在文件 CompositeSerializer.h 第 56 行定义.
|
inlinestatic |
Serialize the arguments provided into a Buffer by calling to the serializer registered for the given Sensor type.
在文件 CompositeSerializer.h 第 82 行定义.
被这些函数引用 ADVSCamera::PostPhysTick(), FPixelReader::SendPixelsInRenderThread() , 以及 FAsyncDataStreamTmpl::SerializeAndSend().