HEBI C++ API
3.9.0
|
A message field for interfacing with a bank of I/O pins. More...
#include <info.hpp>
Public Member Functions | |
bool | hasLabel (size_t pinNumber) const |
True if (and only if) the particular numbered pin in this bank has a string label set in this message. More... | |
std::string | getLabel (size_t pinNumber) const |
If this numbered pin in this bank has a string label value, returns that value; otherwise returns an empty string. More... | |
A message field for interfacing with a bank of I/O pins.
bool hebi::Info::IoBank::hasLabel | ( | size_t | pinNumber | ) | const |
True if (and only if) the particular numbered pin in this bank has a string label set in this message.
pinNumber | Which pin to set; valid values for pinNumber depend on the bank. |
std::string hebi::Info::IoBank::getLabel | ( | size_t | pinNumber | ) | const |
If this numbered pin in this bank has a string label value, returns that value; otherwise returns an empty string.
pinNumber | Which pin to get; valid values for pinNumber depend on the bank. |