public class ExecutableChainImpl extends ExecutableProcessImpl implements IProcessChainExec
Implementation of an executable process chain.
This class can be associated with an
AggregateProcess to provide
execution capability, but this will only work if all components
of the aggregate also have an executable implementation associated
to them.
| Constructor and Description |
|---|
ExecutableChainImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
combineInputBlocks() |
void |
combineOutputBlocks() |
void |
connectInternalInput(String inputName,
String dataPath,
DataConnection connection) |
void |
connectInternalOutput(String outputName,
String dataPath,
DataConnection connection) |
void |
connectInternalParam(String paramName,
String dataPath,
DataConnection connection) |
void |
createNewOutputBlocks()
Creates new DataBlock for each output signal
|
void |
dispose()
Override to dispose of all resources allocated
for the process (stop threads, OS resources, etc...)
Default method does nothing.
|
void |
execute()
Execute is typically called several times on a process and should
contain all the logic to transform input/parameter values to
output values.
|
List<DataConnection> |
getInternalConnections() |
void |
init()
Initialize the process and its internal variables (fixed parameters).
|
boolean |
isChildrenThreadsOn() |
void |
reset()
Resets the process (especially asnchronous ones) before it can be run again.
|
void |
setChildrenThreadsOn(boolean childrenThreadsOn) |
void |
setOutputNeeded(int outputIndex,
boolean needed) |
void |
start()
Start process thread
|
void |
stop()
Stop process thread gracefully
|
canRun, connectInput, connectOutput, connectParameter, createNewInputBlocks, getInputConnections, getInputList, getName, getOutputConnections, getOutputList, getParamConnections, getParameterList, isInputConnected, isOutputConnected, isParamConnected, isUsingQueueBuffers, needSync, run, setAvailability, setUsingQueueBuffers, toString, transferDataequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcanRun, connectInput, connectOutput, connectParameter, createNewInputBlocks, getInputConnections, getInputList, getName, getOutputConnections, getOutputList, getParamConnections, getParameterList, isInputConnected, isOutputConnected, isParamConnected, isUsingQueueBuffers, needSync, run, setAvailability, setUsingQueueBuffers, transferDatapublic void init()
throws SMLException
IProcessExecinit in interface IProcessExecinit in class ExecutableProcessImplSMLExceptionpublic void reset()
throws SMLException
IProcessExecreset in interface IProcessExecreset in class ExecutableProcessImplSMLExceptionpublic void dispose()
IProcessExecdispose in interface IProcessExecdispose in class ExecutableProcessImplpublic void execute()
throws SMLException
IProcessExecexecute in interface IProcessExecexecute in class ExecutableProcessImplSMLExceptionpublic void createNewOutputBlocks()
IProcessExeccreateNewOutputBlocks in interface IProcessExeccreateNewOutputBlocks in class ExecutableProcessImplpublic void combineInputBlocks()
public void combineOutputBlocks()
public void connectInternalInput(String inputName, String dataPath, DataConnection connection) throws SMLException
connectInternalInput in interface IProcessChainExecSMLExceptionpublic void connectInternalOutput(String outputName, String dataPath, DataConnection connection) throws SMLException
connectInternalOutput in interface IProcessChainExecSMLExceptionpublic void connectInternalParam(String paramName, String dataPath, DataConnection connection) throws SMLException
connectInternalParam in interface IProcessChainExecSMLExceptionpublic void start()
throws SMLException
IProcessExecstart in interface IProcessExecstart in class ExecutableProcessImplSMLExceptionpublic void stop()
IProcessExecstop in interface IProcessExecstop in class ExecutableProcessImplpublic boolean isChildrenThreadsOn()
isChildrenThreadsOn in interface IProcessChainExecpublic void setChildrenThreadsOn(boolean childrenThreadsOn)
setChildrenThreadsOn in interface IProcessChainExecpublic List<DataConnection> getInternalConnections()
getInternalConnections in interface IProcessChainExecpublic void setOutputNeeded(int outputIndex,
boolean needed)
setOutputNeeded in interface IProcessChainExecCopyright © 2016 VAST Team / Sensia Software LLC. All rights reserved.