Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_TASK_COMPLETION_GET_OBJ_MUTEX() |
pthread_mutex_t * | ags_task_completion_get_class_mutex () |
gboolean | ags_task_completion_test_flags () |
void | ags_task_completion_set_flags () |
void | ags_task_completion_unset_flags () |
void | ags_task_completion_complete () |
AgsTaskCompletion * | ags_task_completion_new () |
#define | AGS_IS_TASK_COMPLETION() |
#define | AGS_TASK_COMPLETION() |
#define | AGS_TASK_COMPLETION_CLASS() |
#define | AGS_TASK_COMPLETION_GET_CLASS() |
GType | ags_task_completion_get_type () |
enum | AgsTaskCompletionFlags |
#define | AGS_TYPE_TASK_COMPLETION |
struct | AgsTaskCompletion |
struct | AgsTaskCompletionClass |
#define AGS_TASK_COMPLETION_GET_OBJ_MUTEX(obj) (((AgsTaskCompletion *) obj)->obj_mutex)
pthread_mutex_t *
ags_task_completion_get_class_mutex ();
Use this function's returned mutex to access mutex fields.
Since: 2.0.0
gboolean ags_task_completion_test_flags (AgsTaskCompletion *task_completion
,guint flags
);
Test flags
to be set on task_completion
.
Since: 2.0.0
void ags_task_completion_set_flags (AgsTaskCompletion *task_completion
,guint flags
);
Enable a feature of AgsTaskCompletion.
Since: 2.0.0
void ags_task_completion_unset_flags (AgsTaskCompletion *task_completion
,guint flags
);
Disable a feature of AgsTaskCompletion.
Since: 2.0.0
void
ags_task_completion_complete (AgsTaskCompletion *task_completion
);
Emit ::complete signal
Since: 2.0.0
AgsTaskCompletion * ags_task_completion_new (GObject *task
,gpointer data
);
Create a new instance of AgsTaskCompletion.
Since: 2.0.0
#define AGS_IS_TASK_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TASK_COMPLETION))
#define AGS_TASK_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TASK_COMPLETION, AgsTaskCompletion))
#define AGS_TASK_COMPLETION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_TASK_COMPLETION, AgsTaskCompletionClass))
#define AGS_TASK_COMPLETION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_TASK_COMPLETION, AgsTaskCompletionClass))
Enum values to control the behavior or indicate internal state of AgsTaskCompletion by enable/disable as flags.
indicates the task completion was added to AgsRegistry |
||
indicates the task completion was connected by calling |
||
the assigned task has been queued |
||
the assigned task is busy |
||
the assigned task is ready |
||
the assigned task has been completed |
“complete”
signalvoid user_function (AgsTaskCompletion *task_completion, gpointer user_data)
The ::complete signal is emited as a task was finished
task_completion |
the object to complete. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0