Public Member Functions | Private Member Functions | Private Attributes | List of all members
hebi::Feedback::IoBank Class Referencefinal

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

#include <feedback.hpp>

Public Member Functions

float getFloat (size_t pinNumber) const
 If this numbered pin in this bank has an floating point (e.g., analog or PWM) value, returns that value; otherwise returns a default. More...
 
int64_t getInt (size_t pinNumber) const
 If this numbered pin in this bank has an integer (e.g., digital) value, returns that value; otherwise returns a default. More...
 
bool hasFloat (size_t pinNumber) const
 True if (and only if) the particular numbered pin in this bank has an floating point (e.g., analog or PWM) value. More...
 
bool hasInt (size_t pinNumber) const
 True if (and only if) the particular numbered pin in this bank has an integer (e.g., digital) value. More...
 
 IoBank (HebiFeedbackPtr internal, HebiFeedbackIoPinBank bank)
 

Private Member Functions

 HEBI_DISABLE_COPY_MOVE (IoBank)
 

Private Attributes

HebiFeedbackIoPinBank const bank_
 
HebiFeedbackPtr const internal_
 

Detailed Description

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

Definition at line 360 of file feedback.hpp.

Constructor & Destructor Documentation

hebi::Feedback::IoBank::IoBank ( HebiFeedbackPtr  internal,
HebiFeedbackIoPinBank  bank 
)

Definition at line 170 of file feedback.cpp.

Member Function Documentation

float hebi::Feedback::IoBank::getFloat ( size_t  pinNumber) const

If this numbered pin in this bank has an floating point (e.g., analog or PWM) value, returns that value; otherwise returns a default.

Parameters
pinNumberWhich pin to get; valid values for pinNumber depend on the bank.

Definition at line 192 of file feedback.cpp.

int64_t hebi::Feedback::IoBank::getInt ( size_t  pinNumber) const

If this numbered pin in this bank has an integer (e.g., digital) value, returns that value; otherwise returns a default.

Parameters
pinNumberWhich pin to get; valid values for pinNumber depend on the bank.

Definition at line 185 of file feedback.cpp.

bool hebi::Feedback::IoBank::hasFloat ( size_t  pinNumber) const

True if (and only if) the particular numbered pin in this bank has an floating point (e.g., analog or PWM) value.

Parameters
pinNumberWhich pin to check; valid values for pinNumber depend on the bank.

Definition at line 180 of file feedback.cpp.

bool hebi::Feedback::IoBank::hasInt ( size_t  pinNumber) const

True if (and only if) the particular numbered pin in this bank has an integer (e.g., digital) value.

Parameters
pinNumberWhich pin to check; valid values for pinNumber depend on the bank.

Definition at line 175 of file feedback.cpp.

hebi::Feedback::IoBank::HEBI_DISABLE_COPY_MOVE ( IoBank  )
private

Member Data Documentation

HebiFeedbackIoPinBank const hebi::Feedback::IoBank::bank_
private

Definition at line 394 of file feedback.hpp.

HebiFeedbackPtr const hebi::Feedback::IoBank::internal_
private

Definition at line 393 of file feedback.hpp.


The documentation for this class was generated from the following files:


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:10:59