8 #ifndef __LIBGPIOD_CXX_INFO_EVENT_HPP__
9 #define __LIBGPIOD_CXX_INFO_EVENT_HPP__
11 #if !defined(__LIBGPIOD_GPIOD_CXX_INSIDE__)
12 #error "Only gpiod.hpp can be included directly."
104 ::std::shared_ptr<impl> _m_priv;
115 ::std::ostream& operator<<(::std::ostream& out, const
info_event& event);
Immutable object containing data about a single line info event.
const line_info & get_line_info() const noexcept
Get the new line information.
info_event(info_event &&other) noexcept
Move constructor.
info_event & operator=(const info_event &other)
Copy assignment operator.
event_type type() const
Type of this event.
info_event(const info_event &other)
Copy constructor.
event_type
Types of info events.
@ LINE_REQUESTED
Line has been requested.
@ LINE_RELEASED
Previously requested line has been released.
@ LINE_CONFIG_CHANGED
Line configuration has changed.
info_event & operator=(info_event &&other) noexcept
Move assignment operator.
::std::uint64_t timestamp_ns() const noexcept
Timestamp of the event as returned by the kernel.
Contains an immutable snapshot of the line's state at the time when the object of this class was inst...