ErrorStatusChangeCallback#

Fully qualified name: omni::graph::core::ErrorStatusChangeCallback

struct ErrorStatusChangeCallback#

Encapsulation of a callback that happens when a node’s error status changes.

Public Functions

inline bool operator==(const ErrorStatusChangeCallback &rhs) const#

Equality operator for the error status 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 ErrorStatusChangeCallback &rhs) const#

Inequality operator for the error status 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 (*errorStatusChangeCallback)(const std::vector<NodeObj> &nodeList, GraphObj &graphObj, void *userData)#

Callback function definition.

Parameters are

  • nodeList List of nodes whose error status changed since the last compute

  • graphObj Graph to which the nodes belong

  • userData User data to pass to the callback

void *userData#

User data to pass to the callback function.