JULEA
|
Data Structures | |
struct | JBatch |
struct | JBatchAsync |
Typedefs | |
typedef struct JBatch | JBatch |
typedef void(* | JBatchAsyncCallback) (JBatch *, gboolean, gpointer) |
typedef struct JBatchAsync | JBatchAsync |
Functions | |
G_END_DECLS G_BEGIN_DECLS JBatch * | j_batch_new (JSemantics *semantics) |
JBatch * | j_batch_new_for_template (JSemanticsTemplate template) |
JBatch * | j_batch_ref (JBatch *batch) |
void | j_batch_unref (JBatch *batch) |
JSemantics * | j_batch_get_semantics (JBatch *batch) |
gboolean | j_batch_execute (JBatch *batch) G_GNUC_WARN_UNUSED_RESULT |
void | j_batch_execute_async (JBatch *batch, JBatchAsyncCallback callback, gpointer user_data) |
void | j_batch_wait (JBatch *batch) |
typedef struct JBatchAsync JBatchAsync |
typedef void(* JBatchAsyncCallback) (JBatch *, gboolean, gpointer) |
gboolean j_batch_execute | ( | JBatch * | batch | ) |
Executes the batch.
batch | A batch. |
void j_batch_execute_async | ( | JBatch * | batch, |
JBatchAsyncCallback | callback, | ||
gpointer | user_data | ||
) |
Executes the batch asynchronously.
batch | A batch. |
callback | An async callback. |
user_data | Arguments specified by the user for the callback. |
JSemantics * j_batch_get_semantics | ( | JBatch * | batch | ) |
Returns a batch's semantics.
batch | A batch. |
JBatch * j_batch_new | ( | JSemantics * | semantics | ) |
Creates a new batch.
semantics | A semantics object. |
JBatch * j_batch_new_for_template | ( | JSemanticsTemplate | template | ) |
Creates a new batch for a semantics template.
template | A semantics template. |
Increases the batch's reference count.
batch | A batch. |
void j_batch_unref | ( | JBatch * | batch | ) |
Decreases the batch's reference count. When the reference count reaches zero, frees the memory allocated for the batch.
batch | A batch. |
void j_batch_wait | ( | JBatch * | batch | ) |
Wait for an asynchronous batch to finish.
batch | A batch. |