Class

GpiodglibInfoEvent

since: 1.0

Description

final class Gpiodglib.InfoEvent : GObject.Object
{
  /* No available fields */
}

GpiodglibInfoEvent contains information about the event itself (timestamp, type) as well as a snapshot of line’s status in the form of a line-info object.

Available since: 1.0

Ancestors

Instance methods

gpiodglib_info_event_get_event_type

Get the event type of the status change event.

since: 1.0

gpiodglib_info_event_get_line_info

self GpiodglibInfoEvent to manipulate. Get the snapshot of line-info associated with the event.

since: 1.0

gpiodglib_info_event_get_timestamp_ns

Get the timestamp of the event.

since: 1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Gpiodglib.InfoEvent:event-type

Type of the info event. One of GPIODGLIB_INFO_EVENT_LINE_REQUESTED, GPIODGLIB_INFO_EVENT_LINE_RELEASED or GPIODGLIB_INFO_EVENT_LINE_CONFIG_CHANGED.

since: 1.0

Gpiodglib.InfoEvent:line-info

New line-info snapshot associated with this info event.

since: 1.0

Gpiodglib.InfoEvent:timestamp-ns

Timestamp (in nanoseconds).

since: 1.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

Class structure

struct GpiodglibInfoEventClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.