Interface

OmniTransformerState

Description

interface Omni.TransformerState : GObject.Object

The interface implemented by transformer state types.

Prerequisite

In order to implement TransformerState, your type must inherit fromGObject.

Instance methods

omni_transformer_state_init_async

Initialize the state.

omni_transformer_state_init_finish
No description available.

omni_transformer_state_deserialize_from_async

Deserialize the state from the specified byte sequence.

omni_transformer_state_serialize_async

Serialize the current state to the specified byte storage.

omni_transformer_state_serialize_finish
No description available.

omni_transformer_state_copy_from_async

Copy the internal state from another instance of OmniTransformerState.

omni_transformer_state_copy_from_finish
No description available.

omni_transformer_state_take_from_async

Move the internal state from another instance of OmniTransformerState.

omni_transformer_state_take_from_finish
No description available.

omni_transformer_state_transform_uniform_async

Produce output batches for a certain time range.

Interface structure

struct OmniTransformerStateIface {
  void (* init_async) (
    OmniTransformerState* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  );
  void (* init_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* deserialize_from_async) (
    OmniTransformerState* self,
    GBytes* buffer,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  );
  void (* deserialize_from_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* serialize_async) (
    OmniTransformerState* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  );
  GBytes* (* serialize_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* copy_from_async) (
    OmniTransformerState* self,
    OmniTransformerState* source_state,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  );
  void (* copy_from_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* take_from_async) (
    OmniTransformerState* self,
    OmniTransformerState* source_state,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  );
  void (* take_from_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* transform_uniform_async) (
    OmniTransformerState* self,
    OmniTransformUniformContext* context,
    OmniTransformerContext* transformer_context,
    OmniPipelineSnapshot* snapshot,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  );
  void (* transform_uniform_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  );
  
}

No description available.

Interface members
init_async
void (* init_async) (
    OmniTransformerState* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  )
 

No description available.

init_finish
void (* init_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  )
 

No description available.

deserialize_from_async
void (* deserialize_from_async) (
    OmniTransformerState* self,
    GBytes* buffer,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  )
 

No description available.

deserialize_from_finish
void (* deserialize_from_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  )
 

No description available.

serialize_async
void (* serialize_async) (
    OmniTransformerState* self,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  )
 

No description available.

serialize_finish
GBytes* (* serialize_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  )
 

No description available.

copy_from_async
void (* copy_from_async) (
    OmniTransformerState* self,
    OmniTransformerState* source_state,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  )
 

No description available.

copy_from_finish
void (* copy_from_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  )
 

No description available.

take_from_async
void (* take_from_async) (
    OmniTransformerState* self,
    OmniTransformerState* source_state,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  )
 

No description available.

take_from_finish
void (* take_from_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  )
 

No description available.

transform_uniform_async
void (* transform_uniform_async) (
    OmniTransformerState* self,
    OmniTransformUniformContext* context,
    OmniTransformerContext* transformer_context,
    OmniPipelineSnapshot* snapshot,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    void* user_data
  )
 

No description available.

transform_uniform_finish
void (* transform_uniform_finish) (
    OmniTransformerState* self,
    GAsyncResult* _res_,
    GError** error
  )
 

No description available.

Virtual methods

Omni.TransformerState.init_async

Initialize the state.

Omni.TransformerState.init_finish
No description available.

Omni.TransformerState.deserialize_from_async

Deserialize the state from the specified byte sequence.

Omni.TransformerState.serialize_async

Serialize the current state to the specified byte storage.

Omni.TransformerState.serialize_finish
No description available.

Omni.TransformerState.copy_from_async

Copy the internal state from another instance of OmniTransformerState.

Omni.TransformerState.copy_from_finish
No description available.

Omni.TransformerState.take_from_async

Move the internal state from another instance of OmniTransformerState.

Omni.TransformerState.take_from_finish
No description available.

Omni.TransformerState.transform_uniform_async

Produce output batches for a certain time range.