CARLA
Loading...
Searching...
No Matches
carla::sensor::s11n::LidarHeaderView Class Reference

A view over the header of a Lidar measurement. More...

#include <LidarSerializer.h>

Public Member Functions

uint32_t GetChannelCount () const
float GetHorizontalAngle () const
uint32_t GetPointCount (size_t channel) const

Private Types

using Index = data::LidarData::Index

Private Member Functions

 LidarHeaderView (const uint32_t *begin)

Private Attributes

const uint32_t * _begin

Friends

class LidarSerializer

Detailed Description

A view over the header of a Lidar measurement.

Definition at line 26 of file LidarSerializer.h.

Member Typedef Documentation

◆ Index

Constructor & Destructor Documentation

◆ LidarHeaderView()

carla::sensor::s11n::LidarHeaderView::LidarHeaderView ( const uint32_t * begin)
inlineexplicitprivate

Definition at line 46 of file LidarSerializer.h.

References _begin, and DEBUG_ASSERT.

Member Function Documentation

◆ GetChannelCount()

uint32_t carla::sensor::s11n::LidarHeaderView::GetChannelCount ( ) const
inline

Definition at line 34 of file LidarSerializer.h.

References _begin.

Referenced by GetPointCount().

◆ GetHorizontalAngle()

float carla::sensor::s11n::LidarHeaderView::GetHorizontalAngle ( ) const
inline

Definition at line 30 of file LidarSerializer.h.

References _begin.

◆ GetPointCount()

uint32_t carla::sensor::s11n::LidarHeaderView::GetPointCount ( size_t channel) const
inline

Definition at line 38 of file LidarSerializer.h.

References _begin, DEBUG_ASSERT, and GetChannelCount().

◆ LidarSerializer

friend class LidarSerializer
friend

Definition at line 44 of file LidarSerializer.h.

References LidarSerializer.

Referenced by LidarSerializer.

Member Data Documentation

◆ _begin

const uint32_t* carla::sensor::s11n::LidarHeaderView::_begin
private

The documentation for this class was generated from the following file: