|
HDK
|
This is a data manager for executors that uses data stored in an external hash table. More...
#include <dataManagerHashTable.h>
Inheritance diagram for VdfDataManagerHashTable:Public Types | |
| typedef VdfExecutorDataManager < VdfDataManagerHashTable > | Base |
| typedef Vdf_ExecutorDataManagerTraits < VdfDataManagerHashTable > ::DataHandle | DataHandle |
Public Types inherited from VdfExecutorDataManager< VdfDataManagerHashTable > | |
| typedef Vdf_ExecutorDataManagerTraits < VdfDataManagerHashTable > ::DataHandle | DataHandle |
| typedef Vdf_ExecutorDataManagerInterface < VdfDataManagerHashTable, DataHandle > | Base |
This is a data manager for executors that uses data stored in an external hash table.
Definition at line 72 of file dataManagerHashTable.h.
The base class type.
Definition at line 91 of file dataManagerHashTable.h.
| typedef Vdf_ExecutorDataManagerTraits< VdfDataManagerHashTable>::DataHandle VdfDataManagerHashTable::DataHandle |
The data handle type from the type traits class.
Definition at line 98 of file dataManagerHashTable.h.
|
inline |
Clears all the data from this manager.
Definition at line 251 of file dataManagerHashTable.h.
Clears the executor data for a specific output
Definition at line 245 of file dataManagerHashTable.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 146 of file dataManagerHashTable.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 137 of file dataManagerHashTable.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 156 of file dataManagerHashTable.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 171 of file dataManagerHashTable.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 121 of file dataManagerHashTable.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 204 of file dataManagerHashTable.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 194 of file dataManagerHashTable.h.
|
inline |
Returns true if this data manager is empty.
Definition at line 257 of file dataManagerHashTable.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 217 of file dataManagerHashTable.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 112 of file dataManagerHashTable.h.
| VDF_API void VdfDataManagerHashTable::Resize | ( | const VdfNetwork & | network | ) |
Resize the data manager to accommodate all the outputs in the given network.
|
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 181 of file dataManagerHashTable.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 227 of file dataManagerHashTable.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 237 of file dataManagerHashTable.h.