Class Feedback::NumberedFloatField
Defined in File feedback.hpp
Nested Relationships
This class is a nested type of Class Feedback.
Class Documentation
-
class NumberedFloatField
A message field containing a numbered set of single-precision floating point values.
Public Functions
-
NumberedFloatField(const HebiFeedbackRef &internal, HebiFeedbackNumberedFloatField field)
-
bool has(size_t fieldNumber) const
True if (and only if) the particular numbered subvalue of this field has a value.
- Parameters:
fieldNumber – Which subvalue to check; valid values for fieldNumber depend on the field type.
-
float get(size_t fieldNumber) const
If the particular numbered subvalue of this field has a value, returns that value; otherwise returns a default.
- Parameters:
fieldNumber – Which subvalue to get; valid values for fieldNumber depend on the field type.
-
NumberedFloatField(const HebiFeedbackRef &internal, HebiFeedbackNumberedFloatField field)