|
libgpiod
|
Represents an immutable snapshot of GPIO chip information. More...
#include <chip-info.hpp>
Public Member Functions | |
| chip_info (const chip_info &other) | |
| Copy constructor. | |
| chip_info (chip_info &&other) noexcept | |
| Move constructor. | |
| ~chip_info () | |
| chip_info & | operator= (const chip_info &other) |
| Assignment operator. | |
| chip_info & | operator= (chip_info &&other) noexcept |
| Move assignment operator. | |
| ::std::string | name () const noexcept |
| Get the name of this GPIO chip. | |
| ::std::string | label () const noexcept |
| Get the label of this GPIO chip. | |
| ::std::size_t | num_lines () const noexcept |
| Return the number of lines exposed by this chip. | |
Represents an immutable snapshot of GPIO chip information.
| gpiod::chip_info::chip_info | ( | const chip_info & | other | ) |
Copy constructor.
| other | Object to copy. |
|
noexcept |
Move constructor.
| other | Object to move. |
| gpiod::chip_info::~chip_info | ( | ) |
|
noexcept |
Get the label of this GPIO chip.
|
noexcept |
Get the name of this GPIO chip.
|
noexcept |
Return the number of lines exposed by this chip.
Move assignment operator.
| other | Object to move. |
Assignment operator.
| other | Object to copy. |