Serializes the current state of the whole episode. More...
#include <ObstacleDetectionEventSerializer.h>
Classes | |
struct | Data |
Static Public Member Functions | |
static SharedPtr< SensorData > | Deserialize (RawData &&data) |
static Data | DeserializeRawData (const RawData &message) |
template<typename SensorT > | |
static Buffer | Serialize (const SensorT &, rpc::Actor self_actor, rpc::Actor other_actor, float distance) |
Static Public Attributes | |
static constexpr auto | header_offset = 0u |
Serializes the current state of the whole episode.
Definition at line 23 of file ObstacleDetectionEventSerializer.h.
|
static |
Definition at line 14 of file ObstacleDetectionEventSerializer.cpp.
Referenced by Serialize().
|
inlinestatic |
Definition at line 39 of file ObstacleDetectionEventSerializer.h.
References carla::sensor::RawData::begin(), and carla::sensor::RawData::size().
Referenced by carla::sensor::data::ObstacleDetectionEvent::ObstacleDetectionEvent().
|
inlinestatic |
Definition at line 44 of file ObstacleDetectionEventSerializer.h.
References Deserialize(), carla::sensor::s11n::ObstacleDetectionEventSerializer::Data::other_actor, carla::MsgPack::Pack(), and carla::sensor::s11n::ObstacleDetectionEventSerializer::Data::self_actor.
|
static |
Definition at line 37 of file ObstacleDetectionEventSerializer.h.