Default state variable implementation
More...
#include <StateVariableImplementation.h>
Default state variable implementation
◆ GetValue()
std::shared_ptr<Object> OpenTestSystem::Otx::Runtime::Api::Custom::StateVariableImplementation::GetValue |
( |
std::shared_ptr< IStateVariable > |
stateVariable | ) |
|
Return value of a certain State Variable
- Parameters
-
stateVariable | State Variable which value need to be get |
- Returns
- stateVariable's value
◆ ResetAllValues()
void OpenTestSystem::Otx::Runtime::Api::Custom::StateVariableImplementation::ResetAllValues |
( |
| ) |
|
Reset all values, which were set by SetValue method.
◆ SetStateVariableValueChangedHandler()
void OpenTestSystem::Otx::Runtime::Api::Custom::StateVariableImplementation::SetStateVariableValueChangedHandler |
( |
std::shared_ptr< std::function< void(std::shared_ptr< IStateVariable >, std::shared_ptr< Object >)> |
, |
|
|
listener |
|
|
) |
| |
An Event handler, fire when State Variable value is changed.
- Parameters
-
stateVariable | State Variable which value is changed |
value | New value |
◆ SetValue()
void OpenTestSystem::Otx::Runtime::Api::Custom::StateVariableImplementation::SetValue |
( |
std::shared_ptr< IRuntimeContext > |
runtimeContext, |
|
|
std::shared_ptr< IStateVariable > |
stateVariable, |
|
|
std::shared_ptr< Object > |
value |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following file: