CARLA
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
carla::sensor::s11n::LidarHeaderView Class Reference

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

#include <LidarSerializer.h>

+ Collaboration diagram for carla::sensor::s11n::LidarHeaderView:

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

Definition at line 27 of file LidarSerializer.h.

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().

+ Here is the caller graph for this function:

◆ 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, GetChannelCount(), and PropAttributes::SIZE.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ LidarSerializer

friend class LidarSerializer
friend

Definition at line 44 of file LidarSerializer.h.

Member Data Documentation

◆ _begin

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

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