Public Member Functions | Private Attributes | List of all members
hebi::Feedback::NumberedFloatField Class Referencefinal

A message field containing a numbered set of single-precision floating point values. More...

#include <feedback.hpp>

Public Member Functions

float get (size_t fieldNumber) const
 If the particular numbered subvalue of this field has a value, returns that value; otherwise returns a default. More...
 
bool has (size_t fieldNumber) const
 True if (and only if) the particular numbered subvalue of this field has a value. More...
 
 NumberedFloatField (HebiFeedbackPtr internal, HebiFeedbackNumberedFloatField field)
 

Private Attributes

HebiFeedbackNumberedFloatField const field_
 
HebiFeedbackPtr const internal_
 

Detailed Description

A message field containing a numbered set of single-precision floating point values.

Definition at line 199 of file feedback.hpp.

Constructor & Destructor Documentation

hebi::Feedback::NumberedFloatField::NumberedFloatField ( HebiFeedbackPtr  internal,
HebiFeedbackNumberedFloatField  field 
)

Definition at line 73 of file feedback.cpp.

Member Function Documentation

float hebi::Feedback::NumberedFloatField::get ( size_t  fieldNumber) const

If the particular numbered subvalue of this field has a value, returns that value; otherwise returns a default.

Parameters
fieldNumberWhich subvalue to get; valid values for fieldNumber depend on the field type.

Definition at line 83 of file feedback.cpp.

bool hebi::Feedback::NumberedFloatField::has ( size_t  fieldNumber) const

True if (and only if) the particular numbered subvalue of this field has a value.

Parameters
fieldNumberWhich subvalue to check; valid values for fieldNumber depend on the field type.

Definition at line 78 of file feedback.cpp.

Member Data Documentation

HebiFeedbackNumberedFloatField const hebi::Feedback::NumberedFloatField::field_
private

Definition at line 220 of file feedback.hpp.

HebiFeedbackPtr const hebi::Feedback::NumberedFloatField::internal_
private

Definition at line 219 of file feedback.hpp.


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


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:10:59