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);
Contains a set of line config options used in line requests and reconfiguration.
line_config(line_config &&other) noexcept
Move constructor.
line_config & reset() noexcept
Reset the line config object.
::std::map< line::offset, line_settings > get_line_settings() const
Get a mapping of offsets to line settings stored by this object.
line_config & add_line_settings(line::offset offset, const line_settings &settings)
Add line settings for a single offset.
line_config & operator=(line_config &&other) noexcept
Move assignment operator.
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.
Stores GPIO line settings.
Intermediate object storing the configuration for a line request.
::std::vector< value > values
Vector of line values.
::std::vector< offset > offsets
Vector of line offsets.