Serializes the current state of the whole episode. More...
#include <CollisionEventSerializer.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, geom::Vector3D normal_impulse) |
Static Public Attributes | |
static constexpr auto | header_offset = 0u |
Serializes the current state of the whole episode.
Definition at line 24 of file CollisionEventSerializer.h.
|
static |
Definition at line 14 of file CollisionEventSerializer.cpp.
Referenced by Serialize().
|
inlinestatic |
Definition at line 40 of file CollisionEventSerializer.h.
References carla::sensor::RawData::begin(), and carla::sensor::RawData::size().
|
inlinestatic |
Definition at line 45 of file CollisionEventSerializer.h.
References Deserialize(), carla::sensor::s11n::CollisionEventSerializer::Data::other_actor, carla::MsgPack::Pack(), and carla::sensor::s11n::CollisionEventSerializer::Data::self_actor.
|
static |
Definition at line 38 of file CollisionEventSerializer.h.