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

Allows users to implement their own StateVariables. More...

#include <IStateVariableImplementation.h>

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

Public Member Functions

virtual void SetValue (std::shared_ptr< IRuntimeContext > runtimeContext, std::shared_ptr< IStateVariable > stateVariable, std::shared_ptr< Object > value)=0
 Invoked each time the OTX runtime writes the value of a StateVariable to the environment. More...
 

Detailed Description

Allows users to implement their own StateVariables.

Member Function Documentation

◆ SetValue()

virtual void OpenTestSystem::Otx::Runtime::Api::Custom::IStateVariableImplementation::SetValue ( std::shared_ptr< IRuntimeContext runtimeContext,
std::shared_ptr< IStateVariable stateVariable,
std::shared_ptr< Object value 
)
pure virtual

Invoked each time the OTX runtime writes the value of a StateVariable to the environment.

Parameters
runtimeContextThe related runtime context.
variableThe related state variable.
valueValue of the state variable.

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


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