omni::graph::core::PathChangedCallback
Defined in omni/graph/core/iComputeGraph.h
-
struct PathChangedCallback
Callback object used when a path has changed, requiring a path attribute update.
Public Functions
-
inline bool operator==(const PathChangedCallback &rhs) const
Equality operator for the path change callback object.
- Parameters
rhs – Callback object to compare against
- Returns
true The callback object is equal to
rhs
- Returns
false The callback object is not equal to
rhs
-
inline bool operator!=(const PathChangedCallback &rhs) const
Inequality operator for the path change callback object.
- Parameters
rhs – Callback object to compare against
- Returns
true The callback object is not equal to
rhs
- Returns
false The callback object is equal to
rhs
Public Members
-
void (*pathChangedCallback)(const omni::fabric::PathC *paths, const size_t numPaths, void *userData)
Callback function definition.
Parameters are
paths Array of paths that have changed
numPaths Number of paths in the array
userData User data to pass to the callback
-
void *userData
User data to pass to the callback function.
-
inline bool operator==(const PathChangedCallback &rhs) const