omni::graph::exec::unstable::ScopedExecutionDebug

Defined in omni/graph/exec/unstable/INodeGraphDefDebug.h

class ScopedExecutionDebug

Scoped object used mark that a given INodeGraphDef is currently executing.

Since INodeGraphDef objects can be shared across nodes, it is safe to create multiple instances of this object with the same INodeGraphDef.

Public Functions

inline ScopedExecutionDebug(omni::core::ObjectParam<IBase> nodeGraphDef)

Marks the given INodeGraphDef as executing.

The given graph definition may be nullptr.

inline ~ScopedExecutionDebug()

Decrements the given INodeGraphDef’s execution tracker.