at.lcm.x2c.scilab.xcos.x2cAdapter
Class X2cAdapter_Block

java.lang.Object
  extended by at.lcm.x2c.scilab.xcos.x2cAdapter.X2cAdapter_Block

public class X2cAdapter_Block
extends java.lang.Object

Encapsulation of functionality regarding Xcos and X2c blocks

Author:
Martin Hochwallner

Constructor Summary
X2cAdapter_Block(org.scilab.modules.xcos.block.BasicBlock xcos_block)
           
X2cAdapter_Block(org.scilab.modules.xcos.block.BasicBlock xcos_block, X2cAdapter_Model x2c_model)
           
X2cAdapter_Block(XcosAdapter_Block xcosBlock)
           
X2cAdapter_Block(XcosAdapter_Block xcosBlock, X2cAdapter_Model x2c_model)
           
 
Method Summary
 at.lcm.x2c.core.structure.Block getBlock()
          Returns Block.
 java.lang.String getBlockLabel()
           
 java.lang.String getBlockName()
           
 java.lang.String getLibName()
           
 at.lcm.x2c.core.structure.Block getM2cBlock()
          Deprecated. Use getBlock() instead.
 X2cBlock getX2cBlock()
           
 org.scilab.modules.xcos.block.BasicBlock getXcosBlock()
           
 void setX2cModel(X2cAdapter_Model x2cModel)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X2cAdapter_Block

public X2cAdapter_Block(XcosAdapter_Block xcosBlock)
                 throws java.lang.Exception
Throws:
java.lang.Exception

X2cAdapter_Block

public X2cAdapter_Block(XcosAdapter_Block xcosBlock,
                        X2cAdapter_Model x2c_model)
                 throws java.lang.Exception
Throws:
java.lang.Exception

X2cAdapter_Block

public X2cAdapter_Block(org.scilab.modules.xcos.block.BasicBlock xcos_block)
                 throws java.lang.Exception
Throws:
java.lang.Exception

X2cAdapter_Block

public X2cAdapter_Block(org.scilab.modules.xcos.block.BasicBlock xcos_block,
                        X2cAdapter_Model x2c_model)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getXcosBlock

public org.scilab.modules.xcos.block.BasicBlock getXcosBlock()
Returns:
the xcos_block

getM2cBlock

@Deprecated
public at.lcm.x2c.core.structure.Block getM2cBlock()
Deprecated. Use getBlock() instead.

Returns:
the M2cBlock

getBlock

public at.lcm.x2c.core.structure.Block getBlock()
Returns Block.

Returns:
Block

getX2cBlock

public X2cBlock getX2cBlock()
Returns:
the X2cBlock

getLibName

public java.lang.String getLibName()
Returns:
the libName

getBlockName

public java.lang.String getBlockName()
Returns:
the blockName

getBlockLabel

public java.lang.String getBlockLabel()
Returns:
the blockLabel

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setX2cModel

public void setX2cModel(X2cAdapter_Model x2cModel)


Copyright 2013 LCM. All rights reserved.