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;
116 struct impl_external;
118 ::std::shared_ptr<impl> _m_priv;
129 ::std::ostream& operator<<(::std::ostream& out, const edge_event& event);
This is a rising edge event.
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.
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...
event_type
Edge event types.
This is falling edge event.
event_type type() const
Retrieve the event type.
Object into which edge events are read for better performance.
unsigned long line_seqno() const noexcept
Get the event sequence number specific to the concerned line.