ptolemy.actor.kiel
Class KielerIO

java.lang.Object
  extended by TypedAtomicActor
      extended by ptolemy.actor.kiel.KielerIO

public class KielerIO
extends TypedAtomicActor

KielerIO Actor for simulating SyncCharts with Ptolemy II.

Pt.AcceptedRating:
Red (cmot)
Rating red

Field Summary
 Parameter permanent
           
 Parameter present
           
 TypedIOPort signal
           
 Parameter sname
           
 TypedIOPort trigger
          This may trigger the actor in a DE domain.
 Parameter value
           
 
Constructor Summary
KielerIO(CompositeEntity container, String name)
          Construct an actor with the given container and name.
 
Method Summary
 void fire()
           
 String getSignalName()
           
 int getValue()
           
 void initialize()
           
 boolean postfire()
           
 void setPermanent(boolean permanent)
           
 void setPresent(boolean present)
           
 void setSignalName(String name)
           
 void setValue(int value)
           
 void wrapup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

present

public Parameter present

sname

public Parameter sname

value

public Parameter value

permanent

public Parameter permanent

trigger

public TypedIOPort trigger
This may trigger the actor in a DE domain.


signal

public TypedIOPort signal
Constructor Detail

KielerIO

public KielerIO(CompositeEntity container,
                String name)
         throws NameDuplicationException,
                IllegalActionException
Construct an actor with the given container and name.

Parameters:
container - The container.
name - The name of this actor.
Throws:
IllegalActionException - If the actor cannot be contained by the proposed container.
NameDuplicationException - If the container already has an actor with this name.
Method Detail

setValue

public void setValue(int value)

setPermanent

public void setPermanent(boolean permanent)

setPresent

public void setPresent(boolean present)

setSignalName

public void setSignalName(String name)

getSignalName

public String getSignalName()

getValue

public int getValue()

fire

public void fire()
          throws IllegalActionException
Throws:
IllegalActionException

postfire

public boolean postfire()

initialize

public void initialize()
                throws IllegalActionException
Throws:
IllegalActionException

wrapup

public void wrapup()
            throws IllegalActionException
Throws:
IllegalActionException