Gets the standard output from a model as well as notifications.

Namespace:  Quanser.Targets
Assembly:  Quanser.Targets (in Quanser.Targets.dll)

Syntax

Visual Basic (Declaration)
Public Sub GetModelOutput ( _
	callbacks As IModelOutput, _
	context As Object _
)
C#
public void GetModelOutput(
	IModelOutput callbacks,
	Object context
)
Visual C++
public:
void GetModelOutput(
	IModelOutput^ callbacks, 
	Object^ context
)
JavaScript
function getModelOutput(callbacks, context);

Parameters

callbacks
Type: Quanser.Targets..::.IModelOutput
The interface whose methods will be called.
context
Type: System..::.Object
An arbitrary value to pass to each interface method.

Remarks

When this method is invoked, the callbacks will be called in the context of the same thread as events occur, until one of the callbacks returns a negative error code. The callbacks are used to notify the caller of events such as the model loading or terminating, as well as when the model writes to stdout or stderr.

See Also