OmniGraph Node omni.graph.test.ComputeErrorCpp

omni.graph.test.ComputeErrorCpp Properties

Name

Value

Version

1

Extension

omni.graph.test

Icon

ogn/icons/omni.graph.test.ComputeErrorCpp.svg

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Generate compute error (C++)

__categories

internal:test

Generated Class Name

OgnComputeErrorCppDatabase

Python Module

omni.graph.test

omni.graph.test.ComputeErrorCpp Description

Generates a customizable error during its compute(), for testing purposes. C++ version.

omni.graph.test.ComputeErrorCpp Inputs

Name

Type

Default

Required?

Descripton

inputs:dummyIn

int

0

Y

Dummy value to be copied to the output.

__default

0

inputs:failCompute

bool

False

Y

If true, the compute() call will return failure to the evaluator.

__default

false

inputs:message

string

Y

Text of the error message.

inputs:severity

token

none

Y

Severity of the error. ‘none’ disables the error.

allowedTokens

none,warning,error

__allowedTokens

[“none”, “warning”, “error”]

__default

“none”

omni.graph.test.ComputeErrorCpp Outputs

Name

Type

Default

Required?

Descripton

outputs:dummyOut

int

0

Y

Value copied from ‘dummyIn’

__default

0