Wrapper around the raw data generated by a sensor plus some useful meta-information. 更多...
#include <RawData.h>
Public 成员函数 | |
auto | begin () const noexcept |
Begin iterator to the data generated by the sensor. | |
auto | begin () noexcept |
Begin iterator to the data generated by the sensor. | |
auto | data () const noexcept |
Retrieve a pointer to the memory containing the data generated by the sensor. | |
auto | data () noexcept |
Retrieve a pointer to the memory containing the data generated by the sensor. | |
auto | end () const noexcept |
Past-the-end iterator to the data generated by the sensor. | |
auto | end () noexcept |
Past-the-end iterator to the data generated by the sensor. | |
uint64_t | GetFrame () const |
Frame count when the data was generated. | |
const rpc::Transform & | GetSensorTransform () const |
Sensor's transform when the data was generated. | |
uint64_t | GetSensorTypeId () const |
Type-id of the sensor that generated the data. | |
double | GetTimestamp () const |
Timestamp when the data was generated. | |
size_t | size () const |
Size in bytes of the data generated by the sensor. | |
Private 类型 | |
using | HeaderSerializer = s11n::SensorHeaderSerializer |
Private 成员函数 | |
const auto & | GetHeader () const |
RawData (Buffer &&buffer) | |
Private 属性 | |
Buffer | _buffer |
友元 | |
class | carla::ros2::ROS2 |
template<typename... Items> | |
class | CompositeSerializer |
Wrapper around the raw data generated by a sensor plus some useful meta-information.
|
private |
|
inlinenoexcept |
Begin iterator to the data generated by the sensor.
引用了 _buffer, carla::Buffer::begin() , 以及 carla::sensor::s11n::SensorHeaderSerializer::header_offset.
|
inlinenoexcept |
Begin iterator to the data generated by the sensor.
引用了 _buffer, carla::Buffer::begin() , 以及 carla::sensor::s11n::SensorHeaderSerializer::header_offset.
被这些函数引用 carla::sensor::data::Array< T >::begin(), carla::sensor::data::Array< T >::cbegin(), data(), data(), carla::sensor::s11n::DVSEventArraySerializer::DeserializeHeader(), carla::sensor::s11n::GBufferFloatSerializer::DeserializeHeader(), carla::sensor::s11n::GBufferUint8Serializer::DeserializeHeader(), carla::sensor::s11n::ImageSerializer::DeserializeHeader(), carla::sensor::s11n::LidarSerializer::DeserializeHeader(), carla::sensor::s11n::NormalsImageSerializer::DeserializeHeader(), carla::sensor::s11n::OpticalFlowImageSerializer::DeserializeHeader(), carla::sensor::s11n::SemanticLidarSerializer::DeserializeHeader(), carla::sensor::s11n::EpisodeStateSerializer::DeserializeHeader(), carla::sensor::s11n::CollisionEventSerializer::DeserializeRawData(), carla::sensor::s11n::GnssSerializer::DeserializeRawData(), carla::sensor::s11n::IMUSerializer::DeserializeRawData(), carla::sensor::s11n::ObstacleDetectionEventSerializer::DeserializeRawData() , 以及 size().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Past-the-end iterator to the data generated by the sensor.
引用了 _buffer , 以及 carla::Buffer::end().
|
inlinenoexcept |
Past-the-end iterator to the data generated by the sensor.
引用了 _buffer , 以及 carla::Buffer::end().
被这些函数引用 carla::sensor::data::Array< T >::cend(), carla::sensor::data::Array< T >::end() , 以及 size().
|
inline |
|
inlineprivate |
引用了 _buffer , 以及 carla::sensor::s11n::SensorHeaderSerializer::Deserialize().
被这些函数引用 GetFrame(), GetSensorTransform(), GetSensorTypeId() , 以及 GetTimestamp().
|
inline |
|
inline |
Type-id of the sensor that generated the data.
引用了 GetHeader().
被这些函数引用 carla::sensor::CompositeSerializer< Items >::Deserialize().
|
inline |
|
inline |
Size in bytes of the data generated by the sensor.
引用了 begin(), DEBUG_ASSERT , 以及 end().
被这些函数引用 carla::sensor::data::Array< T >::Array(), carla::sensor::s11n::CollisionEventSerializer::DeserializeRawData(), carla::sensor::s11n::GnssSerializer::DeserializeRawData(), carla::sensor::s11n::IMUSerializer::DeserializeRawData() , 以及 carla::sensor::s11n::ObstacleDetectionEventSerializer::DeserializeRawData().
|
friend |
|
friend |
|
private |