Class

AgsGenericMainLoop

Description

class Ags.GenericMainLoop : Ags.Thread {
  thread: AgsThread,
  tree_lock: GRecMutex,
  is_syncing: volatile gboolean,
  is_critical_region: volatile gboolean,
  critical_region_ref: volatile guint
}
No description available.

Ancestors

Constructors

ags_generic_main_loop_new

Create a new AgsGenericMainLoop.

since: 3.0.0

Instance methods

Methods inherited from AgsThread (45)

Please see AgsThread for a full list of methods.

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

Methods inherited from AgsMainLoop (9)
ags_main_loop_change_frequency

Change frequency.

since: 3.0.0

ags_main_loop_dec_queued_critical_region

Decrement thread needs access to main loop’s critical region field.

since: 3.0.0

ags_main_loop_get_tree_lock

Retrieve the tree mutex.

since: 3.0.0

ags_main_loop_inc_queued_critical_region

Increment thread needs access to main loop’s critical region field.

since: 3.0.0

ags_main_loop_is_critical_region

Check if main loop is in critical region.

since: 3.0.0

ags_main_loop_is_syncing

Check if thread tree is syncing.

since: 3.0.0

ags_main_loop_set_critical_region

Set main loop is in critical region.

since: 3.0.0

ags_main_loop_set_syncing

Set thread tree is syncing.

since: 3.0.0

ags_main_loop_test_queued_critical_region

Test main loop may enter critical region.

since: 3.0.0

Properties

Properties inherited from AgsThread (3)
Ags.Thread:delay

The delay until next tic.

since: 3.0.0

Ags.Thread:frequency

The frequency to run at in Hz.

since: 3.0.0

Ags.Thread:max-precision

The max-frequency to run at in Hz.

since: 3.0.0

Signals

Signals inherited from AgsThread (4)
AgsThread::clock

The ::clock() signal is invoked every thread tic.

since: 3.0.0

AgsThread::run

The ::run() signal is invoked during run loop.

since: 3.0.0

AgsThread::start

The ::start() signal is invoked as thread started.

since: 3.0.0

AgsThread::stop

The ::stop() signal is invoked as thread stopped.

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.

Signals inherited from AgsMainLoop (1)
AgsMainLoop::change-frequency

Change frequency.

since: 3.0.0

Class structure

struct AgsGenericMainLoopClass {
  AgsThreadClass thread;
  
}
No description available.
Class members
thread: AgsThreadClass
No description available.