The Internal Delay API.
More...
The Internal Delay API.
◆ addAssociationToDelay()
#include <vx_delay.h>
Adds an association to a node to a delay slot object reference.
- Parameters
-
[in] | value | The delay slot object reference. |
[in] | n | The node reference. |
[in] | i | The index of the parameter. |
◆ age()
#include <vx_delay.h>
Shifts the internal delay ring by one.
This function performs a shift of the internal delay ring by one. This means that, the data originally at index 0 move to index -1 and so forth until index \( -count+1 \). The data originally at index \( -count+1 \) move to index 0. Here \( count \) is the number of slots in delay ring. When a delay is aged, any graph making use of this delay (delay object itself or data objects in delay slots) gets its data automatically updated accordingly.
- Returns
- vx_status VX_SUCCESS if successful, any other value indicates failure.
◆ createDelay()
◆ dataType()
vx_enum coreflow::Delay::dataType |
( |
| ) |
const |
#include <vx_delay.h>
Get data type of references associated with this delay object.
- Returns
- vx_enum The data type of references.
◆ Delay()
◆ destruct()
void coreflow::Delay::destruct |
( |
| ) |
|
|
finaloverridevirtual |
◆ getReference()
#include <vx_delay.h>
Retrieves a reference to a delay slot object.
- Parameters
-
[in] | index | The index of the delay slot from which to extract the object reference. |
- Returns
- vx_reference The vx_reference at the index specified if found, otherwise an error object
◆ numObjects()
vx_size coreflow::Delay::numObjects |
( |
| ) |
const |
#include <vx_delay.h>
Get the number of objects in this delay object.
- Returns
- vx_size The number of objects in this delay object
◆ removeAssociationToDelay()
#include <vx_delay.h>
Removes an association to a node from a delay slot object reference.
- Parameters
-
[in] | value | The delay slot object reference. |
[in] | n | The node reference. |
[in] | i | The index of the parameter. |
◆ ~Delay()
coreflow::Delay::~Delay |
( |
| ) |
|