HDK
|
#include <OP_InputChangeHelper.h>
Public Member Functions | |
void | resetChangedSourceFlags () |
Mark all inputs as dirty. This is the default. More... | |
void | inputConnectChanged (const OP_Node &node, int which_input) |
bool | useInput (const OP_Node &node, unsigned idx, bool &changed, bool force) |
bool | checkChangedSourceFlags (const OP_Node &node, unsigned idx, bool &changed) |
int64 | getMemoryUsage (bool inclusive) const |
Definition at line 34 of file OP_InputChangeHelper.h.
|
inline |
Similar to useInput() except it doesn't affect the flags. It's used to simply query whether the given input has changed. Returns false if there's errors on the input. "changed" is updated.
Definition at line 83 of file OP_InputChangeHelper.h.
|
inline |
Definition at line 100 of file OP_InputChangeHelper.h.
Mark the given input as dirty. NOTE: Users of this class should override OP_Node::inputConnectChanged() to call this.
Definition at line 47 of file OP_InputChangeHelper.h.
|
inline |
Mark all inputs as dirty. This is the default.
Definition at line 39 of file OP_InputChangeHelper.h.
|
inline |
Use the given input on the node. This updates source flags to mark the input as now clean, returning whether the input changes. If force is true, then we treat the input as always dirty. Returns false if input has errors and we'll add an input error in that case.
Definition at line 60 of file OP_InputChangeHelper.h.