Represents an immutable snapshot of GPIO chip information.
More...
#include <chip-info.hpp>
Represents an immutable snapshot of GPIO chip information.
Definition at line 30 of file chip-info.hpp.
◆ chip_info() [1/2]
gpiod::chip_info::chip_info |
( |
const chip_info & |
other | ) |
|
Copy constructor.
- Parameters
-
◆ chip_info() [2/2]
gpiod::chip_info::chip_info |
( |
chip_info && |
other | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ label()
::std::string gpiod::chip_info::label |
( |
| ) |
const |
|
noexcept |
Get the label of this GPIO chip.
- Returns
- String containing the chip name.
◆ name()
::std::string gpiod::chip_info::name |
( |
| ) |
const |
|
noexcept |
Get the name of this GPIO chip.
- Returns
- String containing the chip name.
◆ num_lines()
::std::size_t gpiod::chip_info::num_lines |
( |
| ) |
const |
|
noexcept |
Return the number of lines exposed by this chip.
- Returns
- Number of lines.
◆ operator=() [1/2]
Move assignment operator.
- Parameters
-
- Returns
- Reference to self.
◆ operator=() [2/2]
Assignment operator.
- Parameters
-
- Returns
- Reference to self.
The documentation for this class was generated from the following file: