Loading...
Searching...
No Matches
CallbackNodeType Class Reference

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

#include <testUtils.h>

+ Inheritance diagram for CallbackNodeType:

Public Member Functions

 CallbackNodeType (CallbackNode::ValueFunction *function)
 Creates a callback node type with callback function function.
 
virtual VdfNode * NewNode (VdfNetwork *net) const
 Creates a CallbackNode from this node type.
 
template<typename T >
CallbackNodeType & Read (const TfToken &name)
 Adds a ReadConnector to this node type.
 
template<typename T >
CallbackNodeType & ReadWrite (const TfToken &name, const TfToken &outName)
 Adds a ReadWrite input and an associated Output to this node type.
 
template<typename T >
CallbackNodeType & Out (const TfToken &name)
 Adds an output to this node type.
 
CallbackNodeType & ComputeInputDependencyMaskCallback (const DependencyCallbackNode::InputDependencyFunction &function)
 Sets an input dependency mask computation callback for this node type.
 
CallbackNodeType & ComputeOutputDependencyMaskCallback (const DependencyCallbackNode::OutputDependencyFunction &function)
 Sets an output dependency mask computation callback for this node type.
 
- Public Member Functions inherited from NodeType

Detailed Description

This class specifies a CallbackNode with a given callback function.

Definition at line 237 of file testUtils.h.

Constructor & Destructor Documentation

◆ 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

◆ ComputeInputDependencyMaskCallback()

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.

◆ ComputeOutputDependencyMaskCallback()

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.

◆ NewNode()

virtual VdfNode * NewNode ( VdfNetwork * net) const
inlinevirtual

Creates a CallbackNode from this node type.

Implements NodeType.

Definition at line 249 of file testUtils.h.

◆ Out()

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

Adds an output to this node type.

Definition at line 276 of file testUtils.h.

◆ Read()

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

Adds a ReadConnector to this node type.

Definition at line 259 of file testUtils.h.

◆ ReadWrite()

template<typename T >
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: