CoreFlow 1.0.0
A modern orchestration and execution runtime
|
The Internal Parameter API. More...
Namespaces | |
namespace | coreflow |
The internal representation of a vx_array. | |
Functions | |
coreflow::Parameter::Parameter (vx_context context, vx_reference ref) | |
Construct a new Parameter object. | |
coreflow::Parameter::~Parameter () | |
Destroy the Parameter object. | |
void | coreflow::Parameter::destruct () override final |
Function to destruct the Parameter object. | |
static vx_bool | coreflow::Parameter::isValidDirection (vx_enum dir) |
This returns true if the direction is a valid enum. | |
static vx_bool | coreflow::Parameter::isValidTypeMatch (vx_enum expected, vx_enum supplied) |
This returns true if the supplied type matches the expected type with some fuzzy rules. | |
static vx_bool | coreflow::Parameter::isValidState (vx_enum state) |
This returns true if the supplied state is a valid enum. | |
vx_enum | coreflow::Parameter::direction () const |
Returns the direction of the parameter. | |
vx_uint32 | coreflow::Parameter::idx () const |
Returns the index of the parameter. | |
vx_enum | coreflow::Parameter::dataType () const |
Returns the data type of the parameter. | |
vx_enum | coreflow::Parameter::state () const |
Returns the state of the parameter. | |
vx_reference | coreflow::Parameter::ref () const |
Returns the reference referred to by the parameter. | |
vx_meta_format | coreflow::Parameter::metaFormat () const |
Returns the meta format contained in the parameter. | |
static vx_parameter | coreflow::Parameter::getKernelParameterByIndex (vx_kernel kernel, vx_uint32 index) |
Get a parameter by index from a kernel. | |
static vx_parameter | coreflow::Parameter::getParameterByIndex (vx_node node, vx_uint32 index) |
Get a parameter by index from a node. | |
static vx_status | coreflow::Parameter::setParameterByIndex (vx_node node, vx_uint32 index, vx_reference value) |
Set a parameter by index on a node. | |
vx_status | coreflow::Parameter::setParameterByReference (vx_reference value) |
Get a parameter by index from a node. | |
The Internal Parameter API.
vx_enum coreflow::Parameter::dataType | ( | ) | const |
#include <vx_parameter.h>
Returns the data type of the parameter.
|
finaloverridevirtual |
#include <vx_parameter.h>
Function to destruct the Parameter object.
Reimplemented from coreflow::Reference.
vx_enum coreflow::Parameter::direction | ( | ) | const |
#include <vx_parameter.h>
Returns the direction of the parameter.
|
static |
#include <vx_parameter.h>
Get a parameter by index from a kernel.
kernel | The kernel to get the parameter from |
index | The index of the parameter |
|
static |
#include <vx_parameter.h>
Get a parameter by index from a node.
node | The node to get the parameter from |
index | The index of the parameter |
vx_uint32 coreflow::Parameter::idx | ( | ) | const |
#include <vx_parameter.h>
Returns the index of the parameter.
#include <vx_parameter.h>
This returns true if the direction is a valid enum.
[in] | dir | The vx_direction_e enum. |
#include <vx_parameter.h>
This returns true if the supplied state is a valid enum.
#include <vx_parameter.h>
This returns true if the supplied type matches the expected type with some fuzzy rules.
vx_meta_format coreflow::Parameter::metaFormat | ( | ) | const |
#include <vx_parameter.h>
Returns the meta format contained in the parameter.
coreflow::Parameter::Parameter | ( | vx_context | context, |
vx_reference | ref ) |
vx_reference coreflow::Parameter::ref | ( | ) | const |
#include <vx_parameter.h>
Returns the reference referred to by the parameter.
|
static |
#include <vx_parameter.h>
Set a parameter by index on a node.
node | The node to set the parameter on |
index | The index of the parameter |
value | The reference to set as the parameter value |
vx_status coreflow::Parameter::setParameterByReference | ( | vx_reference | value | ) |
#include <vx_parameter.h>
Get a parameter by index from a node.
value | The reference to set as the parameter value |
vx_enum coreflow::Parameter::state | ( | ) | const |
#include <vx_parameter.h>
Returns the state of the parameter.
coreflow::Parameter::~Parameter | ( | ) |
#include <vx_parameter.h>
Destroy the Parameter object.