Ufo.Group¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Ufo.Group(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Main object for organizing filters. The contents of the
Ufo.Group
structure are private and should only be accessed via the provided API.- classmethod new(targets, context, pattern)¶
- Parameters:
context (
object
orNone
) – A cl_context on which the targets should operate on.pattern (
Ufo.SendPattern
) – Pattern to distribute data among the targets
- Returns:
A new
Ufo.Group
.- Return type:
Create a new
Ufo.Group
.
- finish()¶
- pop_input_buffer(target)¶
- Parameters:
- Returns:
A buffer that must be released with
Ufo.Group.push_input_buffer
().- Return type:
- pop_output_buffer(requisition)¶
- Parameters:
requisition (
Ufo.Requisition
) – Size of the buffer.- Returns:
A newly allocated buffer or a re-used buffer that must be released with
Ufo.Group.push_output_buffer
().- Return type:
- push_input_buffer(target, input)¶
- Parameters:
target (
Ufo.Task
) –input (
Ufo.Buffer
) –
- push_output_buffer(buffer)¶
- Parameters:
buffer (
Ufo.Buffer
) –