HEBI C++ API
3.10.0
|
A message field representable by a bool value. More...
#include <command.hpp>
Public Member Functions | |
bool | has () const |
True if (and only if) the field has a value. More... | |
bool | get () const |
If the field has a value, returns that value; otherwise, returns false. More... | |
void | set (bool value) |
Sets the field to a given value. More... | |
void | clear () |
Removes any currently set value for this field. More... | |
A message field representable by a bool value.
bool hebi::Command::BoolField::has | ( | ) | const |
True if (and only if) the field has a value.
bool hebi::Command::BoolField::get | ( | ) | const |
If the field has a value, returns that value; otherwise, returns false.
void hebi::Command::BoolField::set | ( | bool | value | ) |
Sets the field to a given value.
void hebi::Command::BoolField::clear | ( | ) |
Removes any currently set value for this field.