neuray Services API Programmer's Manual

mi::nservices::ICommand_execute_response_handler Class Reference

[Render Loops]

Description

Abstract interface called when command execution on a render loop has completed.

Public Member Functions

virtual void executed( const mi::IArray* responses, const mi::IArray* commands) =0
Called when all commands have executed. More...

Member Functions

virtual void mi::​nservices::​ICommand_execute_response_handler::executed( const mi::IArray* responses, const mi::IArray* commands) [pure virtual]

Called when all commands have executed. If execution was aborted due to error then the responses array may be smaller than the original command array, or have invalid or null values for commands that were not executed. The elements of responses are either const mi::nservices::ICommand_response or mi::neuraylib::IConst_pointer pointing to an mi::nservices::ICommand_response. The user should use mi::nservices::IFactory::unwrap() to extract the individual response elements.

Parameters

responses
array of responses to the commands
commands
array of mi::nservices::ICommand_request commands called