Ufo.TaskNode¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
Number of processed elements |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Ufo.TaskNode(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Main object for organizing filters. The contents of the
Ufo.TaskNode
structure are private and should only be accessed via the provided API.- get_current_in_group(pos)¶
- Parameters:
pos (
int
) – Input position of self- Returns:
The current in group of self for pos.
- Return type:
Several nodes can be connected to input pos of self. However, at a time self will fetch only one buffer from all its inputs. This method returns the currently selected input group at pos.
- get_out_group()¶
- Returns:
The out group of self.
- Return type:
Get the current out of self. The out group is used to fetch the ouput buffer for self using
Ufo.Group.pop_output_buffer
().
- get_proc_node()¶
-
Get the associated processing node of self.
- get_profiler()¶
- Returns:
A
Ufo.Profiler
object.- Return type:
Get the associated profiler of self.
- get_send_pattern()¶
- Return type:
- increase_processed()¶
- reset()¶
Reset a task node so it can be re-used a second time.
- set_profiler(profiler)¶
- Parameters:
profiler (
Ufo.Profiler
) –
- set_send_pattern(pattern)¶
- Parameters:
pattern (
Ufo.SendPattern
) –
- setup()¶