OTX-Runtime for C++  
OpenTestSystem::Otx::Runtime::Api::Custom::IMeasureImplementation Class Referenceabstract

Allows users to implement their own Measure extension. More...

#include <IMeasureImplementation.h>

Inheritance diagram for OpenTestSystem::Otx::Runtime::Api::Custom::IMeasureImplementation:
Inheritance graph

Public Member Functions

virtual void ExecuteDeviceService (std::shared_ptr< IRuntimeContext > runtimeContext, std::shared_ptr< MeasureImplementation::IDeviceService > deviceService, std::list< std::shared_ptr< MeasureImplementation::IDeviceServiceParameter >> parameters, bool suppressInvalidMeasurementException, bool executeAsync)=0
 Invoked when a ExecuteDeviceService occurs in OTX-Runtime. More...
 

Detailed Description

Allows users to implement their own Measure extension.

Member Function Documentation

◆ ExecuteDeviceService()

virtual void OpenTestSystem::Otx::Runtime::Api::Custom::IMeasureImplementation::ExecuteDeviceService ( std::shared_ptr< IRuntimeContext runtimeContext,
std::shared_ptr< MeasureImplementation::IDeviceService deviceService,
std::list< std::shared_ptr< MeasureImplementation::IDeviceServiceParameter >>  parameters,
bool  suppressInvalidMeasurementException,
bool  executeAsync 
)
pure virtual

Invoked when a ExecuteDeviceService occurs in OTX-Runtime.

Parameters
runtimeContextThe related runtime context.
deviceServiceDeviceService represents an OTX DeviceService.
parametersArguments which are passed to ExecuteDeviceService.
suppressInvalidMeasurementException
executeAsyncExecuteAsync tells the communication backend to make this device service execution non-blocking. This means that if executeAsync is set to true, the OTX execution flow will immediately move on to the next Action, without waiting for the result of the ExecuteDeviceService action.

Implemented in OpenTestSystem::Otx::Runtime::Api::Custom::DefaultMeasureImplementation.


The documentation for this class was generated from the following file: