CoreFlow 1.0.0
A modern orchestration and execution runtime
|
The Internal Reference API. More...
Namespaces | |
namespace | coreflow |
The internal representation of a vx_array. | |
Typedefs | |
typedef void(* | vx_destructor_f) (vx_reference ref) |
Used to destroy an object in a generic way. | |
The Internal Reference API.
typedef void(* vx_destructor_f) (vx_reference ref) |
#include <vx_internal.h>
Used to destroy an object in a generic way.
vx_bool coreflow::Context::addReference | ( | const vx_reference & | ref | ) |
#include <vx_context.h>
Used to add a reference to the context.
[in] | ref | The pointer to the reference object. |
|
static |
#include <vx_reference.h>
Used to create a reference.
[in] | context | The system context. |
[in] | type | The vx_type_e type desired. |
[in] | refType | The reference type. |
[in] | scope | The parent reference. |
vx_enum coreflow::Reference::dataType | ( | ) | const |
#include <vx_reference.h>
Returns the type of the reference.
vx_uint32 coreflow::Reference::decrementReference | ( | vx_reftype_e | refType | ) |
#include <vx_reference.h>
Decrements the ref count.
[in] | refType | The reference type to decrement. |
|
virtual |
#include <vx_reference.h>
Destruct reference.
Reimplemented in coreflow::Array, coreflow::Convolution, coreflow::Delay, coreflow::Distribution, coreflow::Graph, coreflow::Image, coreflow::Matrix, coreflow::Node, coreflow::ObjectArray, coreflow::Parameter, coreflow::Pyramid, coreflow::Remap, coreflow::Scalar, and coreflow::Tensor.
vx_uint32 coreflow::Reference::incrementReference | ( | vx_reftype_e | refType | ) |
#include <vx_reference.h>
Increments the ref count.
[in] | refType | The reference type to increment. |
#include <vx_reference.h>
Used to initialize any vx_reference as a delay element.
[in] | delay | The delay to which the object belongs |
[in] | index | The index in the delay |
|
static |
#include <vx_reference.h>
Prints the values of a reference.
[in] | ref | The reference to print. |
vx_uint32 coreflow::Reference::refCount | ( | ) | const |
#include <vx_reference.h>
Returns the reference count of the object.
|
protected |
#include <vx_reference.h>
Construct a new Reference object.
context | The context associated with this obj |
type | The type of this ref |
scope | The parent ref of this obj |
const vx_char * coreflow::Reference::refName | ( | ) | const |
#include <vx_reference.h>
Returns the name of the reference.
|
static |
#include <vx_reference.h>
Used to destroy a reference.
[in] | ref | The reference to release. |
[in] | type | The vx_type_e to check against. |
[in] | reftype | The reference type. |
[in] | special_destructor | The a special function to call after the total count has reached zero, if NULL, a default destructor is used. |
vx_bool coreflow::Context::removeReference | ( | vx_reference & | ref | ) |
#include <vx_context.h>
Used to remove a reference from the context.
[in] | ref | The pointer to the reference object. |
void coreflow::Reference::setName | ( | const vx_char * | name | ) |
#include <vx_reference.h>
Returns the number of bytes in the internal structure for a given type.
vx_uint32 coreflow::Reference::totalReferenceCount | ( | ) |
#include <vx_reference.h>
Returns the total reference count of the object.
|
protectedvirtual |
#include <vx_reference.h>
Destroy the vx reference object.