CoreFlow 1.0.0
A modern orchestration and execution runtime
|
The Internal Graph API. More...
Namespaces | |
namespace | coreflow |
The internal representation of a vx_array. | |
Functions | |
coreflow::Graph::Graph (vx_context context, vx_reference scope) | |
Construct a new Graph object. | |
static vx_graph | coreflow::Graph::createGraph (vx_context context) |
Create a graph. | |
vx_perf_t | coreflow::Graph::performance () const |
Get the graph performance. | |
vx_enum | coreflow::Graph::getState () const |
Get the Graph state. | |
vx_uint32 | coreflow::Graph::getNumNodes () const |
Get the number of nodes in the graph. | |
vx_uint32 | coreflow::Graph::getNumParams () const |
Get the number of parameters of the graph. | |
vx_bool | coreflow::Graph::isVerified () |
Is graph verified. | |
vx_status | coreflow::Graph::verify () |
Verify the graph. | |
vx_status | coreflow::Graph::schedule () |
Schedule the graph. | |
vx_status | coreflow::Graph::wait () |
Wait on the graph to complete. | |
vx_status | coreflow::Graph::process () |
Process the graph. | |
vx_status | coreflow::Graph::addParameter (vx_parameter param) |
Add a graph paramter. | |
vx_status | coreflow::Graph::setParameterByIndex (vx_uint32 index, vx_reference value) |
Set the graph parameter by index. | |
vx_parameter | coreflow::Graph::getParameterByIndex (vx_uint32 index) |
Get the parameter object by index. | |
vx_status | coreflow::Graph::pipelineValidateRefsList (const vx_graph_parameter_queue_params_t graph_parameters_queue_param) |
Validate the graph parameters queue references list. | |
void | coreflow::Graph::clearVisitation () |
Clears visited flag. | |
void | coreflow::Graph::clearExecution () |
Clears execution flag. | |
vx_status | coreflow::Graph::findNodesWithReference (vx_reference ref, vx_uint32 refnodes[], vx_uint32 *count, vx_enum reftype) |
Find nodes using this reference as input or output parameter. This function starts on the next node in the list and loops until we hit the original node again. Parse over the nodes in circular fashion. | |
void | coreflow::Graph::findNextNodes (vx_uint32 last_nodes[VX_INT_MAX_REF], vx_uint32 numLast, vx_uint32 next_nodes[VX_INT_MAX_REF], vx_uint32 *numNext, vx_uint32 left_nodes[VX_INT_MAX_REF], vx_uint32 *numLeft) |
Given a set of last nodes, this function will determine the next set of nodes which are capable of being run. Nodes which are encountered but can't be run will be placed in the left nodes list. | |
void | coreflow::Graph::destruct () override final |
Destruct function for the Graph object. | |
The Internal Graph API.
vx_status coreflow::Graph::addParameter | ( | vx_parameter | param | ) |
#include <vx_graph.h>
Add a graph paramter.
param | The parameter to add to the graph. |
void coreflow::Graph::clearExecution | ( | ) |
#include <vx_graph.h>
Clears execution flag.
void coreflow::Graph::clearVisitation | ( | ) |
#include <vx_graph.h>
Clears visited flag.
|
static |
#include <vx_graph.h>
Create a graph.
context | The context associated with this graph |
|
finaloverridevirtual |
#include <vx_graph.h>
Destruct function for the Graph object.
Reimplemented from coreflow::Reference.
void coreflow::Graph::findNextNodes | ( | vx_uint32 | last_nodes[VX_INT_MAX_REF], |
vx_uint32 | numLast, | ||
vx_uint32 | next_nodes[VX_INT_MAX_REF], | ||
vx_uint32 * | numNext, | ||
vx_uint32 | left_nodes[VX_INT_MAX_REF], | ||
vx_uint32 * | numLeft ) |
#include <vx_graph.h>
Given a set of last nodes, this function will determine the next set of nodes which are capable of being run. Nodes which are encountered but can't be run will be placed in the left nodes list.
[in] | last_nodes | The last list of nodes executed. |
[in] | numLast | The number of nodes in the last_nodes list which are valid. |
[out] | next_nodes | The list of nodes next to be executed. |
[in] | numNext | The number of nodes in the next_nodes list which are valid. |
[out] | left_nodes | The list of nodes which are next, but can't be executed. |
[in] | numLeft | The number of nodes in the left_nodes list which are valid. |
vx_status coreflow::Graph::findNodesWithReference | ( | vx_reference | ref, |
vx_uint32 | refnodes[], | ||
vx_uint32 * | count, | ||
vx_enum | reftype ) |
#include <vx_graph.h>
Find nodes using this reference as input or output parameter. This function starts on the next node in the list and loops until we hit the original node again. Parse over the nodes in circular fashion.
ref | The reference to search for |
refnodes | The nodes to search within |
count | Count of nodes found using ref |
reftype | The reference type |
vx_uint32 coreflow::Graph::getNumNodes | ( | ) | const |
#include <vx_graph.h>
Get the number of nodes in the graph.
vx_uint32 coreflow::Graph::getNumParams | ( | ) | const |
#include <vx_graph.h>
Get the number of parameters of the graph.
vx_parameter coreflow::Graph::getParameterByIndex | ( | vx_uint32 | index | ) |
#include <vx_graph.h>
Get the parameter object by index.
index | The graph parameter index |
vx_enum coreflow::Graph::getState | ( | ) | const |
coreflow::Graph::Graph | ( | vx_context | context, |
vx_reference | scope ) |
#include <vx_graph.h>
Construct a new Graph object.
context | The context associated with this graph |
scope | Parent reference of this graph |
vx_bool coreflow::Graph::isVerified | ( | ) |
vx_perf_t coreflow::Graph::performance | ( | ) | const |
vx_status coreflow::Graph::pipelineValidateRefsList | ( | const vx_graph_parameter_queue_params_t | graph_parameters_queue_param | ) |
#include <vx_graph.h>
Validate the graph parameters queue references list.
graph_parameters_queue_param |
vx_status coreflow::Graph::process | ( | ) |
#include <vx_graph.h>
Process the graph.
vx_status coreflow::Graph::schedule | ( | ) |
#include <vx_graph.h>
Schedule the graph.
vx_status coreflow::Graph::setParameterByIndex | ( | vx_uint32 | index, |
vx_reference | value ) |
#include <vx_graph.h>
Set the graph parameter by index.
index | The graph parameter index |
value | The reference to set |
vx_status coreflow::Graph::verify | ( | ) |
#include <vx_graph.h>
Verify the graph.
vx_status coreflow::Graph::wait | ( | ) |
#include <vx_graph.h>
Wait on the graph to complete.