Serializes events array generated by DVS camera sensors. More...
#include <DVSEventArraySerializer.h>
Collaboration diagram for carla::sensor::s11n::DVSEventArraySerializer:Classes | |
| struct | DVSHeader |
Public Types | |
| using | DVSEventArray = std::vector< data::DVSEvent > |
Static Public Member Functions | |
| static SharedPtr< SensorData > | Deserialize (RawData &&data) |
| static const DVSHeader & | DeserializeHeader (const RawData &data) |
| template<typename Sensor > | |
| static Buffer | Serialize (const Sensor &sensor, const DVSEventArray &events, Buffer &&output) |
Static Public Attributes | |
| static constexpr auto | header_offset = sizeof(DVSHeader) |
Serializes events array generated by DVS camera sensors.
Definition at line 24 of file DVSEventArraySerializer.h.
| using carla::sensor::s11n::DVSEventArraySerializer::DVSEventArray = std::vector<data::DVSEvent> |
Definition at line 36 of file DVSEventArraySerializer.h.
|
static |
Definition at line 15 of file DVSEventArraySerializer.cpp.
Referenced by DeserializeHeader().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 38 of file DVSEventArraySerializer.h.
References carla::sensor::RawData::begin(), Deserialize(), and Serialize().
Referenced by carla::sensor::data::DVSEventArray::GetHeader().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Reset the output buffer
Pointer to data in buffer
Copy the header into the output buffer
Copy the events into the output buffer
Definition at line 49 of file DVSEventArraySerializer.h.
References DEBUG_ASSERT.
Referenced by DeserializeHeader().
Here is the caller graph for this function:
|
static |
Definition at line 35 of file DVSEventArraySerializer.h.
1.8.13