HEBI C++ API
3.12.2
|
A message field containing a numbered set of single-precision floating point values. More...
#include <feedback.hpp>
Public Member Functions | |
bool | has (size_t fieldNumber) const |
True if (and only if) the particular numbered subvalue of this field has a value. More... | |
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... | |
A message field containing a numbered set of single-precision floating point values.
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. |
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. |