Hinoko.FwIsoResourceAuto¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The allocated amount of bandwidth. |
||
r |
The allocated channel number. |
||
r |
Whether to allocate or not. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Hinoko.FwIsoResourceAuto(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An object to maintain allocated isochronous resource. [class`FwIsoResourceAuto`]is an object to maintain isochronous resource during the lifetime of the object. The allocated isochronous resource is kept even if the generation of the bus updates. The maintenance of allocated isochronous resource is done by Linux FireWire subsystem.
- classmethod new()¶
- Returns:
A [class`FwIsoResourceAuto`]
- Return type:
Allocate and return an instance of [class`FwIsoResourceAuto`]object.
- deallocate()¶
-
Initiate deallocation of isochronous resource. When the deallocation is done, [signal`FwIsoResource`:py:func:::deallocated<Hinoko.FwIsoResourceAuto.signals.deallocated>] signal is emit to notify the result, channel, and bandwidth.
New in version 1.0.
- deallocate_wait(timeout_ms)¶
- Parameters:
timeout_ms (
int
) – The timeout to wait for allocated event by milli second unit.- Raises:
- Returns:
True
if the overall operation finished successfully, otherwiseFalse
.- Return type:
Initiate deallocation of isochronous resource. When the deallocation is done, [signal`FwIsoResource`:py:func:::deallocated<Hinoko.FwIsoResourceAuto.signals.deallocated>] signal is emit to notify the result, channel, and bandwidth.
New in version 1.0.
Property Details¶
- Hinoko.FwIsoResourceAuto.props.bandwidth¶
-
The allocated amount of bandwidth.
New in version 0.7.
- Hinoko.FwIsoResourceAuto.props.channel¶
-
The allocated channel number.
New in version 0.7.