CARLA
Loading...
Searching...
No Matches
carla::multigpu::MirroredPositions Struct Reference

Frame data packet 34: every live actor's pose in this frame. More...

#include <mirrorPackets.h>

Public Member Functions

bool Read (std::istream &in, uint32_t size)
 Reads a payload of size bytes; records that grew in a newer build are read up to the fields known here.
void Write (std::ostream &out) const

Public Attributes

std::vector< MirroredPosition > positions

Static Public Attributes

static constexpr uint8_t kPacketId = 34u
static constexpr uint16_t kRecordSizeV1 = 60u

Detailed Description

Frame data packet 34: every live actor's pose in this frame.

Definition at line 35 of file mirrorPackets.h.

Member Function Documentation

◆ Read()

bool carla::multigpu::MirroredPositions::Read ( std::istream & in,
uint32_t size )
inline

◆ Write()

void carla::multigpu::MirroredPositions::Write ( std::ostream & out) const
inline

Member Data Documentation

◆ kPacketId

uint8_t carla::multigpu::MirroredPositions::kPacketId = 34u
staticconstexpr

Definition at line 37 of file mirrorPackets.h.

Referenced by Write().

◆ kRecordSizeV1

uint16_t carla::multigpu::MirroredPositions::kRecordSizeV1 = 60u
staticconstexpr

Definition at line 39 of file mirrorPackets.h.

Referenced by Read(), and Write().

◆ positions

std::vector<MirroredPosition> carla::multigpu::MirroredPositions::positions

The documentation for this struct was generated from the following file: