Interface

OmniSourceSnapshot

Description

interface Omni.SourceSnapshot : GObject.Object

No description available.

Prerequisite

In order to implement SourceSnapshot, your type must inherit fromGObject.

Instance methods

omni_source_snapshot_get_stale

Get a flag indicating whether this snapshot has become out-of-date due to changes in the input source state.

omni_source_snapshot_emit_stale_changed

Emit a stale-changed signal.

omni_source_snapshot_get_num_ports

Get the number of available ports.

omni_source_snapshot_dup_port_attributes

Get the port attribute set (variant of type a{sv}) of the port at the specified index.

omni_source_snapshot_plan_async

Create an Omni.SourcePlan object to serve given links for each port.

omni_source_snapshot_plan_finish
No description available.

Signals

Omni.SourceSnapshot::stale-changed

Emitted when the return value of get_stale might have changed.

Interface structure

struct OmniSourceSnapshotIface {
  gboolean (* get_stale) (
    OmniSourceSnapshot* self
  );
  guint (* get_num_ports) (
    OmniSourceSnapshot* self
  );
  GVariant* (* dup_port_attributes) (
    OmniSourceSnapshot* self,
    guint i
  );
  void (* plan_async) (
    OmniSourceSnapshot* self,
    GPtrArray* port_link_sets,
    OmniSourcePlanContext* context,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  );
  OmniSourcePlan* (* plan_finish) (
    OmniSourceSnapshot* self,
    GAsyncResult* _res_,
    GError** error
  );
  
}

No description available.

Interface members
get_stale
gboolean (* get_stale) (
    OmniSourceSnapshot* self
  )
 

No description available.

get_num_ports
guint (* get_num_ports) (
    OmniSourceSnapshot* self
  )
 

No description available.

dup_port_attributes
GVariant* (* dup_port_attributes) (
    OmniSourceSnapshot* self,
    guint i
  )
 

No description available.

plan_async
void (* plan_async) (
    OmniSourceSnapshot* self,
    GPtrArray* port_link_sets,
    OmniSourcePlanContext* context,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  )
 

No description available.

plan_finish
OmniSourcePlan* (* plan_finish) (
    OmniSourceSnapshot* self,
    GAsyncResult* _res_,
    GError** error
  )
 

No description available.

Virtual methods

Omni.SourceSnapshot.get_stale

Get a flag indicating whether this snapshot has become out-of-date due to changes in the input source state.

Omni.SourceSnapshot.get_num_ports

Get the number of available ports.

Omni.SourceSnapshot.dup_port_attributes

Get the port attribute set (variant of type a{sv}) of the port at the specified index.

Omni.SourceSnapshot.plan_async

Create an Omni.SourcePlan object to serve given links for each port.

Omni.SourceSnapshot.plan_finish
No description available.