HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VdfTestUtils::CallbackNodeType Class Reference

This class specifies a CallbackNode with a given callback function. More...

#include <testUtils.h>

+ Inheritance diagram for VdfTestUtils::CallbackNodeType:

Public Member Functions

 CallbackNodeType (CallbackNode::ValueFunction *function)
 
virtual VdfNode * NewNode (VdfNetwork *net) const
 
template<typename T >
CallbackNodeType & Read (const TfToken &name)
 
template<typename T >
CallbackNodeType & ReadWrite (const TfToken &name, const TfToken &outName)
 
template<typename T >
CallbackNodeType & Out (const TfToken &name)
 
CallbackNodeType & ComputeInputDependencyMaskCallback (const DependencyCallbackNode::InputDependencyFunction &function)
 
CallbackNodeType & ComputeOutputDependencyMaskCallback (const DependencyCallbackNode::OutputDependencyFunction &function)
 
- Public Member Functions inherited from VdfTestUtils::NodeType
virtual VDF_API ~NodeType ()
 

Detailed Description

This class specifies a CallbackNode with a given callback function.

Definition at line 237 of file testUtils.h.

Constructor & Destructor Documentation

VdfTestUtils::CallbackNodeType::CallbackNodeType ( CallbackNode::ValueFunction *  function)
inline

Creates a callback node type with callback function function.

Definition at line 243 of file testUtils.h.

Member Function Documentation

CallbackNodeType& VdfTestUtils::CallbackNodeType::ComputeInputDependencyMaskCallback ( const DependencyCallbackNode::InputDependencyFunction &  function)
inline

Sets an input dependency mask computation callback for this node type.

Definition at line 284 of file testUtils.h.

CallbackNodeType& VdfTestUtils::CallbackNodeType::ComputeOutputDependencyMaskCallback ( const DependencyCallbackNode::OutputDependencyFunction &  function)
inline

Sets an output dependency mask computation callback for this node type.

Definition at line 293 of file testUtils.h.

virtual VdfNode* VdfTestUtils::CallbackNodeType::NewNode ( VdfNetwork *  net) const
inlinevirtual

Creates a CallbackNode from this node type.

Implements VdfTestUtils::NodeType.

Definition at line 249 of file testUtils.h.

template<typename T >
CallbackNodeType& VdfTestUtils::CallbackNodeType::Out ( const TfToken &  name)
inline

Adds an output to this node type.

Definition at line 276 of file testUtils.h.

template<typename T >
CallbackNodeType& VdfTestUtils::CallbackNodeType::Read ( const TfToken &  name)
inline

Adds a ReadConnector to this node type.

Definition at line 259 of file testUtils.h.

template<typename T >
CallbackNodeType& VdfTestUtils::CallbackNodeType::ReadWrite ( const TfToken &  name,
const TfToken &  outName 
)
inline

Adds a ReadWrite input and an associated Output to this node type.

Definition at line 267 of file testUtils.h.


The documentation for this class was generated from the following file: