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_ |
A message field containing a numbered set of single-precision floating point values.
Definition at line 199 of file feedback.hpp.
hebi::Feedback::NumberedFloatField::NumberedFloatField | ( | HebiFeedbackPtr | internal, |
HebiFeedbackNumberedFloatField | field | ||
) |
Definition at line 73 of file feedback.cpp.
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.
fieldNumber | Which 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.
fieldNumber | Which subvalue to check; valid values for fieldNumber depend on the field type. |
Definition at line 78 of file feedback.cpp.
|
private |
Definition at line 220 of file feedback.hpp.
|
private |
Definition at line 219 of file feedback.hpp.