Immutable object containing data about a single line info event.
More...
#include <info-event.hpp>
Immutable object containing data about a single line info event.
Definition at line 34 of file info-event.hpp.
Types of info events.
Enumerator |
---|
LINE_REQUESTED |
Line has been requested.
|
LINE_RELEASED |
Previously requested line has been released.
|
LINE_CONFIG_CHANGED |
Line configuration has changed.
|
Definition at line 41 of file info-event.hpp.
gpiod::info_event::info_event |
( |
const info_event & |
other | ) |
|
Copy constructor.
- Parameters
-
gpiod::info_event::info_event |
( |
info_event && |
other | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
const line_info& gpiod::info_event::get_line_info |
( |
| ) |
const |
|
noexcept |
Get the new line information.
- Returns
- Constant reference to the line info object containing the line data as read at the time of the info event.
Copy assignment operator.
- Parameters
-
- Returns
- Reference to self.
Move assignment operator.
- Parameters
-
- Returns
- Reference to self.
::std::uint64_t gpiod::info_event::timestamp_ns |
( |
| ) |
const |
|
noexcept |
Timestamp of the event as returned by the kernel.
- Returns
- Timestamp as a 64-bit unsigned integer.
Type of this event.
- Returns
- Event type.
The documentation for this class was generated from the following file: