HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
types.h
Go to the documentation of this file.
1
//
2
// Copyright 2025 Pixar
3
//
4
// Licensed under the terms set forth in the LICENSE.txt file available at
5
// https://openusd.org/license.
6
//
7
#ifndef PXR_EXEC_EXEC_TYPES_H
8
#define PXR_EXEC_EXEC_TYPES_H
9
10
/// \file
11
///
12
/// This file contains definitions for trivial types, including type aliases, so
13
/// that source files that require these types can get access to them without
14
/// transitively including many headers, and otherwise pulling in unneeded
15
/// definitions. Defining these types in this public header also helps keep
16
/// other headers private to this library.
17
///
18
19
#include "
pxr/pxr.h
"
20
21
#include "
pxr/base/tf/smallVector.h
"
22
23
#include <functional>
24
25
PXR_NAMESPACE_OPEN_SCOPE
26
27
/// Function type used for computation callbacks.
28
using
ExecCallbackFn
= std::function<void (const class VdfContext &context)>;
29
30
/// Type used to identify Exec_DefinitionRegistry registry functions.
31
///
32
/// We use a separate public type as the tag, rather than
33
/// Exec_DefinitionRegistry itself, to allow that type to remain private.
34
///
35
struct
ExecDefinitionRegistryTag
{};
36
37
// A vector of schema types used to restrict the schemas that dispatched
38
// compuations dispatch onto.
39
//
40
using
ExecDispatchesOntoSchemas
=
TfSmallVector<class TfType, 1>
;
41
42
PXR_NAMESPACE_CLOSE_SCOPE
43
44
#endif
TfSmallVector
Definition:
smallVector.h:156
PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_OPEN_SCOPE
Definition:
pxr.h:73
ExecDefinitionRegistryTag
Definition:
types.h:35
pxr.h
ExecCallbackFn
std::function< void(const class VdfContext &context)> ExecCallbackFn
Function type used for computation callbacks.
Definition:
types.h:28
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
smallVector.h
pxr
exec
exec
types.h
Generated on Wed Aug 12 2026 02:13:56 for HDK by
1.8.6