Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_LV2_WORKER_GET_OBJ_MUTEX() |
#define | AGS_LV2_WORKER_RESPONSE_DATA() |
gboolean | ags_lv2_worker_test_flags () |
void | ags_lv2_worker_set_flags () |
void | ags_lv2_worker_unset_flags () |
AgsLv2WorkerResponseData * | ags_lv2_worker_alloc_response_data () |
void | ags_lv2_worker_free_response_data () |
LV2_Worker_Status | ags_lv2_worker_respond () |
LV2_Worker_Status | ags_lv2_worker_schedule_work () |
void | ags_lv2_worker_do_poll () |
AgsLv2Worker * | ags_lv2_worker_new () |
#define | AGS_IS_LV2_WORKER() |
#define | AGS_IS_LV2_WORKER_CLASS() |
#define | AGS_LV2_WORKER() |
#define | AGS_LV2_WORKER_CLASS() |
#define | AGS_LV2_WORKER_GET_CLASS() |
GType | ags_lv2_worker_flags_get_type () |
GType | ags_lv2_worker_get_type () |
gpointer | handle | Read / Write |
gpointer | response-data | Read / Write |
gpointer | work-data | Read / Write |
guint | work-size | Read / Write |
AgsWorkerThread * | worker-thread | Read / Write |
enum | AgsLv2WorkerFlags |
struct | AgsLv2WorkerResponseData |
#define | AGS_TYPE_LV2_WORKER |
struct | AgsLv2Worker |
struct | AgsLv2WorkerClass |
#define AGS_LV2_WORKER_GET_OBJ_MUTEX(obj) (&(((AgsLv2Worker *) obj)->obj_mutex))
#define AGS_LV2_WORKER_RESPONSE_DATA(ptr) ((AgsLv2WorkerResponseData *)(ptr))
gboolean ags_lv2_worker_test_flags (AgsLv2Worker *lv2_worker
,guint flags
);
Test flags
to be set on recall
.
Since: 3.0.0
void ags_lv2_worker_set_flags (AgsLv2Worker *lv2_worker
,guint flags
);
Set flags.
Since: 3.0.0
void ags_lv2_worker_unset_flags (AgsLv2Worker *lv2_worker
,guint flags
);
Unset flags.
Since: 3.0.0
AgsLv2WorkerResponseData * ags_lv2_worker_alloc_response_data ();
Allocate a new AgsLv2WorkerResponseData.
Since: 3.0.0
void
ags_lv2_worker_free_response_data (AgsLv2WorkerResponseData *response_data
);
Free response_data
.
Since: 3.0.0
LV2_Worker_Status ags_lv2_worker_respond (LV2_Worker_Respond_Handle handle
,uint32_t data_size
,const void *data
);
Respond lv2 worker handle
.
Since: 3.0.0
LV2_Worker_Status ags_lv2_worker_schedule_work (LV2_Worker_Schedule_Handle handle
,uint32_t data_size
,const void *data
);
Schedule work of lv2 worker handle
.
Since: 3.0.0
void ags_lv2_worker_do_poll (AgsWorkerThread *worker_thread
,gpointer data
);
Safe run callback.
Since: 3.0.0
AgsLv2Worker * ags_lv2_worker_new ();
Create a new instance of AgsLv2Worker.
Since: 3.0.0
#define AGS_IS_LV2_WORKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LV2_WORKER))
#define AGS_IS_LV2_WORKER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_LV2_WORKER))
#define AGS_LV2_WORKER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LV2_WORKER, AgsLv2Worker))
#define AGS_LV2_WORKER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LV2_WORKER, AgsLv2WorkerClass))
#define AGS_LV2_WORKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LV2_WORKER, AgsLv2WorkerClass))
Enum values to control the behavior or indicate internal state of AgsLv2Worker by enable/disable as flags.
struct AgsLv2WorkerResponseData { uint32_t data_size; void *data; };
“handle”
property“handle” gpointer
The assigned LV2_Handle
Owner: AgsLv2Worker
Flags: Read / Write
Since: 3.0.0
“response-data”
property“response-data” gpointer
The assigned GList containing AgsLv2WorkerResponseData
Owner: AgsLv2Worker
Flags: Read / Write
Since: 3.0.0
“work-data”
property“work-data” gpointer
The assigned work data
Owner: AgsLv2Worker
Flags: Read / Write
Since: 3.0.0
“work-size”
property“work-size” guint
The work size.
Owner: AgsLv2Worker
Flags: Read / Write
Default value: 0
Since: 3.0.0
“worker-thread”
property“worker-thread” AgsWorkerThread *
The assigned worker-thread.
Owner: AgsLv2Worker
Flags: Read / Write
Since: 3.0.0