CARLA
Classes | Static Public Member Functions | Static Public Attributes | List of all members
carla::sensor::s11n::SensorHeaderSerializer Class Reference

Serializes the meta-information (header) sent with all the sensor data. More...

#include <SensorHeaderSerializer.h>

+ Collaboration diagram for carla::sensor::s11n::SensorHeaderSerializer:

Classes

struct  Header
 

Static Public Member Functions

static const HeaderDeserialize (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)
 

Detailed Description

Serializes the meta-information (header) sent with all the sensor data.

Definition at line 17 of file SensorHeaderSerializer.h.

Member Function Documentation

◆ Deserialize()

static const Header& carla::sensor::s11n::SensorHeaderSerializer::Deserialize ( const Buffer message)
inlinestatic

Definition at line 37 of file SensorHeaderSerializer.h.

References carla::Buffer::data().

Referenced by carla::sensor::RawData::GetHeader().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Serialize()

Buffer carla::sensor::s11n::SensorHeaderSerializer::Serialize ( uint64_t  index,
uint64_t  frame,
double  timestamp,
rpc::Transform  transform 
)
static

Member Data Documentation

◆ header_offset

constexpr auto carla::sensor::s11n::SensorHeaderSerializer::header_offset = sizeof(Header)
static

Definition at line 29 of file SensorHeaderSerializer.h.

Referenced by carla::sensor::RawData::begin().


The documentation for this class was generated from the following files: