genDevs.devsBridge.proxy
Class ViewableAtomicDevs

java.lang.Object
  extended by GenCol.entity
      extended by genDevs.modeling.devs
          extended by genDevs.modeling.atomic
              extended by simView.ViewableAtomic
                  extended by genDevs.devsBridge.proxy.ViewableAtomicDevs
All Implemented Interfaces:
GenCol.EntityInterface, DevsPortsI, genDevs.modeling.IOBasicDevs, genDevs.modeling.IODevs, simView.ViewableComponent
Direct Known Subclasses:
InitializeableAtomicDevs, ViewableAtomicCorba, ViewableAtomicCorbaFactory

public class ViewableAtomicDevs
extends simView.ViewableAtomic
implements DevsPortsI

ViewableAtomic that works a a proxy for a corbadevs::DevsPorts in addtion to atomicDevs it adds support for known inputs and outputs

Author:
twutz

Field Summary
protected  devsBridge.DevsPortsOperations devsMod
           
protected  MessageTranslator trans
           
 
Fields inherited from class simView.ViewableAtomic
backgroundColor, base, view
 
Fields inherited from class genDevs.modeling.atomic
a, INFINITY, mySim, phase, sigma
 
Fields inherited from class genDevs.modeling.devs
mh
 
Fields inherited from class GenCol.entity
name
 
Constructor Summary
protected ViewableAtomicDevs(java.lang.String name)
          constructor for subclasses, that want to set their own devsModel
  ViewableAtomicDevs(java.lang.String name, devsBridge.DevsPortsOperations devsMod, MessageTranslator trans)
           
 
Method Summary
 void deltcon(double e, genDevs.modeling.MessageInterface x)
           
 void deltext(double e, genDevs.modeling.MessageInterface x)
           
 void deltint()
           
 void initialize()
           
 genDevs.modeling.MessageInterface Out()
           
protected  void refreshPortNames()
           
 void showState()
           
 double ta()
           
 
Methods inherited from class simView.ViewableAtomic
addTestInput, addTestInput, createView, getAtomicView, getBackgroundColor, getFormattedPhase, getFormattedSigma, getFormattedTL, getFormattedTN, getInportNames, getLayoutName, getNumInports, getNumOutports, getOutportNames, getPreferredLocation, getSimulator, getTestInputs, getTooltipText, getView, isHidden, setBackgroundColor, setHidden, setLayoutName, setPreferredLocation, setSigma
 
Methods inherited from class genDevs.modeling.atomic
Continue, deltcon, deltext, getActivity, getPhase, getSigma, getSim, holdIn, holdIn, out, passivate, passivateIn, phaseIs, setSimulator, showState, startActiviry, stringState, ta, toString
 
Methods inherited from class genDevs.modeling.devs
addInport, addOutport, makeContent, makeContent, messageOnPort, messageOnPort
 
Methods inherited from class GenCol.entity
addSelf, eq, equalName, equals, getExtRep, getName, print, removeSelf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface genDevs.devsBridge.atomicExt.DevsPortsI
getInportNames, getOutportNames
 
Methods inherited from interface genDevs.modeling.IOBasicDevs
getActivity, setSimulator
 
Methods inherited from interface genDevs.modeling.IODevs
addInport, addOutport, makeContent, messageOnPort
 
Methods inherited from interface GenCol.EntityInterface
equalName, getExtRep, getName
 
Methods inherited from interface simView.ViewableComponent
getName
 

Field Detail

devsMod

protected devsBridge.DevsPortsOperations devsMod

trans

protected MessageTranslator trans
Constructor Detail

ViewableAtomicDevs

public ViewableAtomicDevs(java.lang.String name,
                          devsBridge.DevsPortsOperations devsMod,
                          MessageTranslator trans)
                   throws devsBridge.DevsCorbaException
Throws:
devsBridge.DevsCorbaException

ViewableAtomicDevs

protected ViewableAtomicDevs(java.lang.String name)
constructor for subclasses, that want to set their own devsModel

Method Detail

refreshPortNames

protected void refreshPortNames()

deltext

public void deltext(double e,
                    genDevs.modeling.MessageInterface x)
Overrides:
deltext in class genDevs.modeling.atomic

deltcon

public void deltcon(double e,
                    genDevs.modeling.MessageInterface x)
Overrides:
deltcon in class genDevs.modeling.atomic

deltint

public void deltint()
Overrides:
deltint in class genDevs.modeling.atomic

Out

public genDevs.modeling.MessageInterface Out()
Overrides:
Out in class genDevs.modeling.atomic

initialize

public void initialize()
Overrides:
initialize in class genDevs.modeling.atomic

ta

public double ta()

showState

public void showState()