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

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

#include <SemanticLidarSerializer.h>

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

Public Member Functions

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

Protected Member Functions

 SemanticLidarHeaderView (const uint32_t *begin)
 

Protected Attributes

const uint32_t * _begin
 

Private Types

using Index = data::SemanticLidarData::Index
 

Friends

class SemanticLidarSerializer
 

Detailed Description

A view over the header of a Lidar measurement.

Definition at line 26 of file SemanticLidarSerializer.h.

Member Typedef Documentation

◆ Index

Definition at line 27 of file SemanticLidarSerializer.h.

Constructor & Destructor Documentation

◆ SemanticLidarHeaderView()

carla::sensor::s11n::SemanticLidarHeaderView::SemanticLidarHeaderView ( const uint32_t *  begin)
inlineexplicitprotected

Definition at line 47 of file SemanticLidarSerializer.h.

References _begin, and DEBUG_ASSERT.

Member Function Documentation

◆ GetChannelCount()

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

Definition at line 35 of file SemanticLidarSerializer.h.

References _begin.

Referenced by GetPointCount().

+ Here is the caller graph for this function:

◆ GetHorizontalAngle()

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

Definition at line 31 of file SemanticLidarSerializer.h.

References _begin.

◆ GetPointCount()

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

Definition at line 39 of file SemanticLidarSerializer.h.

References _begin, DEBUG_ASSERT, GetChannelCount(), and PropAttributes::SIZE.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ SemanticLidarSerializer

friend class SemanticLidarSerializer
friend

Definition at line 45 of file SemanticLidarSerializer.h.

Member Data Documentation

◆ _begin

const uint32_t* carla::sensor::s11n::SemanticLidarHeaderView::_begin
protected

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