|
HDK
|
This is a data manager for executors that uses data stored in a vector indexed by output ids. More...
#include <dataManagerVector.h>
Inheritance diagram for VdfDataManagerVector< DeallocationMode >:Public Types | |
| typedef VdfExecutorDataManager < VdfDataManagerVector > | Base |
| typedef Vdf_ExecutorDataManagerTraits < VdfDataManagerVector > ::DataHandle | DataHandle |
Public Types inherited from VdfExecutorDataManager< VdfDataManagerVector< DeallocationMode > > | |
| typedef Vdf_ExecutorDataManagerTraits < VdfDataManagerVector < DeallocationMode > >::DataHandle | DataHandle |
| typedef Vdf_ExecutorDataManagerInterface < VdfDataManagerVector < DeallocationMode > , DataHandle > | Base |
This is a data manager for executors that uses data stored in a vector indexed by output ids.
Definition at line 39 of file dataManagerVector.h.
| typedef VdfExecutorDataManager<VdfDataManagerVector> VdfDataManagerVector< DeallocationMode >::Base |
The base class.
Definition at line 103 of file dataManagerVector.h.
| typedef Vdf_ExecutorDataManagerTraits< VdfDataManagerVector>::DataHandle VdfDataManagerVector< DeallocationMode >::DataHandle |
The data handle type from the type traits class.
Definition at line 110 of file dataManagerVector.h.
|
inline |
Constructor.
Definition at line 114 of file dataManagerVector.h.
| VdfDataManagerVector< DeallocationMode >::~VdfDataManagerVector | ( | ) |
Destructor
Definition at line 275 of file dataManagerVector.h.
| void VdfDataManagerVector< DeallocationMode >::Clear | ( | ) |
Clears all the data from this manager.
Definition at line 315 of file dataManagerVector.h.
| void VdfDataManagerVector< DeallocationMode >::ClearDataForOutput | ( | const VdfId | outputId | ) |
Clears the executor data for a specific output
Definition at line 301 of file dataManagerVector.h.
|
inline |
Returns the VdfExecutorBufferData associated with the given handle.
Note it is undefined behavior to call this method with an invalid data handle.
Definition at line 158 of file dataManagerVector.h.
|
inline |
Returns an existing data handle for the given outputId. This method will return an invalid data handle, if no handle has been created for the given outputId.
Definition at line 147 of file dataManagerVector.h.
|
inline |
Returns the VdfExecutorInvalidationData associated with the given handle.
Note it is undefined behavior to call this method with an invalid data handle.
Definition at line 168 of file dataManagerVector.h.
|
inline |
Returns the VdfInvalidationTimestamp associated with the given handle.
Note it is undefined behavior to call this method with an invalid data handle.
Definition at line 183 of file dataManagerVector.h.
|
inline |
Returns an existing data handle, or creates a new one for the given outputId.
This method is guaranteed to return a valid data handle.
Definition at line 139 of file dataManagerVector.h.
|
inline |
Returns an existing VdfSMBLData associated with the given handle or creates a new one of none exists.
Note it is undefined behavior to call this method with an invalid data handle.
Definition at line 216 of file dataManagerVector.h.
|
inline |
Returns an existing VdfSMBLData associated with the given handle. Returns nullptr if there is no SMBL data associated with this data handle.
Note it is undefined behavior to call this method with an invalid data handle.
Definition at line 206 of file dataManagerVector.h.
|
inline |
Returns true if this data manager is empty.
Definition at line 260 of file dataManagerVector.h.
|
inline |
Returns true if the data at the given handle has been touched by evaluation.
Note it is undefined behavior to call this method with an invalid data handle.
Definition at line 226 of file dataManagerVector.h.
|
inline |
Returns true if the given data handle is valid, i.e. it is valid to ask for data for this given handle.
Note that attempting to resolve data at an invalid handle results in undefined behavior.
Definition at line 130 of file dataManagerVector.h.
| void VdfDataManagerVector< DeallocationMode >::Resize | ( | const VdfNetwork & | network | ) |
Resize the data manager to accommodate the given network.
Definition at line 286 of file dataManagerVector.h.
|
inline |
Sets the invalidation timestamp for the give data handle.
Note it is undefined behavior to call this method with an invalid data handle.
Definition at line 193 of file dataManagerVector.h.
|
inline |
Marks the data at the given handle as having been touched by evaluation.
Note it is undefined behavior to call this method with an invalid data handle.
Definition at line 236 of file dataManagerVector.h.
|
inline |
Marks the data at the given handle as not having been touched by evaluation. Returns true if the data has previously been touched.
Note it is undefined behavior to call this method with an invalid data handle.
Definition at line 246 of file dataManagerVector.h.