libgpiod
|
Stores a set of options passed to the kernel when making a line request. More...
#include <request-config.hpp>
Public Member Functions | |
request_config () | |
Constructor. More... | |
request_config (const request_config &other)=delete | |
request_config (request_config &&other) noexcept | |
Move constructor. More... | |
~request_config () | |
request_config & | operator= (request_config &&other) noexcept |
Move assignment operator. More... | |
request_config & | set_consumer (const ::std::string &consumer) noexcept |
Set the consumer name. More... | |
::std::string | consumer () const noexcept |
Get the consumer name. More... | |
request_config & | set_event_buffer_size (::std::size_t event_buffer_size) noexcept |
Set the size of the kernel event buffer. More... | |
::std::size_t | event_buffer_size () const noexcept |
Get the edge event buffer size from this request config. More... | |
Stores a set of options passed to the kernel when making a line request.
gpiod::request_config::request_config | ( | ) |
Constructor.
|
delete |
|
noexcept |
Move constructor.
other | Object to move. |
gpiod::request_config::~request_config | ( | ) |
|
noexcept |
Get the consumer name.
|
noexcept |
Get the edge event buffer size from this request config.
|
noexcept |
Move assignment operator.
other | Object to move. |
|
noexcept |
Set the consumer name.
consumer | New consumer name. |
|
noexcept |
Set the size of the kernel event buffer.
event_buffer_size | New event buffer size. |