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. More... | |
chip_info (chip_info &&other) noexcept | |
Move constructor. More... | |
~chip_info () | |
chip_info & | operator= (const chip_info &other) |
Assignment operator. More... | |
chip_info & | operator= (chip_info &&other) noexcept |
Move assignment operator. More... | |
::std::string | name () const noexcept |
Get the name of this GPIO chip. More... | |
::std::string | label () const noexcept |
Get the label of this GPIO chip. More... | |
::std::size_t | num_lines () const noexcept |
Return the number of lines exposed by this chip. More... | |
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.
Assignment operator.
other | Object to copy. |
Move assignment operator.
other | Object to move. |