8 #ifndef __LIBGPIOD_CXX_CHIP_INFO_HPP__
9 #define __LIBGPIOD_CXX_CHIP_INFO_HPP__
11 #if !defined(__LIBGPIOD_GPIOD_CXX_INSIDE__)
12 #error "Only gpiod.hpp can be included directly."
61 ::std::string
name()
const noexcept;
67 ::std::string
label()
const noexcept;
81 ::std::shared_ptr<impl> _m_priv;
Definition: chip-info.hpp:18
Represents an immutable snapshot of GPIO chip information.
Definition: chip-info.hpp:25
::std::ostream & operator<<(::std::ostream &out, const chip_info &chip)
Stream insertion operator for GPIO chip objects.
chip_info & operator=(const chip_info &other)
Assignment operator.
::std::size_t num_lines() const noexcept
Return the number of lines exposed by this chip.
Represents a GPIO chip.
Definition: chip.hpp:36
::std::string label() const noexcept
Get the label of this GPIO chip.
::std::string name() const noexcept
Get the name of this GPIO chip.