8 #ifndef __LIBGPIOD_CXX_REQUEST_CONFIG_HPP__
9 #define __LIBGPIOD_CXX_REQUEST_CONFIG_HPP__
11 #if !defined(__LIBGPIOD_GPIOD_CXX_INSIDE__)
12 #error "Only gpiod.hpp can be included directly."
72 ::std::string
consumer()
const noexcept;
93 ::std::shared_ptr<impl> _m_priv;
106 ::std::ostream& operator<<(::std::ostream& out,
const request_config& config);
Intermediate object storing the configuration for a line request.
request_config()
Constructor.
::std::string consumer() const noexcept
Get the consumer name.
request_config & set_event_buffer_size(::std::size_t event_buffer_size) noexcept
Set the size of the kernel event buffer.
Stores a set of options passed to the kernel when making a line request.
request_config & set_consumer(const ::std::string &consumer) noexcept
Set the consumer name.
request_config & operator=(request_config &&other) noexcept
Move assignment operator.
::std::size_t event_buffer_size() const noexcept
Get the edge event buffer size from this request config.