ptolemy.actor.kiel
Class KielerIO

java.lang.Object
  extended by ptolemy.kernel.util.NamedObj
      extended by ptolemy.kernel.InstantiableNamedObj
          extended by ptolemy.kernel.Entity
              extended by ptolemy.kernel.ComponentEntity
                  extended by ptolemy.actor.AtomicActor
                      extended by ptolemy.actor.TypedAtomicActor
                          extended by ptolemy.actor.kiel.KielerIO
All Implemented Interfaces:
Serializable, Cloneable, ptolemy.actor.Actor, ptolemy.actor.Executable, ptolemy.actor.FiringsRecordable, ptolemy.actor.Initializable, ptolemy.actor.TypedActor, ptolemy.kernel.util.Changeable, ptolemy.kernel.util.Debuggable, ptolemy.kernel.util.DebugListener, ptolemy.kernel.util.Derivable, ptolemy.kernel.util.Instantiable, ptolemy.kernel.util.ModelErrorHandler, ptolemy.kernel.util.MoMLExportable, ptolemy.kernel.util.Moveable, ptolemy.kernel.util.Nameable

public class KielerIO
extends ptolemy.actor.TypedAtomicActor

KielerIO Actor for simulating SyncCharts with Ptolemy II.

See Also:
Serialized Form
Pt.AcceptedRating:
Red (cmot)
Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from class ptolemy.kernel.Entity
ptolemy.kernel.Entity.ContainedObjectsIterator
 
Field Summary
 ptolemy.data.expr.Parameter permanent
           
 ptolemy.data.expr.Parameter present
           
 ptolemy.actor.TypedIOPort signal
           
 ptolemy.data.expr.Parameter sname
           
 ptolemy.actor.TypedIOPort trigger
          This may trigger the actor in a DE domain.
 ptolemy.data.expr.Parameter value
           
 
Fields inherited from class ptolemy.actor.AtomicActor
_actorFiringListeners, _initializables, _notifyingActorFiring, _stopRequested
 
Fields inherited from class ptolemy.kernel.util.NamedObj
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
 
Fields inherited from interface ptolemy.actor.Executable
COMPLETED, NOT_READY, STOP_ITERATING
 
Constructor Summary
KielerIO(ptolemy.kernel.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 ptolemy.actor.TypedAtomicActor
_addPort, _fireAt, _fireAt, attributeTypeChanged, clone, newPort, typeConstraintList, typeConstraints
 
Methods inherited from class ptolemy.actor.AtomicActor
_actorFiring, _actorFiring, addActorFiringListener, addInitializable, clone, connectionsChanged, createReceivers, declareDelayDependency, getCausalityInterface, getDirector, getExecutiveDirector, getManager, inputPortList, isFireFunctional, isStrict, iterate, newReceiver, outputPortList, prefire, preinitialize, pruneDependencies, recordFiring, removeActorFiringListener, removeDependency, removeInitializable, setContainer, stop, stopFire, terminate
 
Methods inherited from class ptolemy.kernel.ComponentEntity
_adjustDeferrals, _checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, propagateExistence, setName
 
Methods inherited from class ptolemy.kernel.Entity
_description, _exportMoMLContents, _removePort, _validateSettables, connectedPortList, connectedPorts, containedObjectsIterator, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, setClassDefinition, uniqueName
 
Methods inherited from class ptolemy.kernel.InstantiableNamedObj
_setParent, exportMoML, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition
 
Methods inherited from class ptolemy.kernel.util.NamedObj
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _debug, _debug, _debug, _debug, _debug, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _propagateValue, _recordDecoratedAttributes, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, attributeChanged, attributeList, attributeList, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, propagateValue, propagateValues, removeChangeListener, removeDebugListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, validateSettables, workspace
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ptolemy.actor.Actor
createReceivers, getCausalityInterface, getDirector, getExecutiveDirector, getManager, inputPortList, newReceiver, outputPortList
 
Methods inherited from interface ptolemy.actor.Executable
isFireFunctional, isStrict, iterate, prefire, stop, stopFire, terminate
 
Methods inherited from interface ptolemy.actor.Initializable
addInitializable, preinitialize, removeInitializable
 
Methods inherited from interface ptolemy.kernel.util.Nameable
description, getContainer, getDisplayName, getFullName, getName, getName, setName
 
Methods inherited from interface ptolemy.kernel.util.Derivable
getDerivedLevel, getDerivedList, propagateValue
 

Field Detail

present

public ptolemy.data.expr.Parameter present

sname

public ptolemy.data.expr.Parameter sname

value

public ptolemy.data.expr.Parameter value

permanent

public ptolemy.data.expr.Parameter permanent

trigger

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


signal

public ptolemy.actor.TypedIOPort signal
Constructor Detail

KielerIO

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

Parameters:
container - The container.
name - The name of this actor.
Throws:
ptolemy.kernel.util.IllegalActionException - If the actor cannot be contained by the proposed container.
ptolemy.kernel.util.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 ptolemy.kernel.util.IllegalActionException
Specified by:
fire in interface ptolemy.actor.Executable
Overrides:
fire in class ptolemy.actor.AtomicActor
Throws:
ptolemy.kernel.util.IllegalActionException

postfire

public boolean postfire()
Specified by:
postfire in interface ptolemy.actor.Executable
Overrides:
postfire in class ptolemy.actor.AtomicActor

initialize

public void initialize()
                throws ptolemy.kernel.util.IllegalActionException
Specified by:
initialize in interface ptolemy.actor.Initializable
Overrides:
initialize in class ptolemy.actor.AtomicActor
Throws:
ptolemy.kernel.util.IllegalActionException

wrapup

public void wrapup()
            throws ptolemy.kernel.util.IllegalActionException
Specified by:
wrapup in interface ptolemy.actor.Initializable
Overrides:
wrapup in class ptolemy.actor.AtomicActor
Throws:
ptolemy.kernel.util.IllegalActionException