|
CARLA
|
Serializes the current state of the whole episode. More...
#include <EpisodeStateSerializer.h>
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.
|
inlinestatic |
Definition at line 48 of file EpisodeStateSerializer.h.
References carla::sensor::RawData::begin().
Referenced by carla::sensor::data::RawEpisodeState::GetHeader().
|
inlinestatic |
Definition at line 53 of file EpisodeStateSerializer.h.
|
staticconstexpr |
Definition at line 46 of file EpisodeStateSerializer.h.