HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
types.h File Reference
#include "pxr/pxr.h"
#include "pxr/exec/vdf/api.h"
#include "pxr/exec/vdf/defaultInitAllocator.h"
#include "pxr/exec/vdf/mask.h"
#include "pxr/base/tf/hash.h"
#include "pxr/base/tf/hashmap.h"
#include "pxr/base/tf/hashset.h"
#include "pxr/base/tf/smallVector.h"
#include <functional>
#include <string>
#include <unordered_map>
#include <vector>
+ Include dependency graph for types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef TfSmallVector
< VdfConnection *, 1 > 
VdfConnectionVector
 Type for an ordered collection of connections. More...
 
typedef TfSmallVector< const
VdfConnection *, 1 > 
VdfConnectionConstVector
 Type for an ordered collection of connections. More...
 
typedef TfHashSet
< VdfConnection *, TfHash
VdfConnectionSet
 Type for an unordered set of connections. More...
 
typedef TfHashSet< const
VdfConnection *, TfHash
VdfConnectionConstSet
 Type for an unordered set of connections. More...
 
typedef TfHashSet< const
VdfNode *, TfHash
VdfNodePtrSet
 Type for an unordered set of nodes pointers. More...
 
typedef TfHashSet< const
VdfOutput *, TfHash
VdfOutputPtrSet
 Type for an unordered set of output pointers. More...
 
typedef TfHashSet< const
VdfInput *, TfHash
VdfInputPtrSet
 Type for an unordered set of input pointers. More...
 
typedef std::vector< const
VdfInput * > 
VdfInputPtrVector
 Type for an ordered collection of inputs. More...
 
typedef std::vector< const
VdfOutput * > 
VdfOutputPtrVector
 Type for an ordered collection of outputs. More...
 
typedef std::function< void(const
VdfNode &)> 
VdfNodeCallback
 Type of callback used when processing nodes. More...
 
typedef std::function
< std::string()> 
VdfNodeDebugNameCallback
 Type of callback for building a node debug name. More...
 
typedef unsigned int VdfInvalidationTimestamp
 Type of the timestamp that identifies the most recent round of invalidation. More...
 
typedef std::pair
< VdfConnection *, VdfMask
VdfConnectionAndMask
 A pair of connection pointer and mask for sparse input dependency computation. More...
 
typedef std::vector
< VdfConnectionAndMask
VdfConnectionAndMaskVector
 A vector of VdfConnectionAndMasks. More...
 
typedef std::function< void(const
VdfOutput *, const VdfMask &)> 
VdfScheduledOutputCallback
 
typedef TfHashMap< const
VdfNode *, VdfOutputPtrSet,
TfHash
VdfNodeToOutputPtrSetMap
 A map from node pointer to VdfOutputPtrSet. More...
 
typedef TfHashMap< const
VdfNode *, VdfInputPtrVector,
TfHash
VdfNodeToInputPtrVectorMap
 A map from node pointer to VdfInputPtrVector. More...
 
typedef TfHashMap< const
VdfNode *, VdfOutputPtrVector,
TfHash
VdfNodeToOutputPtrVectorMap
 A map from node pointer to VdfInputPtrVector. More...
 
typedef std::unordered_map
< const VdfOutput *, VdfMask,
TfHash
VdfOutputToMaskMap
 A map from output pointer to mask. More...
 
typedef uint64_t VdfId
 The unique identifier type for Vdf objects. More...
 
typedef uint32_t VdfIndex
 The index type for Vdf objects. More...
 
typedef uint32_t VdfVersion
 The version type for Vdf objects. More...
 
typedef std::vector< VdfIdVdfIdVector
 A vector of ids. More...
 
template<typename T >
using Vdf_DefaultInitVector = std::vector< T, Vdf_DefaultInitAllocator< T >>
 

Functions

VDF_API bool VdfIsParallelEvaluationEnabled ()
 

Typedef Documentation

template<typename T >
using Vdf_DefaultInitVector = std::vector<T, Vdf_DefaultInitAllocator<T>>

A std::vector which on resize performs default initialization instead of value initialization. We use this on arrays that are first resized and then immediatelly filled with elements.

Definition at line 122 of file types.h.

A pair of connection pointer and mask for sparse input dependency computation.

Definition at line 77 of file types.h.

A vector of VdfConnectionAndMasks.

Definition at line 80 of file types.h.

Type for an unordered set of connections.

Definition at line 50 of file types.h.

Type for an ordered collection of connections.

Definition at line 44 of file types.h.

Type for an unordered set of connections.

Definition at line 47 of file types.h.

Type for an ordered collection of connections.

Definition at line 41 of file types.h.

typedef uint64_t VdfId

The unique identifier type for Vdf objects.

Definition at line 107 of file types.h.

typedef std::vector<VdfId> VdfIdVector

A vector of ids.

Definition at line 116 of file types.h.

typedef uint32_t VdfIndex

The index type for Vdf objects.

Definition at line 110 of file types.h.

Type for an unordered set of input pointers.

Definition at line 59 of file types.h.

typedef std::vector<const VdfInput *> VdfInputPtrVector

Type for an ordered collection of inputs.

Definition at line 62 of file types.h.

typedef unsigned int VdfInvalidationTimestamp

Type of the timestamp that identifies the most recent round of invalidation.

Definition at line 74 of file types.h.

typedef std::function<void (const VdfNode &)> VdfNodeCallback

Type of callback used when processing nodes.

Definition at line 68 of file types.h.

typedef std::function<std::string()> VdfNodeDebugNameCallback

Type of callback for building a node debug name.

Definition at line 71 of file types.h.

Type for an unordered set of nodes pointers.

Definition at line 53 of file types.h.

A map from node pointer to VdfInputPtrVector.

Definition at line 95 of file types.h.

A map from node pointer to VdfOutputPtrSet.

Definition at line 91 of file types.h.

A map from node pointer to VdfInputPtrVector.

Definition at line 99 of file types.h.

Type for an unordered set of output pointers.

Definition at line 56 of file types.h.

typedef std::vector<const VdfOutput *> VdfOutputPtrVector

Type for an ordered collection of outputs.

Definition at line 65 of file types.h.

typedef std::unordered_map<const VdfOutput *, VdfMask, TfHash> VdfOutputToMaskMap

A map from output pointer to mask.

Definition at line 104 of file types.h.

typedef std::function<void (const VdfOutput *, const VdfMask &)> VdfScheduledOutputCallback

Function type to be used with ForEachScheduledOutput().

Definition at line 86 of file types.h.

typedef uint32_t VdfVersion

The version type for Vdf objects.

Definition at line 113 of file types.h.

Function Documentation

VDF_API bool VdfIsParallelEvaluationEnabled ( )

Returns true if single-frame parallel evaluation is enabled.