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
timeInputNode.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_EF_TIME_INPUT_NODE_H
8
#define PXR_EXEC_EF_TIME_INPUT_NODE_H
9
10
/// \file
11
12
#include "
pxr/pxr.h
"
13
14
#include "
pxr/exec/ef/api.h
"
15
16
#include "
pxr/exec/vdf/rootNode.h
"
17
18
PXR_NAMESPACE_OPEN_SCOPE
19
20
///////////////////////////////////////////////////////////////////////////////
21
///
22
/// \class EfTimeInputNode
23
///
24
/// \brief A root node which supplies a value for time.
25
///
26
class
EF_API_TYPE
EfTimeInputNode
final :
public
VdfRootNode
27
{
28
public
:
29
30
/// Constructor
31
///
32
EF_API
33
EfTimeInputNode
(
VdfNetwork
*network);
34
35
/// Returns \c true if the given node is an EfTimeInputNode. This method is
36
/// an accelerated alternative to IsA<EfTimeInputNode>() or dynamic_cast.
37
///
38
static
bool
IsATimeInputNode
(
const
VdfNode
&node) {
39
return
node.
GetNumInputs
() == 0 && node.
IsA
<EfTimeInputNode>();
40
}
41
42
private
:
43
44
// Only a network is allowed to delete nodes.
45
virtual
~EfTimeInputNode();
46
};
47
48
PXR_NAMESPACE_CLOSE_SCOPE
49
50
#endif
VdfNetwork
Definition:
network.h:59
PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_OPEN_SCOPE
Definition:
pxr.h:73
VdfNode::IsA
bool IsA() const
Definition:
node.h:147
VdfNode
Definition:
node.h:52
EF_API_TYPE
#define EF_API_TYPE
Definition:
api.h:26
api.h
pxr.h
VdfRootNode
Definition:
rootNode.h:29
VdfNode::GetNumInputs
size_t GetNumInputs() const
Definition:
node.h:289
EfTimeInputNode
A root node which supplies a value for time.
Definition:
timeInputNode.h:26
rootNode.h
EfTimeInputNode::IsATimeInputNode
static bool IsATimeInputNode(const VdfNode &node)
Definition:
timeInputNode.h:38
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
EF_API
#define EF_API
Definition:
api.h:25
pxr
exec
ef
timeInputNode.h
Generated on Mon Aug 24 2026 02:27:03 for HDK by
1.8.6