Class Info::IoBank

Nested Relationships

This class is a nested type of Class Info.

Class Documentation

class IoBank

A message field for interfacing with a bank of I/O pins.

Public Functions

IoBank(HebiInfoPtr internal, HebiInfoRef &internal_ref, HebiInfoIoPinBank bank)
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.

Parameters:

pinNumber – Which pin to set; valid values for pinNumber depend on the bank.

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.

Parameters:

pinNumber – Which pin to get; valid values for pinNumber depend on the bank.