at.lcm.x2c.parameterEditor
Class X2cParameterEditor_Xcos

java.lang.Object
  extended by at.lcm.x2c.parameterEditor.X2cParameterEditor
      extended by at.lcm.x2c.parameterEditor.X2cParameterEditor_Xcos

public class X2cParameterEditor_Xcos
extends X2cParameterEditor

Xcos parameter editor.

Author:
Martin Hochwallner

Field Summary
 
Fields inherited from class at.lcm.x2c.parameterEditor.X2cParameterEditor
logger, x2cManager
 
Constructor Summary
X2cParameterEditor_Xcos(java.lang.String[][] exprs, java.lang.String xcosBlockId, double sampletimePreset)
           
X2cParameterEditor_Xcos(java.lang.String componentName, double sampletimePreset)
          X2cBlock getBlockWithDummyModel(String componentName, double sampletimePreset)
X2cParameterEditor_Xcos(X2cBlock block)
           
 
Method Summary
 double[][] getBlockInport_xcosDef()
           
 int getBlockInportCount()
          Return block's inport count
 java.lang.String[][] getBlockInportNames()
          Return block's inport names
 double[][] getBlockOutport_xcosDef()
           
 int getBlockOutportCount()
          Return block's outport count
 java.lang.String[][] getBlockOutportNames()
          Return block's outport names
 java.lang.String[] getControlerParameter_DoubleArrayParameter_names()
           
 java.util.ArrayList<double[][]> getControlerParameter_DoubleArrayParameter_values()
           
 java.lang.String[] getControlerParameter_DoubleParameter_names()
           
 double[] getControlerParameter_DoubleParameter_values()
           
 java.lang.String[] getControlerParameter_IntegerParameter_names()
           
 int[] getControlerParameter_IntegerParameter_values()
           
 X2cXcosControllerParameter getControlerParameter()
          Return the controller parameter
 java.lang.String getParameterValue(java.lang.String parameterName)
           
 java.lang.String getUsedImplementationName()
          Return the name of the used implementation
 at.lcm.x2c.core.structure.VisualizationScilabXcos getVisualization()
          Returns Visualization ScilabXcos.
 java.lang.String[][] getXcosExprs()
          Returns the block expressions.
 boolean isBlockPartOfModel()
          Returns true when block is part of a model
 boolean isCommunicatorOnline()
          Returns true when the communicator is online.
 
Methods inherited from class at.lcm.x2c.parameterEditor.X2cParameterEditor
getX2cBlock, identifyBlock, isResultValid, isTargetOnline, printBlockParameter, runGUI, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X2cParameterEditor_Xcos

public X2cParameterEditor_Xcos(X2cBlock block)

X2cParameterEditor_Xcos

public X2cParameterEditor_Xcos(java.lang.String componentName,
                               double sampletimePreset)
                        throws X2cEnvironmentScilabException
X2cBlock getBlockWithDummyModel(String componentName, double sampletimePreset)

Throws:
X2cEnvironmentScilabException

X2cParameterEditor_Xcos

public X2cParameterEditor_Xcos(java.lang.String[][] exprs,
                               java.lang.String xcosBlockId,
                               double sampletimePreset)
                        throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getXcosExprs

public java.lang.String[][] getXcosExprs()
                                  throws X2cEnvironmentScilabException
Returns the block expressions.

Returns:
Block expressions
Throws:
X2cEnvironmentScilabException

getControlerParameter

public X2cXcosControllerParameter getControlerParameter()
                                                 throws X2cEnvironmentScilabException
Return the controller parameter

Returns:
controller parameter
Throws:
X2cEnvironmentScilabException

getControlerParameter_IntegerParameter_names

public java.lang.String[] getControlerParameter_IntegerParameter_names()
                                                                throws X2cEnvironmentScilabException
Throws:
X2cEnvironmentScilabException

getControlerParameter_IntegerParameter_values

public int[] getControlerParameter_IntegerParameter_values()
                                                    throws X2cEnvironmentScilabException
Throws:
X2cEnvironmentScilabException

getControlerParameter_DoubleParameter_names

public java.lang.String[] getControlerParameter_DoubleParameter_names()
                                                               throws X2cEnvironmentScilabException
Throws:
X2cEnvironmentScilabException

getControlerParameter_DoubleParameter_values

public double[] getControlerParameter_DoubleParameter_values()
                                                      throws X2cEnvironmentScilabException
Throws:
X2cEnvironmentScilabException

getControlerParameter_DoubleArrayParameter_names

public java.lang.String[] getControlerParameter_DoubleArrayParameter_names()
                                                                    throws X2cEnvironmentScilabException
Throws:
X2cEnvironmentScilabException

getControlerParameter_DoubleArrayParameter_values

public java.util.ArrayList<double[][]> getControlerParameter_DoubleArrayParameter_values()
                                                                                  throws X2cEnvironmentScilabException
Throws:
X2cEnvironmentScilabException

getUsedImplementationName

public java.lang.String getUsedImplementationName()
Return the name of the used implementation

Returns:
name of the used implementation

getBlockInportNames

public java.lang.String[][] getBlockInportNames()
Return block's inport names

Returns:
block's inport names

getBlockInportCount

public int getBlockInportCount()
Return block's inport count

Returns:
block's inport count

getBlockInport_xcosDef

public double[][] getBlockInport_xcosDef()

getBlockOutportNames

public java.lang.String[][] getBlockOutportNames()
Return block's outport names

Returns:
block's outport names

getBlockOutportCount

public int getBlockOutportCount()
Return block's outport count

Returns:
block's outport count

getBlockOutport_xcosDef

public double[][] getBlockOutport_xcosDef()

getVisualization

public at.lcm.x2c.core.structure.VisualizationScilabXcos getVisualization()
                                                                   throws java.lang.Exception
Returns Visualization ScilabXcos.

Returns:
VisualizationScilabXcos
Throws:
java.lang.Exception

isBlockPartOfModel

public boolean isBlockPartOfModel()
Returns true when block is part of a model

Returns:
true when block is part of a model

isCommunicatorOnline

public boolean isCommunicatorOnline()
Description copied from class: X2cParameterEditor
Returns true when the communicator is online.

Overrides:
isCommunicatorOnline in class X2cParameterEditor
Returns:
true when the communicator is online.

getParameterValue

public java.lang.String getParameterValue(java.lang.String parameterName)
                                   throws X2cEnvironmentScilabException
Throws:
X2cEnvironmentScilabException


Copyright 2019 LCM. All rights reserved.