Serializes the current state of the whole episode. More...
#include <EpisodeStateSerializer.h>
Collaboration diagram for carla::sensor::s11n::EpisodeStateSerializer:Classes | |
| struct | Header |
Public Types | |
| enum | SimulationState { None = (0x0 << 0), MapChange = (0x1 << 0), PendingLightUpdate = (0x1 << 1) } |
Static Public Member Functions | |
| static SharedPtr< SensorData > | Deserialize (RawData &&data) |
| static const Header & | DeserializeHeader (const RawData &message) |
| template<typename SensorT > | |
| static Buffer | Serialize (const SensorT &, Buffer &&buffer) |
Static Public Attributes | |
| static constexpr auto | header_offset = sizeof(Header) |
Serializes the current state of the whole episode.
Definition at line 27 of file EpisodeStateSerializer.h.
| Enumerator | |
|---|---|
| None | |
| MapChange | |
| PendingLightUpdate | |
Definition at line 30 of file EpisodeStateSerializer.h.
|
static |
Definition at line 15 of file EpisodeStateSerializer.cpp.
Referenced by Serialize().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 48 of file EpisodeStateSerializer.h.
References carla::sensor::RawData::begin().
Referenced by carla::sensor::data::RawEpisodeState::GetHeader().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 53 of file EpisodeStateSerializer.h.
References Deserialize().
Here is the call graph for this function:
|
static |
Definition at line 46 of file EpisodeStateSerializer.h.
1.8.13