8 #ifndef __LIBGPIOD_CXX_LINE_CONFIG_HPP__
9 #define __LIBGPIOD_CXX_LINE_CONFIG_HPP__
11 #if !defined(__LIBGPIOD_GPIOD_CXX_INSIDE__)
12 #error "Only gpiod.hpp can be included directly."
98 ::std::shared_ptr<impl> _m_priv;
112 ::std::ostream& operator<<(::std::ostream& out,
const line_config& config);
::std::map< line::offset, line_settings > get_line_settings() const
Get a mapping of offsets to line settings stored by this object.
line_config & set_output_values(const line::values &values)
Set output values for a number of lines.
Stores the context of a set of requested GPIO lines.
::std::vector< value > values
Vector of line values.
Intermediate object storing the configuration for a line request.
line_config & add_line_settings(line::offset offset, const line_settings &settings)
Add line settings for a single offset.
Contains a set of line config options used in line requests and reconfiguration.
line_config & reset() noexcept
Reset the line config object.
Stores GPIO line settings.
line_config & operator=(line_config &&other) noexcept
Move assignment operator.
::std::vector< offset > offsets
Vector of line offsets.
Wrapper around unsigned int for representing line offsets.