Class Command::BoolField
Defined in File command.hpp
Nested Relationships
This class is a nested type of Class Command.
Class Documentation
-
class BoolField
A message field representable by a bool value.
Public Functions
-
BoolField(HebiCommandRef &internal, HebiCommandBoolField field)
-
bool has() const
True if (and only if) the field has a value.
-
bool get() const
If the field has a value, returns that value; otherwise, returns false.
-
void set(bool value)
Sets the field to a given value.
-
void clear()
Removes any currently set value for this field.
-
BoolField(HebiCommandRef &internal, HebiCommandBoolField field)