ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 342)
Class which does everything that a combination of a DataHistory and a JobManager can do. Can be implemented using the inputs to a normal construct(…) call, but can do something else entirely. Thread-safe.
Members
- addVariable
- canNewJob
- clear
- dataHistory
- getMetaDataProvider
- getVariableDisplayName
- getVariableEquation
- isDesignVariable
- isInput
- newJob
- numRuns
- numThreads
- numVariables
- runInParallel
- runJobAsync
- setInput
- setRunInputs
- setVariableInputs
- supportsParallelExecution
- validateAll
Properties
Property dataHistory
ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 1)
Property validateAll
ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 1)
Property runInParallel
ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 1)
Property numThreads
ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 1)
Property numRuns
ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 376)
Property numVariables
ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 381)
Property supportsParallelExecution
ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 413)
runInParallel and numThreads are ignored.
Return type:
Property canNewJob
ModelCenter/src/InterfaceDLL\_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 418)
Public functions
Function getVariableEquation
- index: The index.
- long index
Function getVariableDisplayName
- index: The index.
- long index
Function isDesignVariable
- which: The name or index of the variable.
- VARIANT which
Function isInput
- which: The name or index of the variable.
- VARIANT which
Function newJob
- numRuns: The number of runs to execute.
- InvalidOperationException: If a job is running but the current implementation does not support concurrent jobs.
- long numRuns
Function clear
Function addVariable
- equation: The equation of the variable.
- displayName: The display name to use for the value.
- isInput: Whether the variable is an input.
- BSTR equation
- BSTR displayName
- boolean isInput
Function setInput
- runIndex: The index of the run.
- which: The name or index of the variable.
- value: The value to set (in native format; do not convert to string)
- long runIndex
- VARIANT which
- VARIANT value
Function setRunInputs
- runIndex: The index of the run.
- values: The values, which must have the same number of elements as
- which: The indices or names of the variables to set, omit for all
- long runIndex
- SAFEARRAY(VARIANT) values
- [optional] SAFEARRAY(VARIANT) which
Function setVariableInputs
- which: Which variable (index or name).
- values: The values to set.
- runIndices: The runs to set values for; if null/empty, assume all.
- VARIANT which
- SAFEARRAY(VARIANT) values
- [optional] SAFEARRAY(long) runIndices