8 #ifndef __LIBGPIOD_CXX_EDGE_EVENT_HPP__
9 #define __LIBGPIOD_CXX_EDGE_EVENT_HPP__
11 #if !defined(__LIBGPIOD_GPIOD_CXX_INSIDE__)
12 #error "Only gpiod.hpp can be included directly."
23 class edge_event_buffer;
111 struct impl_external;
113 ::std::shared_ptr<impl> _m_priv;
124 ::std::ostream& operator<<(::std::ostream& out, const edge_event& event);
Definition: chip-info.hpp:18
line::offset line_offset() const noexcept
Read the offset of the line on which this event was registered.
timestamp timestamp_ns() const noexcept
Retrieve the event time-stamp.
Immutable object containing data about a single edge event.
Definition: edge-event.hpp:28
unsigned long global_seqno() const noexcept
Get the global sequence number of this event.
Stores the edge and info event timestamps as returned by the kernel and allows to convert them to std...
Definition: timestamp.hpp:24
event_type
Edge event types.
Definition: edge-event.hpp:35
event_type type() const
Retrieve the event type.
Object into which edge events are read for better performance.
Definition: edge-event-buffer.hpp:32
unsigned long line_seqno() const noexcept
Get the event sequence number specific to the concerned line.