|
libgpiod
|
Immutable object containing data about a single line info event. More...
#include <info-event.hpp>
Public Types | |
| enum | event_type { event_type::LINE_REQUESTED = 1, event_type::LINE_RELEASED, event_type::LINE_CONFIG_CHANGED } |
| Types of info events. More... | |
Public Member Functions | |
| info_event (const info_event &other) | |
| Copy constructor. More... | |
| info_event (info_event &&other) noexcept | |
| Move constructor. More... | |
| ~info_event () | |
| info_event & | operator= (const info_event &other) |
| Copy assignment operator. More... | |
| info_event & | operator= (info_event &&other) noexcept |
| Move assignment operator. More... | |
| event_type | type () const |
| Type of this event. More... | |
| ::std::uint64_t | timestamp_ns () const noexcept |
| Timestamp of the event as returned by the kernel. More... | |
| const line_info & | get_line_info () const noexcept |
| Get the new line information. More... | |
Immutable object containing data about a single line info event.
|
strong |
| gpiod::info_event::info_event | ( | const info_event & | other | ) |
Copy constructor.
| other | Object to copy. |
|
noexcept |
Move constructor.
| other | Object to move. |
| gpiod::info_event::~info_event | ( | ) |
|
noexcept |
Get the new line information.
| info_event& gpiod::info_event::operator= | ( | const info_event & | other | ) |
Copy assignment operator.
| other | Object to copy. |
|
noexcept |
Move assignment operator.
| other | Object to move. |
|
noexcept |
Timestamp of the event as returned by the kernel.
| event_type gpiod::info_event::type | ( | ) | const |
Type of this event.
1.8.10