Serializes the meta-information (header) sent with all the sensor data. More...
#include <SensorHeaderSerializer.h>
Classes | |
struct | Header |
Static Public Member Functions | |
static const Header & | Deserialize (const Buffer &message) |
static Buffer | Serialize (uint64_t index, uint64_t frame, double timestamp, rpc::Transform transform) |
Static Public Attributes | |
static constexpr auto | header_offset = sizeof(Header) |
Serializes the meta-information (header) sent with all the sensor data.
Definition at line 17 of file SensorHeaderSerializer.h.
|
inlinestatic |
Definition at line 37 of file SensorHeaderSerializer.h.
References carla::Buffer::data().
Referenced by carla::sensor::RawData::GetHeader().
|
static |
Definition at line 24 of file SensorHeaderSerializer.cpp.
References carla::sensor::s11n::SensorHeaderSerializer::Header::frame, carla::sensor::s11n::PopBufferFromPool(), carla::sensor::s11n::SensorHeaderSerializer::Header::sensor_transform, carla::sensor::s11n::SensorHeaderSerializer::Header::sensor_type, and carla::sensor::s11n::SensorHeaderSerializer::Header::timestamp.
|
static |
Definition at line 29 of file SensorHeaderSerializer.h.
Referenced by carla::sensor::RawData::begin().