org.dawb.passerelle.common.actors
Class AbstractDataMessageSource

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 com.isencia.passerelle.actor.Actor
                              extended by com.isencia.passerelle.actor.Source
                                  extended by com.isencia.passerelle.actor.TriggeredSource
                                      extended by org.dawb.passerelle.common.actors.AbstractDataMessageSource
All Implemented Interfaces:
com.isencia.passerelle.message.interceptor.IMessageCreator, java.io.Serializable, java.lang.Cloneable, IVariableProvider, 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
Direct Known Subclasses:
DataImportSource, UserInputSource

public abstract class AbstractDataMessageSource
extends com.isencia.passerelle.actor.TriggeredSource
implements IVariableProvider

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.isencia.passerelle.actor.TriggeredSource
trigger, TRIGGER_PORT
 
Fields inherited from class com.isencia.passerelle.actor.Source
output
 
Fields inherited from class com.isencia.passerelle.actor.Actor
OPTIONS_FACTORY_CFG_NAME, receiverQueueCapacityParam, receiverQueueWarningSizeParam
 
Fields inherited from class ptolemy.kernel.util.NamedObj
ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
 
Fields inherited from interface ptolemy.actor.Executable
COMPLETED, NOT_READY, STOP_ITERATING
 
Constructor Summary
AbstractDataMessageSource(ptolemy.kernel.CompositeEntity container, java.lang.String name)
           
 
Method Summary
 java.util.List<IVariable> getInputVariables()
          These are cached and cleared when the model is.
 java.util.List<IVariable> getOutputVariables()
          Adds the scalar and the
 boolean isUpstreamVariable(java.lang.String name)
           
 
Methods inherited from class com.isencia.passerelle.actor.TriggeredSource
isTriggerConnected, waitForTrigger
 
Methods inherited from class com.isencia.passerelle.actor.Source
hasNoMoreMessages
 
Methods inherited from class com.isencia.passerelle.actor.Actor
createErrorMessage, createMessage, createMessage, createTriggerMessage, fire, getAuditLogger, getConfigurableParameter, getConfigurableParameter, getConfigurableParameters, getFullNameButWithoutModelName, getInfo, getOptionsFactory, initialize, isFinishRequested, isFiring, isMockMode, newReceiver, postfire, prefire, preinitialize, requestFinish, sendErrorMessage, stop, stopFire, terminate, wrapup
 
Methods inherited from class ptolemy.actor.TypedAtomicActor
attributeTypeChanged, clone, newPort, typeConstraintList
 
Methods inherited from class ptolemy.actor.AtomicActor
addActorFiringListener, addInitializable, clone, connectionsChanged, getDirector, getExecutiveDirector, getFunctionDependency, getManager, inputPortList, isFireFunctional, isStrict, iterate, outputPortList, pruneDependencies, recordFiring, removeActorFiringListener, removeDependency, removeInitializable, setContainer
 
Methods inherited from class ptolemy.kernel.ComponentEntity
getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, propagateExistence, setName
 
Methods inherited from class ptolemy.kernel.Entity
connectedPortList, connectedPorts, containedObjectsIterator, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, setClassDefinition, uniqueName
 
Methods inherited from class ptolemy.kernel.InstantiableNamedObj
exportMoML, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition
 
Methods inherited from class ptolemy.kernel.util.NamedObj
addChangeListener, addDebugListener, attributeChanged, attributeList, attributeList, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ptolemy.actor.Actor
getDirector, getExecutiveDirector, getFunctionDependency, getManager, inputPortList, outputPortList
 
Methods inherited from interface ptolemy.actor.Executable
isFireFunctional, isStrict, iterate
 
Methods inherited from interface ptolemy.actor.Initializable
addInitializable, 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
 

Constructor Detail

AbstractDataMessageSource

public AbstractDataMessageSource(ptolemy.kernel.CompositeEntity container,
                                 java.lang.String name)
                          throws ptolemy.kernel.util.NameDuplicationException,
                                 ptolemy.kernel.util.IllegalActionException
Throws:
ptolemy.kernel.util.NameDuplicationException
ptolemy.kernel.util.IllegalActionException
Method Detail

getOutputVariables

public java.util.List<IVariable> getOutputVariables()
Adds the scalar and the

Specified by:
getOutputVariables in interface IVariableProvider
Returns:

getInputVariables

public java.util.List<IVariable> getInputVariables()
These are cached and cleared when the model is.

Specified by:
getInputVariables in interface IVariableProvider
Returns:

isUpstreamVariable

public boolean isUpstreamVariable(java.lang.String name)