|
HDK
|
Holds all of the memory for execution state of a compiled APEX graph. More...
#include <APEX_Buffer.h>
Inheritance diagram for apex::APEX_Buffer:Public Member Functions | |
| APEX_Buffer () | |
| void | clear () |
| APEX_TypedBuffer * | findTypedBuffer (const APEX_TypeDefinitionBase *type_defn) |
Get the type-specific storage for a given type, or nullptr if not found. More... | |
| APEX_TypedBuffer * | getTypedBuffer (exint index) |
| exint | typeIndex (const APEX_TypeDefinitionBase *type_defn) |
| Get the index at which a given type is stored in this buffer, or -1 if not present. More... | |
| exint | allocate (const APEX_TypeDefinitionBase *type_defn, exint size) |
| APEX_Argument | append (const APEX_TypeDefinitionBase *type_defn) |
| Extend the type-specific storage buffer of the given type by one element and return an ApexArgument tracking it. More... | |
| void | set (APEX_Argument &arg, void *value) |
| Set the value of the given argument in this buffer to the value. The type of the argument must support copying. More... | |
| void | lock () |
| Prevent further modifications to the layout of this buffer. More... | |
Static Public Member Functions | |
| static APEX_DataID | nextDataId () |
| Get a new unique data ID. More... | |
Holds all of the memory for execution state of a compiled APEX graph.
Definition at line 97 of file APEX_Buffer.h.
|
inline |
Definition at line 100 of file APEX_Buffer.h.
|
inline |
Allocate a type-specific storage buffer of the given type of the given size. Returns the index of the new storage.
Definition at line 149 of file APEX_Buffer.h.
| APEX_Argument apex::APEX_Buffer::append | ( | const APEX_TypeDefinitionBase * | type_defn | ) |
Extend the type-specific storage buffer of the given type by one element and return an ApexArgument tracking it.
|
inline |
Definition at line 106 of file APEX_Buffer.h.
|
inline |
Get the type-specific storage for a given type, or nullptr if not found.
Definition at line 113 of file APEX_Buffer.h.
|
inline |
Definition at line 123 of file APEX_Buffer.h.
|
inline |
Prevent further modifications to the layout of this buffer.
Definition at line 168 of file APEX_Buffer.h.
|
static |
Get a new unique data ID.
| void apex::APEX_Buffer::set | ( | APEX_Argument & | arg, |
| void * | value | ||
| ) |
Set the value of the given argument in this buffer to the value. The type of the argument must support copying.
|
inline |
Get the index at which a given type is stored in this buffer, or -1 if not present.
Definition at line 131 of file APEX_Buffer.h.