Class

AgsTaskLauncher

Description

class Ags.TaskLauncher : GObject.Object {
  gobject: GObject,
  flags: guint,
  connectable_flags: guint,
  obj_mutex: GRecMutex,
  uuid: AgsUUID*,
  main_context: GMainContext*,
  task: GList*,
  cyclic_task: GList*,
  is_running: volatile gboolean,
  wait_count: volatile gint,
  wait_mutex: GMutex,
  wait_cond: GCond
}
No description available.

Ancestors

Implements

Constructors

ags_task_launcher_new

Create a new AgsTaskLauncher.

since: 3.0.0

Instance methods

ags_task_launcher_add_cyclic_task

Add cyclic_task to task_launcher.

since: 3.0.0

ags_task_launcher_add_task

Add task to task_launcher.

since: 3.0.0

ags_task_launcher_add_task_all

Add all list to task_launcher.

since: 3.0.0

ags_task_launcher_attach

Attach task_launcher to main_context.

since: 3.0.0

ags_task_launcher_remove_cyclic_task

Remove cyclic_task from task_launcher.

since: 3.0.0

ags_task_launcher_run

Run tasks.

since: 3.0.0

ags_task_launcher_sync_run

Sync run tasks.

since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from AgsConnectable (13)
ags_connectable_add_to_registry

Add connectable to registry.

since: 3.0.0

ags_connectable_connect

Connect the connectable.

since: 3.0.0

ags_connectable_connect_connection

Disconnect the connectable.

since: 3.0.0

ags_connectable_disconnect

Disconnect the connectable.

since: 3.0.0

ags_connectable_disconnect_connection

Disconnect the connectable.

since: 3.0.0

ags_connectable_get_uuid

Get UUID of connectable.

since: 3.0.0

ags_connectable_has_resource

Check the connectable to have resources.

since: 3.0.0

ags_connectable_is_connected

Check if the connectable was connected.

since: 3.0.0

ags_connectable_is_ready

Connect the connectable.

since: 3.0.0

ags_connectable_list_resource

List resources as an XML element and return it.

since: 3.0.0

ags_connectable_remove_from_registry

Remove connectable from registry.

since: 3.0.0

ags_connectable_xml_compose

Compose an XML element and return it.

since: 3.0.0

ags_connectable_xml_parse

Parse node as XML element and apply it.

since: 3.0.0

Properties

Ags.TaskLauncher:cyclic-task

The assigned cyclic AgsTask to launch.

since: 3.0.0

Ags.TaskLauncher:task

The assigned AgsTask to launch.

since: 3.0.0

Signals

Ags.TaskLauncher::run

The ::run signal is invoked to run AgsTaskLauncher:task.

since: 3.0.0

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.

Class structure

struct AgsTaskLauncherClass {
  GObjectClass gobject;
  void (* run) (
    AgsTaskLauncher* task_launcher
  );
  
}
No description available.
Class members
gobject: GObjectClass
No description available.
run: void (* run) ( AgsTaskLauncher* task_launcher )
No description available.

Virtual methods

Ags.TaskLauncherClass.run

Run tasks.

since: 3.0.0