ptolemy.domains.sr.lib
Class Absent

java.lang.Object
  |
  +--ptolemy.kernel.util.NamedObj
        |
        +--ptolemy.kernel.Entity
              |
              +--ptolemy.kernel.ComponentEntity
                    |
                    +--ptolemy.actor.AtomicActor
                          |
                          +--ptolemy.actor.TypedAtomicActor
                                |
                                +--ptolemy.actor.lib.Source
                                      |
                                      +--ptolemy.domains.sr.lib.Undefined
                                            |
                                            +--ptolemy.domains.sr.lib.Absent
All Implemented Interfaces:
Actor, java.lang.Cloneable, Debuggable, Executable, Nameable, java.io.Serializable, TypedActor

public class Absent
extends Undefined

This actor outputs absent values. That is, it produces no tokens, and it calls the sendAbsent() method of the output port on each firing.

Since:
Ptolemy II 2.0
Version:
$Id: Absent.java,v 1.6 2002/02/21 20:31:02 cxh Exp $
Author:
Paul Whitaker
See Also:
Serialized Form

Inner classes inherited from class ptolemy.kernel.util.NamedObj
NamedObj.MoMLInfo
 
Fields inherited from class ptolemy.domains.sr.lib.Undefined
outputType
 
Fields inherited from class ptolemy.actor.lib.Source
output, trigger
 
Fields inherited from class ptolemy.kernel.util.NamedObj
_changeListeners, _debugging, _debugListeners, _uniqueNameIndex, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
 
Fields inherited from interface ptolemy.actor.Executable
COMPLETED, NOT_READY, STOP_ITERATING
 
Constructor Summary
Absent(CompositeEntity container, java.lang.String name)
          Construct an actor in the specified container with the specified name.
 
Method Summary
 void fire()
          Output an absent value by calling the sendAbsent() method of the output port.
 
Methods inherited from class ptolemy.domains.sr.lib.Undefined
attributeChanged
 
Methods inherited from class ptolemy.actor.TypedAtomicActor
_addPort, attributeTypeChanged, newPort, typeConstraintList
 
Methods inherited from class ptolemy.actor.AtomicActor
clone, connectionsChanged, getDirector, getExecutiveDirector, getManager, initialize, inputPortList, iterate, newReceiver, outputPortList, postfire, prefire, preinitialize, setContainer, stopFire, terminate, wrapup
 
Methods inherited from class ptolemy.kernel.ComponentEntity
_checkContainer, getContainer, isAtomic, isOpaque, setName
 
Methods inherited from class ptolemy.kernel.Entity
_description, _exportMoMLContents, _removePort, connectedPortList, connectedPorts, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, uniqueName
 
Methods inherited from class ptolemy.kernel.util.NamedObj
_addAttribute, _attachText, _debug, _debug, _debug, _debug, _debug, _getIndentPrefix, _removeAttribute, _splitName, addChangeListener, addDebugListener, attributeList, attributeList, clone, deepContains, depthInHierarchy, description, description, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, getAttribute, getAttributes, getFullName, getMoMLInfo, getName, getName, removeChangeListener, removeDebugListener, requestChange, setDeferMoMLDefinitionTo, toplevel, toString, workspace
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ptolemy.actor.Actor
getDirector, getExecutiveDirector, getManager, inputPortList, newReceiver, outputPortList
 
Methods inherited from interface ptolemy.actor.Executable
initialize, iterate, postfire, prefire, preinitialize, stopFire, terminate, wrapup
 

Constructor Detail

Absent

public Absent(CompositeEntity container,
              java.lang.String name)
       throws IllegalActionException,
              NameDuplicationException
Construct an actor in the specified container with the specified name.
Parameters:
container - The container.
name - The name of this actor within the container.
Throws:
IllegalActionException - If the actor cannot be contained by the proposed container.
NameDuplicationException - If the name coincides with an actor already in the container.
Method Detail

fire

public void fire()
          throws IllegalActionException
Output an absent value by calling the sendAbsent() method of the output port.
Overrides:
fire in class Source
Throws:
IllegalActionException - If there is no director.