Public Member Functions | Private Attributes | List of all members
sick::datastructure::MeasurementData Class Reference

Class containing all scanpoints of a single measurement. More...

#include <MeasurementData.h>

Public Member Functions

void addScanPoint (ScanPoint scan_point)
 Add a single scanpoint to the vector of scanpoints. More...
 
uint32_t getNumberOfBeams () const
 Getter for the number of beams. More...
 
std::vector< ScanPointgetScanPointsVector () const
 Getter for all contained scanpoints. More...
 
bool isEmpty () const
 Returns if measurement data has been enabled. More...
 
 MeasurementData ()
 Constructor of an empty measurement. More...
 
void setIsEmpty (bool is_empty)
 Set if measurement data is enabled. More...
 
void setNumberOfBeams (const uint32_t &number_of_beams)
 Setter for the number of beams. More...
 

Private Attributes

bool m_is_empty
 
uint32_t m_number_of_beams
 
std::vector< ScanPointm_scan_points_vector
 

Detailed Description

Class containing all scanpoints of a single measurement.

Definition at line 49 of file MeasurementData.h.

Constructor & Destructor Documentation

sick::datastructure::MeasurementData::MeasurementData ( )

Constructor of an empty measurement.

Definition at line 41 of file MeasurementData.cpp.

Member Function Documentation

void sick::datastructure::MeasurementData::addScanPoint ( ScanPoint  scan_point)

Add a single scanpoint to the vector of scanpoints.

Parameters
scan_pointNew scanpoint to add.

Definition at line 61 of file MeasurementData.cpp.

uint32_t sick::datastructure::MeasurementData::getNumberOfBeams ( ) const

Getter for the number of beams.

Returns
Return number of beams.

Definition at line 46 of file MeasurementData.cpp.

std::vector< ScanPoint > sick::datastructure::MeasurementData::getScanPointsVector ( ) const

Getter for all contained scanpoints.

Returns
Vector of scanpoints.

Definition at line 56 of file MeasurementData.cpp.

bool sick::datastructure::MeasurementData::isEmpty ( ) const

Returns if measurement data has been enabled.

Returns
If measurement data has been enabled.

Definition at line 66 of file MeasurementData.cpp.

void sick::datastructure::MeasurementData::setIsEmpty ( bool  is_empty)

Set if measurement data is enabled.

Parameters
is_emptyset if measurement data is enabled.

Definition at line 71 of file MeasurementData.cpp.

void sick::datastructure::MeasurementData::setNumberOfBeams ( const uint32_t &  number_of_beams)

Setter for the number of beams.

Parameters
number_of_beamsInput number of beams.

Definition at line 51 of file MeasurementData.cpp.

Member Data Documentation

bool sick::datastructure::MeasurementData::m_is_empty
private

Definition at line 94 of file MeasurementData.h.

uint32_t sick::datastructure::MeasurementData::m_number_of_beams
private

Definition at line 96 of file MeasurementData.h.

std::vector<ScanPoint> sick::datastructure::MeasurementData::m_scan_points_vector
private

Definition at line 97 of file MeasurementData.h.


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


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:42