Interface
HinokoFwIsoCtx
since: 1.0
Description [src]
interface Hinoko.FwIsoCtx : GObject.Object
A set of basic interfaces to operate isochronous context on 1394 OHCI hardware.
HinokoFwIsoCtx
includes interfaces to operate 1394 OHCI hardware for isochronous communication
by any kind of contexts.
Available since: 1.0
Prerequisite
In order to implement FwIsoCtx, your type must inherit fromGObject
.
Instance methods
hinoko_fw_iso_ctx_create_source
Create GSource
for GMainContext
to dispatch events for isochronous context.
since: 0.7
hinoko_fw_iso_ctx_flush_completions
Flush isochronous context until recent isochronous cycle. The call of function forces the context to queue any type of interrupt event for the recent isochronous cycle. Application can process the content of isochronous packet without waiting for actual hardware interrupt.
since: 0.7
hinoko_fw_iso_ctx_read_cycle_time
Retrieve the value of cycle time register. This method call is available once any isochronous context is created.
since: 1.0
hinoko_fw_iso_ctx_unmap_buffer
Unmap intermediate buffer shared with 1394 OHCI hardware for the context.
since: 0.7
Interface structure
struct HinokoFwIsoCtxInterface {
GTypeInterface parent_iface;
void (* stop) (
HinokoFwIsoCtx* self
);
void (* unmap_buffer) (
HinokoFwIsoCtx* self
);
void (* release) (
HinokoFwIsoCtx* self
);
gboolean (* read_cycle_time) (
HinokoFwIsoCtx* self,
gint clock_id,
HinawaCycleTime** cycle_time,
GError** error
);
gboolean (* flush_completions) (
HinokoFwIsoCtx* self,
GError** error
);
gboolean (* create_source) (
HinokoFwIsoCtx* self,
GSource** source,
GError** error
);
void (* stopped) (
HinokoFwIsoCtx* self,
const GError* error
);
}
Interface members
parent_iface |
|
No description available. | |
stop |
|
No description available. | |
unmap_buffer |
|
No description available. | |
release |
|
No description available. | |
read_cycle_time |
|
No description available. | |
flush_completions |
|
No description available. | |
create_source |
|
No description available. | |
stopped |
|
No description available. |
Virtual methods
Hinoko.FwIsoCtx.create_source
Create GSource
for GMainContext
to dispatch events for isochronous context.
since: 0.7
Hinoko.FwIsoCtx.flush_completions
Flush isochronous context until recent isochronous cycle. The call of function forces the context to queue any type of interrupt event for the recent isochronous cycle. Application can process the content of isochronous packet without waiting for actual hardware interrupt.
since: 0.7
Hinoko.FwIsoCtx.read_cycle_time
Retrieve the value of cycle time register. This method call is available once any isochronous context is created.
since: 1.0
Hinoko.FwIsoCtx.unmap_buffer
Unmap intermediate buffer shared with 1394 OHCI hardware for the context.
since: 0.7