Advanced Gtk+ Sequencer Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <ags/object/ags_main_loop.h> typedef AgsMainLoop; struct AgsMainLoopInterface;AgsAsyncQueue * ags_main_loop_get_async_queue (AgsMainLoop *main_loop
);guint ags_main_loop_get_last_sync (AgsMainLoop *main_loop
);guint ags_main_loop_get_tic (AgsMainLoop *main_loop
);void ags_main_loop_set_async_queue (AgsMainLoop *main_loop
,);
AgsAsyncQueue *async_queuevoid ags_main_loop_set_last_sync (AgsMainLoop *main_loop
,);
guint last_syncvoid ags_main_loop_set_tic (AgsMainLoop *main_loop
,);
guint tic
The AgsMainLoop interface gives you a unique access to toplevel threads and has to be implemented for it.
struct AgsMainLoopInterface { GTypeInterface interface; void (*set_async_queue)(AgsMainLoop *main_loop, AgsAsyncQueue *async_queue); AgsAsyncQueue* (*get_async_queue)(AgsMainLoop *main_loop); void (*set_tic)(AgsMainLoop *main_loop, guint tic); guint (*get_tic)(AgsMainLoop *main_loop); void (*set_last_sync)(AgsMainLoop *main_loop, guint last_sync); guint (*get_last_sync)(AgsMainLoop *main_loop); };
AgsAsyncQueue * ags_main_loop_get_async_queue (AgsMainLoop *main_loop
);
Retrieve the
|
the AgsMainLoop |
Returns : |
the |
Since 0.4
guint ags_main_loop_get_last_sync (AgsMainLoop *main_loop
);
Retrieve last sync as tic of synchronization context.
|
the AgsMainLoop |
Returns : |
last synced tic |
Since 0.4
guint ags_main_loop_get_tic (AgsMainLoop *main_loop
);
Retrieve current tic of synchronization context.
|
the AgsMainLoop |
Returns : |
current tic |
Since 0.4
void ags_main_loop_set_async_queue (AgsMainLoop *main_loop
,);
AgsAsyncQueue *async_queue
Sets the asynchronous queue.
|
the AgsMainLoop |
|
the |
Since 0.4
void ags_main_loop_set_last_sync (AgsMainLoop *main_loop
,);
guint last_sync
Sets last sync to last_sync
.
|
the AgsMainLoop |
|
last sync |
Since 0.4
void ags_main_loop_set_tic (AgsMainLoop *main_loop
,);
guint tic
Sets tic to tic
.
|
the AgsMainLoop |
|
tic |
Since 0.4