Serialized Form


Package com.jgoodies.forms.debug

Class com.jgoodies.forms.debug.FormDebugPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

paintInBackground

boolean paintInBackground
Specifies whether the grid shall be painted in the background. Is off by default and so the grid is painted in the foreground.


paintDiagonals

boolean paintDiagonals
Specifies whether the container's diagonals should be painted.


gridColor

java.awt.Color gridColor
Holds the color used to paint the debug grid.


Package com.jgoodies.forms.layout

Class com.jgoodies.forms.layout.CellConstraints extends java.lang.Object implements Serializable

Serialized Fields

gridX

int gridX
Describes the component's horizontal grid origin (starts at 1).


gridY

int gridY
Describes the component's vertical grid origin (starts at 1).


gridWidth

int gridWidth
Describes the component's horizontal grid extend (number of cells).


gridHeight

int gridHeight
Describes the component's vertical grid extent (number of cells).


hAlign

CellConstraints.Alignment hAlign
Describes the component's horizontal alignment.


vAlign

CellConstraints.Alignment vAlign
Describes the component's vertical alignment.


insets

java.awt.Insets insets
Describes the component's Insets in it's display area.

Class com.jgoodies.forms.layout.CellConstraints.Alignment extends java.lang.Object implements Serializable

Serialization Methods

readResolve

private java.lang.Object readResolve()
Serialized Fields

ordinal

int ordinal

Class com.jgoodies.forms.layout.ColumnSpec extends FormSpec implements Serializable

Class com.jgoodies.forms.layout.ConstantSize extends java.lang.Object implements Serializable

Serialized Fields

value

double value

unit

ConstantSize.Unit unit

Class com.jgoodies.forms.layout.ConstantSize.Unit extends java.lang.Object implements Serializable

Serialization Methods

readResolve

private java.lang.Object readResolve()
Serialized Fields

ordinal

int ordinal

Class com.jgoodies.forms.layout.FormLayout extends java.lang.Object implements Serializable

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
In addition to the default serialization mechanism this class invalidates the component size cache. The cache will be populated again after the deserialization. Also, the fields colComponents and rowComponents have been marked as transient to exclude them from the serialization.

Throws:
java.io.IOException
Serialized Fields

colSpecs

java.util.List<E> colSpecs
Holds the column specifications.

See Also:
ColumnSpec, FormLayout.getColumnCount(), FormLayout.getColumnSpec(int), FormLayout.appendColumn(ColumnSpec), FormLayout.insertColumn(int, ColumnSpec), FormLayout.removeColumn(int)

rowSpecs

java.util.List<E> rowSpecs
Holds the row specifications.

See Also:
RowSpec, FormLayout.getRowCount(), FormLayout.getRowSpec(int), FormLayout.appendRow(RowSpec), FormLayout.insertRow(int, RowSpec), FormLayout.removeRow(int)

colGroupIndices

int[][] colGroupIndices
Holds the column groups as an array of arrays of column indices.

See Also:
FormLayout.getColumnGroups(), FormLayout.setColumnGroups(int[][]), FormLayout.addGroupedColumn(int)

rowGroupIndices

int[][] rowGroupIndices
Holds the row groups as an array of arrays of row indices.

See Also:
FormLayout.getRowGroups(), FormLayout.setRowGroups(int[][]), FormLayout.addGroupedRow(int)

constraintMap

java.util.Map<K,V> constraintMap
Maps components to their associated CellConstraints.

See Also:
CellConstraints, FormLayout.getConstraints(Component), FormLayout.setConstraints(Component, CellConstraints)

componentSizeCache

FormLayout.ComponentSizeCache componentSizeCache
Caches component minimum and preferred sizes. All requests for component sizes shall be directed to the cache.


minimumWidthMeasure

FormLayout.Measure minimumWidthMeasure
These functional objects are used to measure component sizes. They abstract from horizontal and vertical orientation and so, allow to implement the layout algorithm for both orientations with a single set of methods.


minimumHeightMeasure

FormLayout.Measure minimumHeightMeasure

preferredWidthMeasure

FormLayout.Measure preferredWidthMeasure

preferredHeightMeasure

FormLayout.Measure preferredHeightMeasure

Class com.jgoodies.forms.layout.FormSpec extends java.lang.Object implements Serializable

Serialized Fields

defaultAlignment

FormSpec.DefaultAlignment defaultAlignment
Holds the default alignment that will be used if a cell does not override this default.


size

Size size
Holds the size that describes how to size this column or row.


resizeWeight

double resizeWeight
Holds the resize weight; is 0 if not used.

Class com.jgoodies.forms.layout.FormSpec.DefaultAlignment extends java.lang.Object implements Serializable

Serialization Methods

readResolve

private java.lang.Object readResolve()
Serialized Fields

ordinal

int ordinal

Class com.jgoodies.forms.layout.RowSpec extends FormSpec implements Serializable


Package com.microstar.xml

Class com.microstar.xml.XmlException extends java.lang.Exception implements Serializable

Serialized Fields

_message

java.lang.String _message

_cause

java.lang.Throwable _cause

_systemId

java.lang.String _systemId

_line

int _line

_column

int _column

Package diva.canvas

Class diva.canvas.JCanvas extends javax.swing.JComponent implements Serializable

Serialized Fields

_offscreen

java.awt.image.BufferedImage _offscreen
The off-screen image.

 

_canvasPane

CanvasPane _canvasPane
The contained canvas pane.

 

_horizontalRangeModel

javax.swing.DefaultBoundedRangeModel _horizontalRangeModel
range model to control the horizontal movement of the model


_verticalRangeModel

javax.swing.DefaultBoundedRangeModel _verticalRangeModel
range model to control the vertical movement of the model


Package diva.canvas.connector

Class diva.canvas.connector.ConnectorEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
The event ID.

 
See Also:
ConnectorEvent.getID()

_end

int _end
The end this event concerns.

 
See Also:
ConnectorEvent.getEnd()

_target

Figure _target
The target figure

 
See Also:
ConnectorEvent.getTarget()

_connector

Connector _connector
The connector that is being operated on.

 
See Also:
ConnectorEvent.getConnector()

Package diva.canvas.event

Class diva.canvas.event.LayerEvent extends java.awt.event.MouseEvent implements Serializable

Serialized Fields

_layerSource

CanvasLayer _layerSource
The layer source

 

_figureSource

Figure _figureSource
The figure source

 

_layerX

double _layerX
The x coordinate.

 

_layerY

double _layerY
The y coordinate.

 

_backingEvent

java.awt.event.MouseEvent _backingEvent
The event that this event was constructed from.

 

Package diva.canvas.interactor

Class diva.canvas.interactor.SelectionEvent extends java.util.EventObject implements Serializable

Serialized Fields

_added

java.lang.Object[] _added
The objects added to the selection.

 

_removed

java.lang.Object[] _removed
The objects removed from the selection.

 

_primary

java.lang.Object _primary
The primary selected object.

 

Package diva.graph

Class diva.graph.GraphEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
 
See Also:
GraphEvent.getID()

_target

java.lang.Object _target
The value of the event.

 

_oldValue

java.lang.Object _oldValue
 
See Also:
GraphEvent.getOldValue()

Class diva.graph.GraphException extends java.lang.RuntimeException implements Serializable

Class diva.graph.GraphViewEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
 
See Also:
GraphViewEvent.getID()

_target

java.lang.Object _target
The value of the event.

 

_oldValue

java.lang.Object _oldValue
 
See Also:
GraphViewEvent.getOldValue()

Class diva.graph.JGraph extends JCanvas implements Serializable


Package diva.graph.basic

Class diva.graph.basic.BasicGraphDemoApplet extends AppletContext implements Serializable

Class diva.graph.basic.BubbleGraphDemoApplet extends AppletContext implements Serializable


Package diva.graph.tutorial

Class diva.graph.tutorial.EditorTutorial.LayoutWidget extends javax.swing.JPanel implements Serializable

Serialized Fields

_graph

java.lang.Object _graph
The graph that will be layed out.


_nameMap

java.util.HashMap<K,V> _nameMap
Mapping from layout name to layout object.


_configMap

java.util.HashMap<K,V> _configMap
Mapping from layout object to configuration widget.


_layoutList

javax.swing.JComboBox _layoutList
List that user selects from to choose the layout.


_applyBtn

javax.swing.JButton _applyBtn
Button to apply the layout.


Package diva.gui

Class diva.gui.AppletContext extends javax.swing.JApplet implements Serializable

Class diva.gui.ApplicationContext extends javax.swing.JFrame implements Serializable

Class diva.gui.BasicFrame extends ApplicationContext implements Serializable

Class diva.gui.ViewEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
The event type.

 

Package diva.gui.toolbox

Class diva.gui.toolbox.FigureIcon extends javax.swing.ImageIcon implements Serializable

Class diva.gui.toolbox.JCanvasPalette extends JCanvas implements Serializable

Class diva.gui.toolbox.JCanvasPanner extends javax.swing.JPanel implements Serializable

Serialized Fields

_target

JCanvas _target
The target window that is being wrapped.

Class diva.gui.toolbox.JContextMenu extends javax.swing.JPopupMenu implements Serializable

Serialized Fields

_target

java.lang.Object _target

Class diva.gui.toolbox.JPalette extends javax.swing.JPanel implements Serializable

Class diva.gui.toolbox.JPanner extends javax.swing.JPanel implements Serializable

Serialized Fields

_target

javax.swing.JViewport _target
The target window that is being wrapped.


_listener

JPanner.ScrollListener _listener
The scrolling listener;


_scaleMouseListener

JPanner.ScaleMouseListener _scaleMouseListener
The mouse listener on the panner that is responsible for scaling.

Class diva.gui.toolbox.JPseudoFrame extends javax.swing.JComponent implements Serializable

Class diva.gui.toolbox.JShadePane extends javax.swing.JPanel implements Serializable

Serialized Fields

_selectedIndex

int _selectedIndex
The selected index.


_shades

java.util.ArrayList<E> _shades
The shades in this pane.

Class diva.gui.toolbox.JStatusBar extends javax.swing.JPanel implements Serializable

Serialized Fields

_progress

javax.swing.JProgressBar _progress
The progress bar associated with this status bar


_message

javax.swing.JLabel _message
The label that displays the status message.


_messageBorder

javax.swing.border.Border _messageBorder
The border around the message

Class diva.gui.toolbox.JTreePane extends javax.swing.JSplitPane implements Serializable

Serialized Fields

_selectedTitle

java.lang.String _selectedTitle
The selected title.


_defaultPanel

javax.swing.JPanel _defaultPanel
The panel that is used when the component gets set to null.


_tree

javax.swing.JTree _tree
The Tree.


_scrollPane

javax.swing.JScrollPane _scrollPane
The ScrollPane around the tree.


_scrollPaneSize

java.awt.Dimension _scrollPaneSize
The preferred size of the scrollpane. This is required because the splitpane doesn't remember it's size if we change the component that is in it, unless we give it a preferred size.

Class diva.gui.toolbox.ListDataModel extends javax.swing.DefaultComboBoxModel implements Serializable


Package diva.gui.tutorial

Class diva.gui.tutorial.AppletTutorial extends AppletContext implements Serializable


Package diva.util.jester

Class diva.util.jester.TestFailedException extends java.lang.Exception implements Serializable

Serialized Fields

first

java.lang.Object first
One of the objects involved in the failed test.

 

second

java.lang.Object second
Another of the objects involved in the failed test.

 

Package lbnl.actor.lib

Class lbnl.actor.lib.Simulator extends SDFTransformer implements Serializable

Serialized Fields

programArguments

Parameter programArguments
Arguments of program that starts the simulation.


programName

FileParameter programName
Name of program that starts the simulation.


socketPortNumber

Parameter socketPortNumber
Port number for BSD socket (used if non-negative).


simulationLogFile

FileParameter simulationLogFile
File name to which this actor writes the simulation log.


socketConfigurationFile

FileParameter socketConfigurationFile
File name to which this actor writes the socket configuration.


socketTimeout

Parameter socketTimeout
Socket time out in milliseconds.


workingDirectory

FileParameter workingDirectory
Working directory of the simulation.


showConsoleWindow

Parameter showConsoleWindow
If true (the default), a window will be created that shows the console output.


dblWri

double[] dblWri
Double values that were written to the socket.


cliPro

ClientProcess cliPro
Thread that runs the simulation.


porNo

int porNo
Port number that is actually used for BSD socket.


server

Server server
Server used for data exchange.


simProJav

java.lang.Process simProJav
Process that runs the simulation.


worDir

java.lang.String worDir
Working directory of the subprocess.


outTok

DoubleMatrixToken outTok
Output tokens.


simTimPre

double simTimPre
Ptolemy's time at the last call of the fire method.


simTimReaPre

double simTimReaPre
Time read from the simulation program at the last call of the fire method.


clientTerminated

boolean clientTerminated
Flag, set to true when the clients terminates the communication.


warWin

java.lang.Thread warWin
Thread that is used if a warning window need to be shown.


terminationMessage

java.lang.String terminationMessage
Message that will be displayed in the warning window when the client terminated, but Ptolemy continues with the simulation.


isHeadless

boolean isHeadless
Flag, set the true if Ptolemy is run without any graphical interface. If isHeadless=true, this actor will not open any windows for reporting outputs or warnings.


firstFire

boolean firstFire
Flag that is true during the first firing of this actor/.


tokTim

double tokTim
Time of token that will be written to the client. This is equal to the Ptolemy time minus one time step, because at time t_k, a client gets the output of other clients at t_{k-1}, which allows the client to compute the states and outputs at t_k

Class lbnl.actor.lib.SystemCommand extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The port that outputs the standard output stream of the program.


error

TypedIOPort error
The port that outputs the standard error stream of the program.


exitValue

TypedIOPort exitValue
The port that outputs the exit value of the program.


programName

FileParameter programName
Name of program that starts the simulation.


simulationLogFile

FileParameter simulationLogFile
File name to which this actor writes the simulation log.


workingDirectory

FileParameter workingDirectory
Working directory of the simulation.


showConsoleWindow

Parameter showConsoleWindow
If true (the default), a window will be created that shows the console output.


programArguments

Parameter programArguments
Arguments of program that starts the simulation.


cliPro

ClientProcess cliPro
Thread that runs the simulation.


commandList

java.util.ArrayList<E> commandList
List with the command and the arguments. This list is stored as it may contain references to input ports that will be substituted prior to the simulation


worDir

java.lang.String worDir
Working directory of the subprocess.


isHeadless

boolean isHeadless
Flag, set the true if Ptolemy is run without any graphical interface If isHeadless=true, this actor will not open any windows for reporting outputs or warnings.


_iterationCount

int _iterationCount

_tokenMap

java.util.HashMap<K,V> _tokenMap

Package org.mlc.swing.example

Class org.mlc.swing.example.CustomerPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

suffixCombo

javax.swing.JComboBox suffixCombo

lastNameLabel

javax.swing.JLabel lastNameLabel

firstNameText

javax.swing.JTextField firstNameText

lastNameText

javax.swing.JTextField lastNameText

faxText

javax.swing.JTextField faxText

contactSeparator

java.awt.Component contactSeparator

surnameLabel

javax.swing.JLabel surnameLabel

okButton

javax.swing.JButton okButton

cancelButton

javax.swing.JButton cancelButton

buttonBar

java.awt.Component buttonBar

workPhoneLabel

javax.swing.JLabel workPhoneLabel

workPhoneText

javax.swing.JTextField workPhoneText

emailText

javax.swing.JTextField emailText

homePhoneText

javax.swing.JTextField homePhoneText

faxLabel

javax.swing.JLabel faxLabel

ordersSeparator

java.awt.Component ordersSeparator

surnameCombo

javax.swing.JComboBox surnameCombo

nameSeparator

java.awt.Component nameSeparator

suffixLabel

javax.swing.JLabel suffixLabel

emailLabel

javax.swing.JLabel emailLabel

homePhoneLabel

javax.swing.JLabel homePhoneLabel

firstNameLabel

javax.swing.JLabel firstNameLabel

orderTableControl

javax.swing.JTable orderTableControl

orderTable

javax.swing.JScrollPane orderTable

Class org.mlc.swing.example.ExamplePanel extends javax.swing.JPanel implements Serializable

Serialized Fields

nameLabel

javax.swing.JLabel nameLabel

nameText

javax.swing.JTextField nameText

tabbedPane

javax.swing.JTabbedPane tabbedPane

firstTab

javax.swing.JPanel firstTab

secondTab

javax.swing.JPanel secondTab

thirdTab

javax.swing.JPanel thirdTab

Package org.mlc.swing.layout

Class org.mlc.swing.layout.DndList extends javax.swing.JList implements Serializable

serialVersionUID: 1L

Serialized Fields

editor

FormEditor editor

fDragSource

java.awt.dnd.DragSource fDragSource

Class org.mlc.swing.layout.FormDebugPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

paintInBackground

boolean paintInBackground
Specifies whether the grid shall be painted in the background. Is off by default and so the grid is painted in the foreground.


paintDiagonals

boolean paintDiagonals
Specifies whether the container's diagonals should be painted.


gridColor

java.awt.Color gridColor
Holds the color used to paint the debug grid.


deactivated

boolean deactivated

Class org.mlc.swing.layout.FormEditor extends javax.swing.JPanel implements Serializable

Serialized Fields

verticalAlignmentList

java.lang.String[] verticalAlignmentList

horizontalAlignmentList

java.lang.String[] horizontalAlignmentList

colSpinnerModel

FormEditor.ColSpanSpinnerModel colSpinnerModel

rowSpinnerModel

FormEditor.RowSpanSpinnerModel rowSpinnerModel

newComponentAction

javax.swing.Action newComponentAction

removeComponentAction

javax.swing.Action removeComponentAction

insertRowBeforeAction

javax.swing.Action insertRowBeforeAction

insertRowAfterAction

javax.swing.Action insertRowAfterAction

deleteRowAction

javax.swing.Action deleteRowAction

insertColumnBeforeAction

javax.swing.Action insertColumnBeforeAction

insertColumnAfterAction

javax.swing.Action insertColumnAfterAction

deleteColumnAction

javax.swing.Action deleteColumnAction

verticalAlignmentCombo

javax.swing.JComboBox verticalAlignmentCombo

horizontalAlignmentCombo

javax.swing.JComboBox horizontalAlignmentCombo

rowSpanSpinner

javax.swing.JSpinner rowSpanSpinner

columnSpanSpinner

javax.swing.JSpinner columnSpanSpinner

columnSpanLabel

javax.swing.JLabel columnSpanLabel

horizontalAlignmentLabel

javax.swing.JLabel horizontalAlignmentLabel

rowSpanLabel

javax.swing.JLabel rowSpanLabel

verticalAlignmentLabel

javax.swing.JLabel verticalAlignmentLabel

contentPanel

javax.swing.JPanel contentPanel

insetsPanel

javax.swing.JPanel insetsPanel

rightInsetSpinnerModel

javax.swing.SpinnerNumberModel rightInsetSpinnerModel

topInsetSpinnerModel

javax.swing.SpinnerNumberModel topInsetSpinnerModel

bottomInsetSpinnerModel

javax.swing.SpinnerNumberModel bottomInsetSpinnerModel

leftInsetSpinnerModel

javax.swing.SpinnerNumberModel leftInsetSpinnerModel

rightInsetSpinner

javax.swing.JSpinner rightInsetSpinner

bottomInsetSpinner

javax.swing.JSpinner bottomInsetSpinner

leftInsetSpinner

javax.swing.JSpinner leftInsetSpinner

topInsetSpinner

javax.swing.JSpinner topInsetSpinner

tableModel

FormEditor.GridTableModel tableModel

insetsLabel

javax.swing.JLabel insetsLabel

componentsLabel

javax.swing.JLabel componentsLabel

componentPaletteLabel

javax.swing.JLabel componentPaletteLabel

componentPaletteListModel

FormEditor.ComponentPaletteListModel componentPaletteListModel

componentPalette

DndList componentPalette

componentPaletteScrollPane

javax.swing.JScrollPane componentPaletteScrollPane

componentSelectionListModel

FormEditor.ComponentSelectionListModel componentSelectionListModel

componentList

DndList componentList

componentListScrollPane

javax.swing.JScrollPane componentListScrollPane

componentListCellRenderer

FormEditor.ComponentListCellRenderer componentListCellRenderer

constraintsSeparator

java.awt.Component constraintsSeparator

positionsSeparator

java.awt.Component positionsSeparator

componentsPanel

javax.swing.JPanel componentsPanel

propertiesPanel

javax.swing.JPanel propertiesPanel

componentsSplitPane

javax.swing.JSplitPane componentsSplitPane

colSpecField

javax.swing.JTextField colSpecField

rowSpecField

javax.swing.JTextField rowSpecField

newComponents

java.util.Set<E> newComponents

layoutConstraintsManager

LayoutConstraintsManager layoutConstraintsManager

toolbar

javax.swing.JToolBar toolbar

newComponentButton

javax.swing.JButton newComponentButton

removeComponentButton

javax.swing.JButton removeComponentButton

columnDeleteButton

javax.swing.JButton columnDeleteButton

columnInsertAfterButton

javax.swing.JButton columnInsertAfterButton

columnInsertBeforeButton

javax.swing.JButton columnInsertBeforeButton

rowDeleteButton

javax.swing.JButton rowDeleteButton

rowInsertBeforeButton

javax.swing.JButton rowInsertBeforeButton

rowInsertAfterButton

javax.swing.JButton rowInsertAfterButton

container

java.awt.Container container

containerLayout

ContainerLayout containerLayout

layoutFrame

MultiContainerFrame layoutFrame

table

DnDTable table

tableScrollPane

javax.swing.JScrollPane tableScrollPane

constraintsSplitPane

javax.swing.JSplitPane constraintsSplitPane

topComponent

java.awt.Component topComponent

suspendConstraintControlUpdates

boolean suspendConstraintControlUpdates

formComponent

java.awt.Component formComponent

Class org.mlc.swing.layout.LayoutFrame extends javax.swing.JFrame implements Serializable

Serialized Fields

constraintsManager

LayoutConstraintsManager constraintsManager

menuBar

javax.swing.JMenuBar menuBar

actionMenu

javax.swing.JMenu actionMenu

saveXML

javax.swing.JMenuItem saveXML

viewCode

javax.swing.JMenuItem viewCode

exit

javax.swing.JMenuItem exit

viewMenu

javax.swing.JMenu viewMenu

viewDebugMenu

javax.swing.JCheckBoxMenuItem viewDebugMenu

fileChooser

javax.swing.JFileChooser fileChooser

editors

java.util.Map<K,V> editors

tabs

javax.swing.JTabbedPane tabs

layoutToTab

java.util.Map<K,V> layoutToTab

newLayouts

java.util.List<E> newLayouts

dframe

javax.swing.JFrame dframe

Class org.mlc.swing.layout.NewComponentDialog extends javax.swing.JPanel implements Serializable

Serialized Fields

componentNameLabel

javax.swing.JLabel componentNameLabel

componentNameTextField

javax.swing.JTextField componentNameTextField

importsLabel

javax.swing.JLabel importsLabel

importsComponent

javax.swing.JTextArea importsComponent

declarationsLabel

javax.swing.JLabel declarationsLabel

declarationsComponent

javax.swing.JTextArea declarationsComponent

configureLabel

javax.swing.JLabel configureLabel

configureComponent

javax.swing.JTextArea configureComponent

addToContainerLabel

javax.swing.JLabel addToContainerLabel

addToContainerComponent

javax.swing.JTextArea addToContainerComponent

removeFromContainerLabel

javax.swing.JLabel removeFromContainerLabel

removeFromContainerComponent

javax.swing.JTextArea removeFromContainerComponent

previewLabel

javax.swing.JLabel previewLabel

previewComponent

javax.swing.JScrollPane previewComponent

prevButton

javax.swing.JButton prevButton

okButton

javax.swing.JButton okButton

cancelButton

javax.swing.JButton cancelButton

buttonBar

java.awt.Component buttonBar

componentDef

ComponentDef componentDef

preview

java.lang.String preview

myOwner

java.awt.Window myOwner

success

boolean success

Package ptolemy.actor

Class ptolemy.actor.AtomicActor extends ComponentEntity implements Serializable

Serialized Fields

_actorFiringListeners

java.util.LinkedList<E> _actorFiringListeners
The list of ActorFiringListeners registered with this object. NOTE: Because of the way we synchronize on this object, it should never be reset to null after the first list is created.


_notifyingActorFiring

boolean _notifyingActorFiring
Flag that is true if there are actor firing listeners.


_stopRequested

boolean _stopRequested
Indicator that a stop has been requested by a call to stop().


_causalityInterface

CausalityInterface _causalityInterface
The causality interface, if it has been created.


_causalityInterfaceDirector

Director _causalityInterfaceDirector
The director for which the causality interface was created.


_receiversVersion

long _receiversVersion
Record of the workspace version the last time receivers were created.

Class ptolemy.actor.CausalityMarker extends Attribute implements Serializable

Serialized Fields

causalityMarker

java.util.List<E> causalityMarker
The list of sets of ports in the causality marker.

Class ptolemy.actor.CompositeActor extends CompositeEntity implements Serializable

Serialized Fields

_actorFiringListeners

java.util.LinkedList<E> _actorFiringListeners
The list of ActorFiringListeners registered with this object. NOTE: Because of the way we synchronize on this object, it should never be reset to null after the first list is created.


_causalityInterface

CausalityInterface _causalityInterface
The causality interface, if it has been created.


_notifyingActorFiring

boolean _notifyingActorFiring
Flag that is true if there are actor firing listeners.


_publishedPorts

java.util.Map<K,V> _publishedPorts
Keep track of all published ports accessable in this container.


_publisherRelations

java.util.Map<K,V> _publisherRelations
Keep track of all relations with published ports accessable in this container.


_stopRequested

boolean _stopRequested
Indicator that a stop has been requested by a call to stop().


_director

Director _director

_inConnectionsChanged

boolean _inConnectionsChanged

_manager

Manager _manager

_causalityInterfaceDirector

Director _causalityInterfaceDirector
The director for which the causality interface was created.


_receiversVersion

long _receiversVersion
Record of the workspace version the last time receivers were created.


_relationWidthInference

RelationWidthInference _relationWidthInference

Class ptolemy.actor.Director extends Attribute implements Serializable

Serialized Fields

timeResolution

SharedParameter timeResolution
The time precision used by this director. All time values are rounded to the nearest multiple of this number. This is a double that defaults to "1E-10" which is 10-10. This is a shared parameter, meaning that changing one instance in a model results in all instances being changed.


_actorsFinishedExecution

java.util.Set<E> _actorsFinishedExecution
Set of actors that have returned false from postfire(), indicating that they do not wish to be iterated again.


_currentTime

Time _currentTime
The current time of the model.


_finishRequested

boolean _finishRequested
Indicator that finish() has been called.


_stopRequested

boolean _stopRequested
Indicator that a stop has been requested by a call to stop().


_timeResolution

double _timeResolution
Time resolution cache, with a reasonable default value.

Class ptolemy.actor.DoNothingDirector extends Director implements Serializable

Class ptolemy.actor.InvariantViolationException extends IllegalActionException implements Serializable

Class ptolemy.actor.IOPort extends ComponentPort implements Serializable

Serialized Fields

_hasPortEventListeners

boolean _hasPortEventListeners
Flag that is true if there are port event listeners.


_portEventListeners

java.util.LinkedList<E> _portEventListeners
The list of IOPortEventLsteners registered with this object. NOTE: Because of the way we synchronize on this object, it should never be reset to null after the first list is created.


_defaultWidth

int _defaultWidth
The default width. In case there is no unique solution for a relation connected to this port the default width will be used.


_isInput

boolean _isInput
Indicate whether the port is an input, an output, or both. The value may be overridden in transparent ports, in that if a transparent port is inside linked to an input or output port, then it will be considered an inside or output port respectively. This determination is cached, so we need variables to track the validity of the cache. 'transient' means that the variable will not be serialized.


_isOutput

boolean _isOutput

_isInputOutputStatusSet

boolean _isInputOutputStatusSet

_isMultiport

boolean _isMultiport

_widthEqualToParameter

java.util.Set<E> _widthEqualToParameter

_widthEqualToPort

java.util.Set<E> _widthEqualToPort

_localReceiversTable

java.util.HashMap<K,V> _localReceiversTable

Class ptolemy.actor.IORelation extends ComponentRelation implements Serializable

Serialized Fields

width

Parameter width
The width of this relation. This is an integer that defaults to WIDTH_TO_INFER, which means that the width will be inferred.


_auto

Parameter _auto
A parameter to be able to set the width to Auto to automatically infer widths. This is an integer that equals WIDTH_TO_INFER.


_suppressWidthPropagation

boolean _suppressWidthPropagation

_cachedWidth

int _cachedWidth

Class ptolemy.actor.LazyTypedCompositeActor extends TypedCompositeActor implements Serializable

Serialized Fields

_configureDone

boolean _configureDone
Indicate whether data given by configure() has been processed.


_populating

boolean _populating
Indicator that we are in the midst of populating.


_base

java.net.URL _base
The base specified by the configure() method.


_cloning

boolean _cloning
Indicate that we are cloning.


_configureSource

java.lang.String _configureSource
URL specified to the configure() method.


_configureText

java.lang.String _configureText
Text specified to the configure() method.

Class ptolemy.actor.Manager extends NamedObj implements Serializable

Serialized Fields

_actorsToInitialize

java.util.List<E> _actorsToInitialize

_container

CompositeActor _container

_executionIdentifier

java.lang.Object _executionIdentifier
An execution identifier. See #getExecutionIdentifier(Throwable throwable)


_executionListeners

java.util.List<E> _executionListeners

_exitAfterWrapup

boolean _exitAfterWrapup

_finishRequested

boolean _finishRequested

_iterationCount

int _iterationCount

_nameToAnalysis

java.util.HashMap<K,V> _nameToAnalysis

_pauseRequested

boolean _pauseRequested

_preinitializeVersion

long _preinitializeVersion

_printTimeAndMemory

boolean _printTimeAndMemory

_resumeNotifyWaiting

boolean _resumeNotifyWaiting

_state

Manager.State _state

_thread

PtolemyThread _thread

_throwableToExecutionIdentifier

java.util.Map<K,V> _throwableToExecutionIdentifier

_typesResolved

boolean _typesResolved

Class ptolemy.actor.NoRoomException extends KernelRuntimeException implements Serializable

Class ptolemy.actor.NoTokenException extends KernelRuntimeException implements Serializable

Class ptolemy.actor.TypeAttribute extends Parameter implements Serializable

Class ptolemy.actor.TypeConflictException extends KernelException implements Serializable

Serialized Fields

_inequalities

java.util.List<E> _inequalities

Class ptolemy.actor.TypedAtomicActor extends AtomicActor implements Serializable

Class ptolemy.actor.TypedCompositeActor extends CompositeActor implements Serializable

Class ptolemy.actor.TypedIOPort extends IOPort implements Serializable

Serialized Fields

_declaredType

Type _declaredType

_resolvedType

Type _resolvedType

_typeTerm

TypedIOPort.TypeTerm _typeTerm

_typeListeners

java.util.List<E> _typeListeners

_constraints

java.util.Set<E> _constraints

Class ptolemy.actor.TypedIORelation extends IORelation implements Serializable

Class ptolemy.actor.TypeOpaqueCompositeActor extends CompositeActor implements Serializable


Package ptolemy.actor.gt

Class ptolemy.actor.gt.AtomicActorMatcher extends TypedAtomicActor implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.AttributeMatcher extends Attribute implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.CompositeActorMatcher extends TypedCompositeActor implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.

Class ptolemy.actor.gt.Constraint extends GTParameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.ContainerIgnoringAttribute extends Parameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.CreationAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.DefaultDirectoryAttribute extends StringParameter implements Serializable

Serialized Fields

directory

FileParameter directory
The default directory where model files are searched.


fileFilter

StringParameter fileFilter
The filter used to search the files, such as "*.xml".


subdirs

Parameter subdirs
A Boolean parameter to determine whether subdirectories of the directory are also searched.

Class ptolemy.actor.gt.DefaultModelAttribute extends FileParameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.FSMMatcher extends FSMActor implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.GraphAnalyzer.IndexedList extends Pair<java.util.List<?>,java.lang.Integer> implements Serializable

Class ptolemy.actor.gt.GraphTransformationException extends KernelException implements Serializable

Class ptolemy.actor.gt.GraphTransformer.ReplacementObjectAttribute extends StringAttribute implements Serializable

Class ptolemy.actor.gt.GTIngredientList extends java.util.LinkedList<GTIngredient> implements Serializable

Serialized Fields

_owner

GTIngredientsAttribute _owner
The attribute that contain this list of ingredients.

Class ptolemy.actor.gt.GTIngredientsAttribute extends StringAttribute implements Serializable

Serialized Fields

_ingredientList

GTIngredientList _ingredientList
The ingredient list obtained from the last expression parsing.


_parsed

boolean _parsed
Indicate whether the current expression has been parsed.

Class ptolemy.actor.gt.GTParameter extends Parameter implements Serializable

Class ptolemy.actor.gt.HierarchyFlatteningAttribute extends Parameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.IgnoringAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.IterativeParameter extends Parameter implements Serializable

Serialized Fields

constraint

Parameter constraint
The constraint that all values must satisfy.


initial

Parameter initial
The initial value.


mode

ChoiceParameter mode
The mode of this parameter.

See Also:
IterativeParameter.Mode

next

Parameter next
The next value (computed based on the current value).


_foundMatch

boolean _foundMatch
Whether a match has been found.

Class ptolemy.actor.gt.IterativeParameter.ConstraintViolationException extends IllegalActionException implements Serializable

Class ptolemy.actor.gt.MalformedStringException extends KernelException implements Serializable

Class ptolemy.actor.gt.MatchingAttribute extends Attribute implements Serializable

Class ptolemy.actor.gt.ModalModelMatcher extends CompositeActorMatcher implements Serializable

Class ptolemy.actor.gt.ModelCombine extends Transformer implements Serializable

Class ptolemy.actor.gt.ModelExecutor extends TypedAtomicActor implements Serializable

Serialized Fields

actorInput

TypedIOPort actorInput
The actorInput port.


_wrapperEffigy

PtolemyEffigy _wrapperEffigy
The effigy to execute models at run time.

Class ptolemy.actor.gt.ModelGenerator extends Source implements Serializable

Serialized Fields

modelName

PortParameter modelName
The port parameter for the model name.


moml

TypedIOPort moml
The port to receive moml strings of the models.


_emptyModel

Entity _emptyModel
The empty model.


_parser

MoMLParser _parser
The parser used to parse the moml strings.

Class ptolemy.actor.gt.ModelView extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port to receive models to be viewed.


output

TypedIOPort output
The output port to send the input models unchanged.


reopenWindow

Parameter reopenWindow
Whether the window should be reopened each time a new model is received in a token.


screenLocation

Parameter screenLocation
Location of the window, or [-1, -1] if the location is to be determined automatically.


screenSize

Parameter screenSize
Size of the window, or [-1, -1] if the size is to be determined automatically.


title

PortParameter title
Title of the window, or empty if the title is to be determined automatically.


_tableaus

Tableau[] _tableaus
The opened tableaus.

Class ptolemy.actor.gt.MoMLGenerator extends Transformer implements Serializable

Class ptolemy.actor.gt.NamedObjVariable extends Variable implements Serializable

Serialized Fields

_setTokenWithContainer

boolean _setTokenWithContainer
Whether the token should be set as the container. This should be false only before the local constructor is invoked. After that, this variable should always be true.

Class ptolemy.actor.gt.NegationAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.OptionAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.Pattern extends CompositeActorMatcher implements Serializable

Class ptolemy.actor.gt.PatternObjectAttribute extends StringAttribute implements Serializable

Class ptolemy.actor.gt.PortMatcher extends TypedIOPort implements Serializable

Serialized Fields

_criterion

PortCriterion _criterion
The criterion, or null.

Class ptolemy.actor.gt.PreservationAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.RelationCollapsingAttribute extends Parameter implements Serializable

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.RelationHidingAttribute extends Parameter implements Serializable

Class ptolemy.actor.gt.Replacement extends CompositeActorMatcher implements Serializable

Serialized Fields

patternParameter

Parameter patternParameter
The parameter containing an ObjectToken encapsulating the pattern with name "pattern".

Class ptolemy.actor.gt.StateMatcher extends State implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_causalityInterface

CausalityInterface _causalityInterface
The causality interface, if it has been created.


_causalityInterfaceDirector

Director _causalityInterfaceDirector
The director for which the causality interface was created.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.TransformationException extends KernelException implements Serializable

Class ptolemy.actor.gt.TransformationMode extends ChoiceParameter implements Serializable

Serialized Fields

_collectAllMatches

boolean _collectAllMatches
Whether all matches should be collected in a list.


_masterRule

TransformationRule _masterRule
The master transformation rule (not the working copy).


_matchResults

java.util.LinkedList<E> _matchResults
The collected matches.


_matcher

GraphMatcher _matcher
The graph matcher.


_random

java.util.Random _random
The random number generator.


_workingCopy

TransformationRule _workingCopy
The current working copy.


_workingCopyVersion

long _workingCopyVersion
Version of the current working copy.


_workspace

Workspace _workspace
A new workspace for working copies.

Class ptolemy.actor.gt.TransformationRule extends MultiCompositeActor implements Serializable

Serialized Fields

matchInput

TypedIOPort matchInput
The matchInput port.


matchOutput

TypedIOPort matchOutput
The matchOutput port.


matched

TypedIOPort matched
The matched port.


mode

TransformationMode mode
The mode.


modelInput

TypedIOPort modelInput
The modelInput port.


modelOutput

TypedIOPort modelOutput
The modelOutput port.


remaining

TypedIOPort remaining
The remaining port.


repeatCount

Parameter repeatCount
The count of repeated transformation in one firing.


repeatUntilFixpoint

Parameter repeatUntilFixpoint
Whether the transformation in one firing should continue until a fixpoint is reached.


trigger

TypedIOPort trigger
The trigger port.


_lastModel

CompositeEntity _lastModel
The last received model.


_lastResults

java.util.List<E> _lastResults
The list of match results collected in the most recent pattern matching.


_removeFirst

boolean _removeFirst
Whether the first match result should be removed in postfire.

Class ptolemy.actor.gt.TransformationRule.TransformationDirector extends Director implements Serializable

Class ptolemy.actor.gt.TransitionMatcher extends Transition implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.ValidationException extends KernelException implements Serializable


Package ptolemy.actor.gt.controller

Class ptolemy.actor.gt.controller.Clone extends GTEvent implements Serializable

Serialized Fields

useMoml

Parameter useMoml
Whether the cloning should use moml exported from the model.

Class ptolemy.actor.gt.controller.DesignPatternImporter extends Attribute implements Serializable

Serialized Fields

designPatternFile

FileParameter designPatternFile
The design pattern file.


_lastUndoStack

UndoStackAttribute _lastUndoStack
The last undo stack.


_lastValues

java.util.HashMap<K,V> _lastValues
The last values of the parameters to this importer, used to test whether attributes are changed and whether the container needs to be updated.

Class ptolemy.actor.gt.controller.Execute extends GTEvent implements Serializable

Serialized Fields

_effigy

PtolemyEffigy _effigy
The effigy for the executed model.


_managers

java.util.List<E> _managers
The manager to execute the model.

Class ptolemy.actor.gt.controller.GTEvent extends Event implements Serializable

Serialized Fields

refinementExtender

RefinementExtender refinementExtender
The refinement extender to suggest the type of refinement for this event.

Class ptolemy.actor.gt.controller.InitModel extends GTEvent implements Serializable

Serialized Fields

modelName

StringParameter modelName
The name of the empty model.


_emptyModel

CompositeEntity _emptyModel
An empty model.

Class ptolemy.actor.gt.controller.InitModelWithContainer extends InitModel implements Serializable

Class ptolemy.actor.gt.controller.InputModel extends GTEvent implements Serializable

Class ptolemy.actor.gt.controller.Match extends Transform implements Serializable

Class ptolemy.actor.gt.controller.ModelIOPort extends RefinementPort implements Serializable

Class ptolemy.actor.gt.controller.ModelParameter extends Parameter implements Serializable

Serialized Fields

_model

CompositeEntity _model
The model in this parameter.


_token

ActorToken _token
The most recently created ActorToken.


_tokenVersion

long _tokenVersion
The version of the ActorToken.

Class ptolemy.actor.gt.controller.OutputModel extends GTEvent implements Serializable

Class ptolemy.actor.gt.controller.ReadModel extends GTEvent implements Serializable

Serialized Fields

modelFile

FileParameter modelFile
The model file.


_parser

MoMLParser _parser
The moml parser to parse the file.

Class ptolemy.actor.gt.controller.Transform extends GTEvent implements Serializable

Serialized Fields

controllerFactory

TransformEventController.Factory controllerFactory
The controller factory for this event to specialize the popup menu.


defer

Parameter defer
Whether the transformation should be deferred with a change request.


matched

Parameter matched
Whether the last pattern matching was successful (read-only).


mode

TransformationMode mode
The transformation mode.


_transformation

TransformationRule _transformation
The encapsulated transformation rule.


_configureSource

java.lang.String _configureSource
The configure source.


_configurer

Configurer _configurer
The configurer.

Class ptolemy.actor.gt.controller.Transform.EmbeddedConfigurer extends Configurer implements Serializable

Serialized Fields

_container

NamedObj _container
The container of this configurer.

Class ptolemy.actor.gt.controller.TransformationAttribute extends Attribute implements Serializable

Serialized Fields

condition

Parameter condition
The condition under which this attribute is applicable. It must evaluate to a BooleanToken. If its value is false, execution of the transformation causes no effect.


editorFactory

TransformationAttributeEditorFactory editorFactory
The editor factory for the contents in this attribute (the model updater).


_configureSource

java.lang.String _configureSource
The configure source.


_configurer

Configurer _configurer
The configurer containing the model updater.


_executionListeners

java.util.List<E> _executionListeners
The list of execution listeners.


_modelUpdater

PteraModalModel _modelUpdater
The model updater.

Class ptolemy.actor.gt.controller.View extends GTEvent implements Serializable

Serialized Fields

referredTableau

StringParameter referredTableau
Name of the tableau referred to, or an empty string if the default tableau is to be used.


reopenWindow

Parameter reopenWindow
Whether the window should be closed and reopened on each update.


screenLocation

Parameter screenLocation
Location of the new window, or [-1, -1] if the default location is to be used.


screenSize

Parameter screenSize
Size of the new window, or [-1, -1] if the default size is to be used.


tableau

TableauParameter tableau
The default tableau.


title

Parameter title
Title of the window.


_parser

MoMLParser _parser
The parser.


_workspace

Workspace _workspace
The workspace for the parser.

Class ptolemy.actor.gt.controller.WriteModel extends GTEvent implements Serializable

Serialized Fields

modelFile

FileParameter modelFile
The file to store the model.


Package ptolemy.actor.gt.data

Class ptolemy.actor.gt.data.MatchResult extends SequentialTwoWayHashMap<java.lang.Object,java.lang.Object> implements Serializable

Serialized Fields

_parameterValues

SequentialTwoWayHashMap<K,V> _parameterValues
The assignment of values to the parameters.

Class ptolemy.actor.gt.data.Pair extends Tuple<java.lang.Object> implements Serializable

Class ptolemy.actor.gt.data.SequentialTwoWayHashMap extends TwoWayHashMap<K,V> implements Serializable

Serialized Fields

_keySequence

java.util.List<E> _keySequence
The sequence of the keys, sorted in the order in which they are added to this two-way hash map.

Class ptolemy.actor.gt.data.Tuple extends java.util.LinkedList<E> implements Serializable

Class ptolemy.actor.gt.data.TwoWayHashMap extends java.util.HashMap<K,V> implements Serializable

Serialized Fields

_reverseMap

java.util.HashMap<K,V> _reverseMap
The reverse hash map that maps values back to keys.


Package ptolemy.actor.gt.gui

Class ptolemy.actor.gt.gui.ComboItem extends ComboBox.Item implements Serializable

Class ptolemy.actor.gt.gui.GTGUIAction extends GUIAction implements Serializable


Package ptolemy.actor.gui

Class ptolemy.actor.gui.AbstractPlaceableActor extends TypedAtomicActor implements Serializable

Serialized Fields

_frame

javax.swing.JFrame _frame
The associated frame.


_paneSize

SizeAttribute _paneSize
A specification of the size of the pane if it's in its own window.


_windowProperties

WindowPropertiesAttribute _windowProperties
A specification for the window properties of the frame.

Class ptolemy.actor.gui.ArrayOfRecordsPane extends javax.swing.JPanel implements Serializable

Serialized Fields

table

javax.swing.JTable table
The table representing the matrix.

Class ptolemy.actor.gui.ArrayOfRecordsPane.ArrayAsTable extends javax.swing.table.AbstractTableModel implements Serializable

Serialized Fields

_array

ArrayToken _array
The array for which a Table Model is created.


_columns

java.util.List<E> _columns
The column names found in the array.

Class ptolemy.actor.gui.BrowserEffigy extends Effigy implements Serializable

Class ptolemy.actor.gui.BrowserEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.BrowserTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.BrowserTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ColorAttribute extends Parameter implements Serializable

Class ptolemy.actor.gui.Configuration extends CompositeEntity implements Serializable

Serialized Fields

classesToRemove

Parameter classesToRemove
A Parameter that is an array of Strings where each element names a class to be removed. The initial default value is an array with an empty element.

Kepler uses this parameter to remove certain classes:

  <property name="_classesToRemove" class="ptolemy.data.expr.Parameter"
  value="{"ptolemy.codegen.kernel.StaticSchedulingCodeGenerator","ptolemy.codegen.c.kernel.CCodeGenerator"}">
      <doc>An array of Strings, where each element names a class
  to removed by the MoMLFilter.</doc>
   >/property>
  


removeGraphicalClasses

Parameter removeGraphicalClasses
A Parameter that if set to true adds RemoveGraphicalClasses to the list of MoMLFilters. Use this to run non-graphical classes. Note that setting this parameter and using MoMLApplication is not likely to work as MoMLApplication sets the look and feel which invokes the graphical system. The initial value is a boolean with the value false, indicating that RemoveGraphicalClasses should not be added to the filter list.

Class ptolemy.actor.gui.ConfigurationEffigy extends PtolemyEffigy implements Serializable

Class ptolemy.actor.gui.Configurer extends javax.swing.JPanel implements Serializable

Serialized Fields

_closeListeners

java.util.List<E> _closeListeners

_object

NamedObj _object

_originalValues

java.util.HashMap<K,V> _originalValues

Class ptolemy.actor.gui.DebugListenerTableau extends Tableau implements Serializable

Serialized Fields

_debug

Debuggable _debug

Class ptolemy.actor.gui.DebugListenerTableau.DebugListenerFrame extends TextEditor implements Serializable

Class ptolemy.actor.gui.DialogTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.EditorFactory extends Attribute implements Serializable

Class ptolemy.actor.gui.EditorPaneFactory extends Attribute implements Serializable

Class ptolemy.actor.gui.EditParametersDialog extends ComponentDialog implements Serializable

Serialized Fields

_owner

java.awt.Frame _owner
The owner window.


_query

Query _query
The query window for adding parameters.


_target

NamedObj _target
The target object whose parameters are being edited.

Class ptolemy.actor.gui.Effigy extends CompositeEntity implements Serializable

Serialized Fields

identifier

StringAttribute identifier
The identifier for the effigy. The default value is "Unnamed".


uri

URIAttribute uri
The URI for the effigy. The default value is null.


_factory

TableauFactory _factory

_isSystemEffigy

boolean _isSystemEffigy

_modified

boolean _modified
Indicator that the data represented in the window has been modified.


_modifiable

boolean _modifiable
Indicator that the URI must not be written to (if false).


_modifiableURI

boolean _modifiableURI
Indicator that the URI can be written to.

Class ptolemy.actor.gui.EffigyFactory extends CompositeEntity implements Serializable

Class ptolemy.actor.gui.ExpressionShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.ExpressionShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.ExpressionShellFrame extends TableauFrame implements Serializable

Class ptolemy.actor.gui.ExpressionShellTableau extends Tableau implements Serializable

Serialized Fields

frame

ExpressionShellFrame frame
The associated frame.


shell

ShellTextArea shell
The contained shell.


_evaluator

ParseTreeEvaluator _evaluator
The parameter used for evaluation.

Class ptolemy.actor.gui.ExpressionShellTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ExternalTextEffigy extends TextEffigy implements Serializable

Serialized Fields

_pathName

java.lang.String _pathName

_useContainerMoML

boolean _useContainerMoML

Class ptolemy.actor.gui.ExternalTextTableau extends TextEditorTableau implements Serializable

Class ptolemy.actor.gui.FileOrURLEditorFactory extends EditorFactory implements Serializable

Class ptolemy.actor.gui.HTMLEffigy extends Effigy implements Serializable

Class ptolemy.actor.gui.HTMLEffigyFactory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.HTMLViewer extends TableauFrame implements Serializable

Serialized Fields

pane

javax.swing.JEditorPane pane
The text pane.


_scroller

javax.swing.JScrollPane _scroller
The main scroll pane.


_base

java.net.URL _base
The base as specified by setBase().

Class ptolemy.actor.gui.HTMLViewerTableau extends Tableau implements Serializable

Serialized Fields

url

StringAttribute url
The URL to display.

Class ptolemy.actor.gui.HTMLViewerTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.InsideEntityEditorPaneFactory extends EditorPaneFactory implements Serializable

Class ptolemy.actor.gui.JVMTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.JVMTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.JVMTableau.JVMFrame extends PtolemyFrame implements Serializable

Class ptolemy.actor.gui.LevelSkippingTableauFactory extends TableauFactory implements Serializable

Serialized Fields

entityName

StringParameter entityName
The name of the contained entity to open, or an empty string to just open the first one found. This is a string that defaults to empty.

Class ptolemy.actor.gui.LocationAttribute extends Parameter implements Serializable

Class ptolemy.actor.gui.MatrixPane extends javax.swing.JScrollPane implements Serializable

Serialized Fields

table

javax.swing.JTable table
The table representing the matrix. Methods in the class referred to by this field should only be invoked from the Swing event thread. See SwingUtilities.invokeLater().

Class ptolemy.actor.gui.MatrixTokenTableau extends TokenTableau implements Serializable

Serialized Fields

_pane

MatrixPane _pane

Class ptolemy.actor.gui.MatrixTokenTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ModelDirectory extends CompositeEntity implements Serializable

Class ptolemy.actor.gui.ModelFrame extends PtolemyFrame implements Serializable

Serialized Fields

_pane

ModelPane _pane

_previousState

Manager.State _previousState

Class ptolemy.actor.gui.ModelPane extends javax.swing.JPanel implements Serializable

Serialized Fields

_displays

java.awt.Container _displays
A panel into which to place model displays.


_buttonPanel

javax.swing.JPanel _buttonPanel

_controlPanel

javax.swing.JPanel _controlPanel

_directorQuery

Configurer _directorQuery

_goButton

javax.swing.JButton _goButton

_layout

int _layout

_manager

Manager _manager

_model

CompositeActor _model

_parameterQuery

Configurer _parameterQuery

_stopButton

javax.swing.JButton _stopButton

_pauseButton

javax.swing.JButton _pauseButton

_resumeButton

javax.swing.JButton _resumeButton

_show

int _show

Class ptolemy.actor.gui.ModelRepaintController extends Attribute implements Serializable

Serialized Fields

_executable

Executable _executable

_repaintOnWrapUp

Parameter _repaintOnWrapUp

_repaintOnPostFire

Parameter _repaintOnPostFire

Class ptolemy.actor.gui.MoMLApplet extends PtolemyApplet implements Serializable

Serialized Fields

_fragment

java.lang.String _fragment
The fragment of the modelURL, if any. This field is set after _readMoMLAppletParameter() is called.


_modelURL

java.lang.String _modelURL
The modelURL. This field is set after _readMoMLAppletParameter() is called.

Class ptolemy.actor.gui.OpenInstanceDialog extends PtolemyDialog implements Serializable

Serialized Fields

_columnNames

java.util.ArrayList<E> _columnNames
List of names of columns that will be used for this target.


_parameters

java.util.List<E> _parameters
The target parameter list.


_parameterTable

javax.swing.JTable _parameterTable
Table of parameters.


_parameterTableModel

OpenInstanceDialog.ParametersTableModel _parameterTableModel
The table model.

Class ptolemy.actor.gui.PasswordAttribute extends StringParameter implements Serializable

Serialized Fields

_password

char[] _password

Class ptolemy.actor.gui.PlotEffigy extends Effigy implements Serializable

Serialized Fields

_plot

PlotBox _plot

Class ptolemy.actor.gui.PlotEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.PlotTableau extends Tableau implements Serializable

Serialized Fields

uri

URIAttribute uri
The URI to display.


_toRead

java.net.URL _toRead

Class ptolemy.actor.gui.PlotTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.PlotTableauFrame extends TableauFrame implements Serializable

Serialized Fields

plot

PlotBox plot
The plot object held by this frame.


_editMenu

javax.swing.JMenu _editMenu
Edit menu for this frame.


_specialMenu

javax.swing.JMenu _specialMenu
Special menu for this frame.


_directory

java.io.File _directory
Directory that contains the input file.


_file

java.io.File _file
The input file.

Class ptolemy.actor.gui.PortConfigurer extends Query implements Serializable

Serialized Fields

_cardinals

java.lang.String[] _cardinals
Deprecated. 

_changed

java.util.Set<E> _changed
Deprecated. 

_object

Entity _object
Deprecated. 

_optionsArray

java.lang.String[] _optionsArray
Deprecated. 

Class ptolemy.actor.gui.PortConfigurerDialog extends PtolemyDialog implements Serializable

Serialized Fields

_columnNames

java.util.ArrayList<E> _columnNames
List of names of columns that will be used for this target.


_hideAllPorts

boolean _hideAllPorts
When you click on the "Hide" column header, toggle this value.

See Also:
PortConfigurerDialog.PortTableModel.toggleHidePorts()

_portLocationComboBox

javax.swing.JComboBox _portLocationComboBox
The combination box used to select the location of a port.


_portTable

javax.swing.JTable _portTable

_portTableModel

PortConfigurerDialog.PortTableModel _portTableModel

_jth

javax.swing.table.JTableHeader _jth
JTableHeader of _portTable. MouseListener is added to this.


_ports

java.util.Vector<E> _ports

_selectedRow

int _selectedRow

_showAllNames

boolean _showAllNames
When you click on the "Show Name" column header, toggle this value.

See Also:
PortConfigurerDialog.PortTableModel.toggleShowAllNames()

_applyButton

javax.swing.JButton _applyButton
The various buttons.


Button

javax.swing.JButton Button
The various buttons.


_addButton

javax.swing.JButton _addButton
The various buttons.


_applyChangeRequestFailed

boolean _applyChangeRequestFailed
True if the change request in _apply() failed


_removeButton

javax.swing.JButton _removeButton
The various buttons.

Class ptolemy.actor.gui.PortConfigurerDialog.ValidatingComboBoxCellEditor extends javax.swing.DefaultCellEditor implements Serializable

Serialized Fields

_comboBox

javax.swing.JComboBox _comboBox
The combo box.


_oldValue

java.lang.Object _oldValue
Old value of the combo box.


_userWantsToEdit

boolean _userWantsToEdit
True if the user wants to edit after having an invalid selection.


_validator

PortConfigurerDialog.CellValidator _validator
Class that validates the cell.

Class ptolemy.actor.gui.PortConfigurerDialog.ValidatingJTextFieldCellEditor extends javax.swing.DefaultCellEditor implements Serializable

Serialized Fields

_jFormattedTextField

javax.swing.JFormattedTextField _jFormattedTextField
The JTextField.


_oldValue

java.lang.Object _oldValue
Old value of the JTextField.


_userWantsToEdit

boolean _userWantsToEdit
True if the user wants to edit after having an invalid selection.


_validator

PortConfigurerDialog.CellValidator _validator
Class that validates the cell.

Class ptolemy.actor.gui.PtolemyApplet extends BasicJApplet implements Serializable

Serialized Fields

_manager

Manager _manager
The manager, created in the init() method.


_setupOK

boolean _setupOK
Set this to false if the setup of the model during the init() method fails. This prevents the model from executing.


_toplevel

NamedObj _toplevel
The top-level composite actor, created in the init() method.


_workspace

Workspace _workspace
The workspace that the applet is built in. Each applet has it own workspace.


_goButton

javax.swing.JButton _goButton

_stopButton

javax.swing.JButton _stopButton

_previousState

Manager.State _previousState

Class ptolemy.actor.gui.PtolemyDialog extends javax.swing.JFrame implements Serializable

Serialized Fields

_configuration

Configuration _configuration
The configuration that corresponds with this dialog. The configuration is used to properly display the help text.


_helpButton

javax.swing.JButton _helpButton
The help button.


_cancelButton

javax.swing.JButton _cancelButton
The cancel button.


_contents

javax.swing.JComponent _contents

_dirty

boolean _dirty
The following is true if any of the values have been changed but not applied.


_dialogTableau

DialogTableau _dialogTableau

_owner

java.awt.Frame _owner

_target

Entity _target

Class ptolemy.actor.gui.PtolemyEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model

Class ptolemy.actor.gui.PtolemyEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.PtolemyEffigy.FactoryWithoutNew extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.PtolemyFrame extends TableauFrame implements Serializable

Serialized Fields

_query

Query _query
The query used to specify save as options.


_model

NamedObj _model

Class ptolemy.actor.gui.PtolemyPreferences extends ScopeExtendingAttribute implements Serializable

Serialized Fields

backgroundColor

ColorAttribute backgroundColor
The background color.

Class ptolemy.actor.gui.PtolemyQuery extends Query implements Serializable

Serialized Fields

_attributes

java.util.Map<K,V> _attributes
Maps an entry name to the attribute that is attached to it.


_dialog

ComponentDialog _dialog

_handler

NamedObj _handler

_ignoreChangeNotifications

boolean _ignoreChangeNotifications

_isOpenErrorWindow

boolean _isOpenErrorWindow

_query

PtolemyQuery _query

_revertValue

java.util.Map<K,V> _revertValue

_savedErrorHandler

ErrorHandler _savedErrorHandler

_varToListOfEntries

java.util.Map<K,V> _varToListOfEntries

Class ptolemy.actor.gui.PtolemyTableauFactory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.RenameConfigurer extends Query implements Serializable

Serialized Fields

_changed

boolean _changed

_object

NamedObj _object

Class ptolemy.actor.gui.RenameDialog extends ComponentDialog implements Serializable

Class ptolemy.actor.gui.RunTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.RunTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.RunTableau.RunFrame extends ModelFrame implements Serializable

Serialized Fields

_debugMenu

javax.swing.JMenu _debugMenu
Debug menu for this frame.

Class ptolemy.actor.gui.RunTableau.TopFactory extends RunTableau.Factory implements Serializable

Class ptolemy.actor.gui.SizeAttribute extends Parameter implements Serializable

Serialized Fields

_listeningTo

java.awt.Component _listeningTo
The component we are listening to.

Class ptolemy.actor.gui.Tableau extends CompositeEntity implements Serializable

Serialized Fields

size

SizeAttribute size
A specification for the size of the frame.


_editable

boolean _editable
Flag indicating whether the tableau is editable.


_frame

javax.swing.JFrame _frame
The frame that the tableau is shown in.


_master

boolean _master
True if this tableau is a master tableau. Default value is false.


_title

java.lang.String _title
The title set by setTitle().

Class ptolemy.actor.gui.TableauFactory extends Attribute implements Serializable

Serialized Fields

_configureSource

java.lang.String _configureSource
The input source that was specified the last time the configure method was called.


_configureText

java.lang.String _configureText
The text string that represents the current configuration of this object.

Class ptolemy.actor.gui.TableauFrame extends Top implements Serializable

Serialized Fields

aboutFile

java.lang.String aboutFile
The name of the default file to open when About is invoked. This file should be relative to the home installation directory. This file is used if the configuration does not specify an about file.


helpFile

java.lang.String helpFile
The name of the default file to open when Help is invoked. This file should be relative to the home installation directory. This file is used if the configuration does not specify a help file.


_initialSaveAsFileName

java.lang.String _initialSaveAsFileName
The initial filename to use in the SaveAs dialog.


_viewMenu

javax.swing.JMenu _viewMenu
The view menu. Note that this is only created if there are multiple views, so if derived classes use it, they must test to see whether it is null.


_factoryContainer

TableauFactory _factoryContainer

_tableau

Tableau _tableau

_placeable

Placeable _placeable
Associated placeable.


_packCalled

boolean _packCalled
Set to true when the pack() method is called. Used by TopPack.pack().


_topPack

TopPack _topPack
Set in pack() if an alternate topPack is used.

Class ptolemy.actor.gui.TextEditor extends TableauFrame implements Serializable

Serialized Fields

text

javax.swing.JTextArea text
The text area.


_scrollPane

javax.swing.JScrollPane _scrollPane
The scroll pane containing the text area.

Class ptolemy.actor.gui.TextEditorTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.TextEditorTableau.Factory extends TableauFactory implements Serializable

Serialized Fields

_tableauConstructor

java.lang.reflect.Constructor<T> _tableauConstructor

_newTextEffigyText

java.lang.reflect.Method _newTextEffigyText

_newTextEffigyURL

java.lang.reflect.Method _newTextEffigyURL

Class ptolemy.actor.gui.TextEffigy extends Effigy implements Serializable

Serialized Fields

_doc

javax.swing.text.Document _doc

Class ptolemy.actor.gui.TextEffigy.Factory extends EffigyFactory implements Serializable

Serialized Fields

_newTextEffigyURL

java.lang.reflect.Method _newTextEffigyURL

Class ptolemy.actor.gui.TokenEffigy extends Effigy implements Serializable

Serialized Fields

_tokens

java.util.ArrayList<E> _tokens

_variable

Variable _variable

Class ptolemy.actor.gui.TokenEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.TokenTableau extends Tableau implements Serializable

Serialized Fields

_editor

TextEditor _editor

Class ptolemy.actor.gui.TokenTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.WelcomeWindow extends HTMLViewer implements Serializable

Serialized Fields

_closePanel

javax.swing.JPanel _closePanel
The panel at the bottom that contains the "Show this dialog on startup" checkbox and the close button.


_showWelcomeWindowAtStartup

BooleanToken _showWelcomeWindowAtStartup
True if the welcome window is shown at startup.


_startupCheck

javax.swing.JCheckBox _startupCheck

_closeButton

javax.swing.JButton _closeButton

Class ptolemy.actor.gui.WelcomeWindowTableau extends HTMLViewerTableau implements Serializable

Class ptolemy.actor.gui.WindowPropertiesAttribute extends Parameter implements Serializable

Serialized Fields

_listeningTo

java.awt.Frame _listeningTo
The frame we are listening to.


Package ptolemy.actor.gui.exec

Class ptolemy.actor.gui.exec.ExecShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.exec.ExecShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.exec.ExecShellTableau extends Tableau implements Serializable

Serialized Fields

frame

ExecShellTableau.ExecShellFrame frame
The frame in which text is written.


_interpreter

java.lang.Process _interpreter

Class ptolemy.actor.gui.exec.ExecShellTableau.ExecShellFrame extends TableauFrame implements Serializable

Serialized Fields

shellTextArea

ShellTextArea shellTextArea
The text area tableau used for input and output.

Class ptolemy.actor.gui.exec.ExecShellTableau.Factory extends TableauFactory implements Serializable


Package ptolemy.actor.gui.properties

Class ptolemy.actor.gui.properties.ActionGUIProperty extends GUIProperty implements Serializable

Serialized Fields

parse

Parameter parse
A Boolean parameter that determines whether the moml text should be parsed before applying to the current model in the ActionGUIProperty.perform() method.


_action

GUIAction _action
The action.

Class ptolemy.actor.gui.properties.Button extends ActionGUIProperty implements Serializable

Serialized Fields

icon

FileParameter icon
Icon for the button. Set an empty string to remove the icon.


tooltip

StringParameter tooltip
Tooltip for the button.

Class ptolemy.actor.gui.properties.ComboBox extends GUIProperty implements Serializable

Class ptolemy.actor.gui.properties.ComboBox.Item extends ActionGUIProperty implements Serializable

Serialized Fields

next

StringParameter next
The name of the next item in the same combo box to be selected when this GUI property is selected, or an empty string if there is no next item.

Class ptolemy.actor.gui.properties.GUIAction extends Attribute implements Serializable

Serialized Fields

_momlSource

java.lang.String _momlSource
The input source that was specified the last time the configure method was called.


_momlText

java.lang.String _momlText
The text string that represents the current configuration of this object.


_parsedObject

NamedObj _parsedObject
The object obtained by parsing the moml text, or null.


_parser

MoMLParser _parser
The parser used to parse the moml text.

Class ptolemy.actor.gui.properties.GUIProperty extends Attribute implements Serializable

Serialized Fields

preferredSize

Parameter preferredSize
The preferred size of the Swing component. It would be a matrix of 2 integers, such as [100, 20]. It is ignored if any integer is less than 0.


_component

javax.swing.JComponent _component
The Java Swing component.


_constraint

java.lang.Object _constraint
The layout constraint.

Class ptolemy.actor.gui.properties.Panel extends GUIProperty implements Serializable

Class ptolemy.actor.gui.properties.Separator extends GUIProperty implements Serializable

Serialized Fields

orientation

StringParameter orientation
The orientation of the JSeparator, which should be either "Horizontal" or "Vertical".

Class ptolemy.actor.gui.properties.ToolBar extends GUIProperty implements Serializable


Package ptolemy.actor.gui.ptjacl

Class ptolemy.actor.gui.ptjacl.TclShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.ptjacl.TclShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.ptjacl.TclShellTableau extends Tableau implements Serializable

Serialized Fields

_tclInterp

tcl.lang.Interp _tclInterp

Class ptolemy.actor.gui.ptjacl.TclShellTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ptjacl.TclShellTableau.TclShellFrame extends TableauFrame implements Serializable

Serialized Fields

shellTextArea

ShellTextArea shellTextArea
The text area tableau used for input and output.


Package ptolemy.actor.gui.python

Class ptolemy.actor.gui.python.PythonShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.python.PythonShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.python.PythonShellTableau extends Tableau implements Serializable

Serialized Fields

_interpreter

org.python.util.PythonInterpreter _interpreter

Class ptolemy.actor.gui.python.PythonShellTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.python.PythonShellTableau.PythonShellFrame extends TableauFrame implements Serializable


Package ptolemy.actor.gui.run

Class ptolemy.actor.gui.run.CustomizableRunFrame extends TableauFrame implements Serializable

Serialized Fields

_customizeMenu

javax.swing.JMenu _customizeMenu
Customize menu for this frame.


_pane

CustomizableRunPane _pane
The pane inside this frame.


_model

CompositeActor _model
The associated model.

Class ptolemy.actor.gui.run.CustomizableRunPane extends javax.swing.JPanel implements Serializable

Serialized Fields

_model

CompositeActor _model
The associated model.


_layoutConstraintsManager

LayoutConstraintsManager _layoutConstraintsManager
The layout constraint manager.


_subpanels

java.util.HashMap<K,V> _subpanels
A collection of subpanels.

Class ptolemy.actor.gui.run.InterfaceTableau extends Tableau implements Serializable

Serialized Fields

_manager

Manager _manager
The manager.

Class ptolemy.actor.gui.run.InterfaceTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.run.LayoutTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.run.PaletteList extends javax.swing.JList implements Serializable

serialVersionUID: 1L

Serialized Fields

fDragSource

java.awt.dnd.DragSource fDragSource
The source of the drag.


editor

PtolemyFormEditor editor

Class ptolemy.actor.gui.run.PtolemyFormEditor extends javax.swing.JPanel implements Serializable

Serialized Fields

_containerLayout

ContainerLayout _containerLayout
The layout manager.


_container

java.awt.Container _container
The container.


newComponents

java.util.Set<E> newComponents
The set of new components.


topComponent

java.awt.Component topComponent
The top level component.


_bottomInsetSpinnerModel

javax.swing.SpinnerNumberModel _bottomInsetSpinnerModel
Model for the bottom inset control.


_bottomInsetSpinner

javax.swing.JSpinner _bottomInsetSpinner
The bottom inset control.


_columnDeleteButton

javax.swing.JButton _columnDeleteButton
The button to delete a column.


_columnInsertAfterButton

javax.swing.JButton _columnInsertAfterButton
The button to insert after the selected column.


_columnInsertBeforeButton

javax.swing.JButton _columnInsertBeforeButton
The button to insert before the selected column.


_columnSpanSpinnerModel

PtolemyFormEditor.ColSpanSpinnerModel _columnSpanSpinnerModel
The model for the column span control.


_columnSpanSpinner

javax.swing.JSpinner _columnSpanSpinner
The column span control.


_horizontalAlignmentList

java.lang.String[] _horizontalAlignmentList
The list of horizontal alignment options.


_horizontalAlignmentCombo

javax.swing.JComboBox _horizontalAlignmentCombo
The horizontal alignment control.


_layoutFrame

RunLayoutFrame _layoutFrame
The layout frame.


_leftInsetSpinnerModel

javax.swing.SpinnerNumberModel _leftInsetSpinnerModel
Model for the left inset control.


_leftInsetSpinner

javax.swing.JSpinner _leftInsetSpinner
The left inset control.


_packAction

javax.swing.Action _packAction
Action to pack the run control window.


_removeComponentAction

javax.swing.Action _removeComponentAction
Action to remove a component.


_removeComponentButton

javax.swing.JButton _removeComponentButton
Button to remove a component.


_rightInsetSpinnerModel

javax.swing.SpinnerNumberModel _rightInsetSpinnerModel
Model for the right inset control.


_rightInsetSpinner

javax.swing.JSpinner _rightInsetSpinner
The right inset control.


_rowDeleteButton

javax.swing.JButton _rowDeleteButton
The button to delete a row.


_rowInsertAfterButton

javax.swing.JButton _rowInsertAfterButton
The button to insert a row after the selected one.


_rowInsertBeforeButton

javax.swing.JButton _rowInsertBeforeButton
The button to insert a row before the selected one.


_rowSpanSpinnerModel

PtolemyFormEditor.RowSpanSpinnerModel _rowSpanSpinnerModel
The model for the row span control.


_rowSpanSpinner

javax.swing.JSpinner _rowSpanSpinner
The row span control.


_suspendConstraintControlUpdates

boolean _suspendConstraintControlUpdates
Flag to suspend updates.


_table

LayoutTable _table
The layout table, built in the constructor.


_tableModel

PtolemyFormEditor.GridTableModel _tableModel
The data model for the table.


_topInsetSpinnerModel

javax.swing.SpinnerNumberModel _topInsetSpinnerModel
Model for the top inset control.


_topInsetSpinner

javax.swing.JSpinner _topInsetSpinner
The top inset control.


_verticalAlignmentList

java.lang.String[] _verticalAlignmentList
The list of vertical alignment options.


_verticalAlignmentCombo

javax.swing.JComboBox _verticalAlignmentCombo
The vertical alignment control.

Class ptolemy.actor.gui.run.RunLayoutFrame extends TableauFrame implements Serializable

Serialized Fields

_pane

CustomizableRunPane _pane
The run pane whose layout is being edited.


_model

CompositeActor _model
The associated model.


_constraintsManager

LayoutConstraintsManager _constraintsManager
The constraints manager being edited.


_editors

java.util.Map<K,V> _editors
Set of editors indexed by layout.


_newLayouts

java.util.List<E> _newLayouts
A list of new layouts.


_tabs

javax.swing.JTabbedPane _tabs
Tabbed pane for showing nested layouts.


Package ptolemy.actor.gui.style

Class ptolemy.actor.gui.style.CheckBoxStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.ChoiceStyle extends ParameterEditorStyle implements Serializable

Serialized Fields

_isEditable

boolean _isEditable
Whether or not the combobox is editable. EditableComboBox changes this to create an editable combo box. In this base class the value is false.

Class ptolemy.actor.gui.style.EditableChoiceStyle extends ChoiceStyle implements Serializable

Class ptolemy.actor.gui.style.FileChooserStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.HiddenStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.LineStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.NotEditableLineStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.ParameterEditorStyle extends Attribute implements Serializable

Class ptolemy.actor.gui.style.StyleConfigurer extends Query implements Serializable

Serialized Fields

_object

NamedObj _object

_originalExpertMode

boolean _originalExpertMode

_originalValues

java.util.Map<K,V> _originalValues

_parameterStyles

ParameterEditorStyle[] _parameterStyles

Class ptolemy.actor.gui.style.TextStyle extends ParameterEditorStyle implements Serializable

Serialized Fields

height

Parameter height
The height (in lines) of the text box. This is an integer that defaults to 10.


width

Parameter width
The width (in lines) of the text box. This is an integer that defaults to 30.


Package ptolemy.actor.lib

Class ptolemy.actor.lib.AbsoluteValue extends Transformer implements Serializable

Class ptolemy.actor.lib.Accumulator extends Transformer implements Serializable

Serialized Fields

lowerBound

Parameter lowerBound
The lower bound. If this is set, then its type must be the same as that of the init parameter, and the output will be constrained to never drop below the lower bound. By default, this is not set, so there is no lower bound.


init

Parameter init
The value produced by the actor on its first iteration. The default value of this parameter is the integer 0.


reset

TypedIOPort reset
If this port receives a True token on any channel, then the accumulator state will be reset to the initial value. This is a multiport and has type boolean.


upperBound

Parameter upperBound
The upper bound. If this is set, then its type must be the same as that of the init parameter, and the output will be constrained to never rise above the upper bound. By default, this is not set, so there is no upper bound.


_sum

Token _sum
The running sum.


_latestSum

Token _latestSum
The latest sum, prior to a state commit.

Class ptolemy.actor.lib.AddSubtract extends TypedAtomicActor implements Serializable

Serialized Fields

minus

TypedIOPort minus
Input for tokens to be subtracted. This is a multiport, and its type is inferred from the connections.


output

TypedIOPort output
Output port. The type is inferred from the connections.


plus

TypedIOPort plus
Input for tokens to be added. This is a multiport, and its type is inferred from the connections.

Class ptolemy.actor.lib.ArrayAppend extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayAverage extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayContains extends TypedAtomicActor implements Serializable

Serialized Fields

array

TypedIOPort array
Input array. The type of this port is at least an array of the type of the element port.


output

TypedIOPort output
Boolean output specifying whether the element is contained in the array.


element

PortParameter element
The element to test for presence in the array.

Class ptolemy.actor.lib.ArrayElement extends Transformer implements Serializable

Serialized Fields

index

PortParameter index
The index into the input array. This is an integer that defaults to 0, and is required to be less than or equal to the length of the input array. If the port is left unconnected, then the parameter value will be used.

Class ptolemy.actor.lib.ArrayElementAsMatrix extends Transformer implements Serializable

Serialized Fields

xOffset

PortParameter xOffset
The xOffset offset into the input array. This is an integer that defaults to 1. If the port is left unconnected, then the parameter value will be used.


yOffset

PortParameter yOffset
The yOffset offset into the input array. This is an integer that defaults to 1. If the port is left unconnected, then the parameter value will be used.


x

PortParameter x
The x index into the input array. This is an integer that defaults to 0. If the port is left unconnected, then the parameter value will be used.


y

PortParameter y
The y index into the input array. This is an integer that defaults to 0. If the port is left unconnected, then the parameter value will be used.

Class ptolemy.actor.lib.ArrayExtract extends Transformer implements Serializable

Serialized Fields

sourcePosition

PortParameter sourcePosition
The index into the input array at which to start copying. This is a non-negative integer that defaults to 0, and is required to be less than the length of the input array.


extractLength

PortParameter extractLength
The length of the segment of the input array that is copied to the output. This is a non-negative integer that defaults to 1. The sum of it and the sourcePosition is required to be less than or equal to the length of the input array.


destinationPosition

PortParameter destinationPosition
The index into the output array at which to start copying. This is a non-negative integer that defaults to 0, and is required to be less than the length of the output array.


outputArrayLength

PortParameter outputArrayLength
The total length of the output array. This is a non-negative integer that defaults to 1. It is required to be at least destinationPosition plus extractLength.

Class ptolemy.actor.lib.ArrayLength extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayLevelCrossing extends TypedAtomicActor implements Serializable

Serialized Fields

above

Parameter above
An indicator of whether to look for values above or below the specified threshold. This is a boolean that defaults to false, which specifies to find values below the threshold.


array

TypedIOPort array
The array to search for a threshold crossing. This has type {double}.


forwards

Parameter forwards
The direction to search from the start. If true, search forwards. Otherwise, search backwards. This is a boolean that defaults to true.


output

TypedIOPort output
The output port producing the index of the first bin to break the threshold. This has type int.


scale

StringParameter scale
An indicator of whether threshold should be interpreted as absolute or relative, and if relative, then on a linear scale, in amplitude decibels, or power decibels. If decibels are used, then the corresponding linear threshold is 10^(threshold/N), where N is 20 (for amplitude decibels) or 10 (for power decibels). This parameter is a string with possible values "absolute", "relative linear", "relative amplitude decibels" or "relative power decibels". The default value is "absolute".


start

PortParameter start
The index from which to start looking for a threshold crossing. This is an integer that defaults to 0.


threshold

PortParameter threshold
The threshold to look for. This is a double that can be interpreted on an absolute or relative scale, and if relative, on a linear or decibel scale, depending on the scale parameter. It defaults to 0.0.

Class ptolemy.actor.lib.ArrayMaximum extends Transformer implements Serializable

Serialized Fields

index

TypedIOPort index
The port producing the index of the largest element. This is port has type int.

Class ptolemy.actor.lib.ArrayMinimum extends Transformer implements Serializable

Serialized Fields

index

TypedIOPort index
The port producing the index of the largest element. This is port has type int.

Class ptolemy.actor.lib.ArrayPeakSearch extends TypedAtomicActor implements Serializable

Serialized Fields

dip

Parameter dip
The amount that the signal must drop below a local maximum before a peak is detected. This is a double that can be interpreted as an absolute threshold or relative to the local peak, and if relative, on a linear or decibel scale, depending on the scale parameter. It defaults to 0.0.


endIndex

PortParameter endIndex
The end point of the search. If this number is larger than the length of the input array, then the search is to the end of the array. This is an integer that defaults to MaxInt.


input

TypedIOPort input
The input port. This is required to be an array of doubles


maximumNumberOfPeaks

Parameter maximumNumberOfPeaks
The maximum number of peaks to report. This is an integer that defaults to MaxInt.


peakIndices

TypedIOPort peakIndices
The output port for the indices of the peaks. The type is {int} (array of int).


peakValues

TypedIOPort peakValues
The output port for the values of the peaks. The type is the same as the input port.


scale

StringParameter scale
An indicator of whether dip and squelch should be interpreted as absolute or relative, and if relative, then on a linear scale, in amplitude decibels, or power decibels. If decibels are used, then the corresponding linear threshold is 10^(threshold/N), where N is 20 (for amplitude decibels) or 10 (for power decibels). This parameter is a string with possible values "absolute", "relative linear", "relative amplitude decibels" or "relative power decibels". The default value is "absolute".


squelch

Parameter squelch
The value below which the input is ignored by the algorithm. This is a double that can be interpreted as an absolute number or a relative number, and if relative, on a linear or decibel scale, depending on the scale parameter. For the relative case, the number is relative to the global peak. It defaults to -10.0.


startIndex

PortParameter startIndex
The starting point of the search. If this number is larger than the value of endIndex, the search is conducted backwards (and the results presented in reverse order). If this number is larger than the length of the input array, then the search is started at the end of the input array. This is an integer that defaults to 0.

Class ptolemy.actor.lib.ArrayRemoveElement extends TypedAtomicActor implements Serializable

Serialized Fields

array

TypedIOPort array
Input array. The type of this port is at least an array of the type of the element port.


output

TypedIOPort output
The resulting output array. Note that the output will be a new array with the same type as the input array.


element

PortParameter element
The element to be removed.

Class ptolemy.actor.lib.ArraySort extends Transformer implements Serializable

Serialized Fields

allowDuplicates

Parameter allowDuplicates
Tells the actor whether or not to remove duplicate elements. This is a boolean that defaults to true.


ascending

Parameter ascending
The sort order attribute. This tells the actor whether to sort the elements in ascending or descending order. It is a boolean that defaults to true, which means ascending order.

Class ptolemy.actor.lib.ArraySum extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayToElements extends Transformer implements Serializable

Class ptolemy.actor.lib.Average extends Transformer implements Serializable

Serialized Fields

reset

TypedIOPort reset
The reset port of type BooleanToken. If this input port receives a True token, then the averaging process will be reset.


_sum

Token _sum

_latestSum

Token _latestSum

_count

int _count

_latestCount

int _latestCount

Class ptolemy.actor.lib.Bernoulli extends RandomSource implements Serializable

Serialized Fields

trueProbability

Parameter trueProbability
The probability of true. This parameter contains a DoubleToken, initially with value 0.5.


_current

boolean _current
The random boolean for the current iteration.

Class ptolemy.actor.lib.BooleanMultiplexor extends TypedAtomicActor implements Serializable

Serialized Fields

trueInput

TypedIOPort trueInput
Input for tokens on the true path. The type can be anything.


falseInput

TypedIOPort falseInput
Input for tokens on the false path. The type can be anything.


select

TypedIOPort select
Input that selects one of the other input ports. The type is BooleanToken.


output

TypedIOPort output
The output port. The type is at least the type of trueInput and falseInput

Class ptolemy.actor.lib.BooleanSelect extends TypedAtomicActor implements Serializable

Serialized Fields

trueInput

TypedIOPort trueInput
Input for tokens on the true path. The type can be anything.


falseInput

TypedIOPort falseInput
Input for tokens on the false path. The type can be anything.


control

TypedIOPort control
Input that selects one of the other input ports. The type is BooleanToken.


output

TypedIOPort output
The output port. The type is at least the type of trueInput and falseInput


trueInput_tokenConsumptionRate

Parameter trueInput_tokenConsumptionRate
This parameter provides token consumption rate for trueInput. The type is int.


falseInput_tokenConsumptionRate

Parameter falseInput_tokenConsumptionRate
This parameter provides token consumption rate for falseInput. The type is int.


control_tokenConsumptionRate

Parameter control_tokenConsumptionRate
This parameter provides token consumption rate for control. The type is int.


_control

BooleanToken _control
The most recently read control token.


_controlUsed

boolean _controlUsed
Indicator that the control token was used in the fire method.

Class ptolemy.actor.lib.BooleanSwitch extends TypedAtomicActor implements Serializable

Serialized Fields

control

TypedIOPort control
Input that selects one of the other input ports. The type is boolean.


input

TypedIOPort input
The input port. The type can be anything. This is a multiport, and input tokens on all channels are routed to corresponding channels on the output port, if there are such channels.


trueOutput

TypedIOPort trueOutput
Output for tokens on the true path. The type is at least the type of the input.


falseOutput

TypedIOPort falseOutput
Output for tokens on the false path. The type is at least the type of the input.


_control

boolean _control

Class ptolemy.actor.lib.BusAssembler extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The input port.


_outputWidth

int _outputWidth

Class ptolemy.actor.lib.BusDisassembler extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port.

Class ptolemy.actor.lib.ClassWrapper extends TypedAtomicActor implements Serializable

Serialized Fields

className

StringAttribute className
The name of the Java class.


_methodTable

java.util.Hashtable<K,V> _methodTable

_instance

java.lang.Object _instance

_class

java.lang.Class<T> _class

Class ptolemy.actor.lib.Clock extends TimedSource implements Serializable

Serialized Fields

numberOfCycles

Parameter numberOfCycles
The number of cycles to produce, or UNBOUNDED to specify no limit. This is an integer with default UNBOUNDED.


offsets

Parameter offsets
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0, 1.0}.


period

PortParameter period
The period of the output waveform. This is a double that defaults to 2.0.


values

Parameter values
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and it defaults to {1, 0}

Class ptolemy.actor.lib.ClockSensor extends TimedSource implements Serializable

Serialized Fields

numberOfCycles

Parameter numberOfCycles
The number of cycles to produce, or UNBOUNDED to specify no limit. This is an integer with default UNBOUNDED.


offsets

Parameter offsets
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0, 1.0}.


period

PortParameter period
The period of the output waveform. This is a double that defaults to 2.0.


values

Parameter values
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and it defaults to {1, 0}

Class ptolemy.actor.lib.Commutator extends Transformer implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of tokens read from each input channel on each firing. This is an integer that defaults to 1.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter controlling the input port consumption rate. This parameter contains an IntToken, initially with a value of 1.


output_tokenProductionRate

Parameter output_tokenProductionRate
The parameter controlling the output port production rate. This parameter contains an IntToken, initially with a value of 0. When connections are made and/or the blockSize parameter is set, this is changed to the width of the input times the value of the blockSize parameter.


_currentInputPosition

int _currentInputPosition

_tentativeInputPosition

int _tentativeInputPosition

Class ptolemy.actor.lib.ComputeHistogram extends TypedAtomicActor implements Serializable

Serialized Fields

minimumValue

Parameter minimumValue
The lowest value that will be recorded in the histogram. This parameter has type double, with default value 0.0.


maximumValue

Parameter maximumValue
The highest value that will be recorded in the histogram. This parameter has type double, with default value 1.0.


numberOfBins

Parameter numberOfBins
The number of bins. This parameter has type int, with default value 10.


inputCount

PortParameter inputCount
The number of tokens to compute the histogram for.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter that determines the consumption rate of the input.


input

TypedIOPort input
The input port of type double.


output

TypedIOPort output
The input port of type array of integer.


_bins

int[] _bins

_minimumValue

double _minimumValue

_maximumValue

double _maximumValue

_binWidth

double _binWidth

_numberOfBins

int _numberOfBins

Class ptolemy.actor.lib.ConfigurationSelect extends TypedAtomicActor implements Serializable

Serialized Fields

trueInput

TypedIOPort trueInput
Input for tokens on the true path. The type can be anything.


falseInput

TypedIOPort falseInput
Input for tokens on the false path. The type can be anything.


selector

Parameter selector
Parameter that selects one of the two input ports. The type is BooleanToken that defaults to false.


output

TypedIOPort output
The output port. The type is at least the type of trueInput and falseInput


trueInput_tokenConsumptionRate

Parameter trueInput_tokenConsumptionRate
This parameter provides token consumption rate for trueInput. The type is int.


falseInput_tokenConsumptionRate

Parameter falseInput_tokenConsumptionRate
This parameter provides token consumption rate for falseInput. The type is int.

Class ptolemy.actor.lib.ConfigurationSwitch extends TypedAtomicActor implements Serializable

Serialized Fields

selector

Parameter selector
Parameter that selects one of the two input ports. The type is BooleanToken that defaults to false.


input

TypedIOPort input
The input port. The type can be anything. This is a multiport, and input tokens on all channels are routed to corresponding channels on the output port, if there are such channels.


trueOutput

TypedIOPort trueOutput
Output for tokens on the true path. The type is at least the type of the input.


falseOutput

TypedIOPort falseOutput
Output for tokens on the false path. The type is at least the type of the input.

Class ptolemy.actor.lib.Const extends LimitedFiringSource implements Serializable

Serialized Fields

value

Parameter value
The value produced by this constant source. By default, it contains an IntToken with value 1. If the type of this token is changed during the execution of a model, then the director will be asked to redo type resolution.

Class ptolemy.actor.lib.Counter extends TypedAtomicActor implements Serializable

Serialized Fields

increment

TypedIOPort increment
The increment port. If this input port receives a token, then the counter is incremented. The port has type general.


decrement

TypedIOPort decrement
The decrement port. If this input port receives a token, then the counter is decremented. The port has type general.


output

TypedIOPort output
The output port with type IntToken.


_count

int _count

_latestCount

int _latestCount

_consumed

boolean _consumed

Class ptolemy.actor.lib.CurrentTime extends TimedSource implements Serializable

Serialized Fields

useLocalTime

Parameter useLocalTime
If true, use the model time reported by the input port, which is normally the model time of the local director. If false (the default), use the model time reported by the top-level director. Local time may differ from global time inside modal models and certain domains that manipulate time.

Class ptolemy.actor.lib.DB extends Transformer implements Serializable

Serialized Fields

inputIsPower

Parameter inputIsPower
If the input is proportional to power, then set this to true. This must be a boolean, and defaults to false.


min

Parameter min
The minimum value of the output. This is a double, and defaults to -100.0.


_resultArray

DoubleToken[] _resultArray

Class ptolemy.actor.lib.DelayStart extends TypedAtomicActor implements Serializable

Serialized Fields

startTime

StringParameter startTime
The start time. FIXME: Spec. This is a string that defaults to FIXME

Class ptolemy.actor.lib.Differential extends Transformer implements Serializable

Serialized Fields

_currentInput

Token _currentInput

_lastInput

Token _lastInput

Class ptolemy.actor.lib.Discard extends Sink implements Serializable

Class ptolemy.actor.lib.DiscreteClock extends TimedSource implements Serializable

Serialized Fields

offsets

Parameter offsets
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0}.


period

PortParameter period
The period of the output waveform. This is a double that defaults to 1.0.


start

TypedIOPort start
A port that, if connected, is used to specify when the clock starts. This port accepts any type. The arrival of an event is what starts the clock. Upon arrival of such an event, the clock starts as if just initialized. The clock will not start until such an event is provided, unless the port is left unconnected, in which case the actor starts immediately.


stop

TypedIOPort stop
A port that, if connected, is used to specify when the clock stops. This port accepts any type. The arrival of an event is what stops the clock.


values

Parameter values
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and it defaults to {1}


_outputProduced

boolean _outputProduced
Indicator that an output was produced and hence we should skip to the next phase in postfire.

Class ptolemy.actor.lib.DiscreteRandomSource extends RandomSource implements Serializable

Serialized Fields

pmf

Parameter pmf
The probability mass function. This parameter contains an array of doubles, with default value {0.5, 0.5}.


values

Parameter values
The values to be sent to the output. This parameter contains an ArrayToken, initially with value {0, 1} (an int array).


_current

Token _current
Random value calculated in prefire().

Class ptolemy.actor.lib.Distributor extends Transformer implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of tokens produced on each output channel on each firing. This is an integer with default value 0.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter controlling the input port consumption rate. This is an integer, initially with value 0. Whenever a connection is made to the output, the value of this parameter is changed to equal the width of the output times the blockSize parameter.


output_tokenProductionRate

Parameter output_tokenProductionRate
The parameter specifying the output port production rate. This is an integer, equal to the value of blockSize.


_currentOutputPosition

int _currentOutputPosition

_tentativeOutputPosition

int _tentativeOutputPosition

Class ptolemy.actor.lib.DoubleReader extends URLReader implements Serializable

Serialized Fields

_data

double[] _data
Deprecated. 

_dataSize

int _dataSize
Deprecated. 

Class ptolemy.actor.lib.ElementsToArray extends Transformer implements Serializable

Class ptolemy.actor.lib.Exec extends LimitedFiringSource implements Serializable

Serialized Fields

command

PortParameter command
The command to be executed. The command is parsed by StringUtilities.tokenizeForExec(String) into tokens and then executed as a separate subprocess. The initial default value is the string echo "Hello, world.".

The command parameter is read only once during fire(). If you want to spawn another different command, use life cycle management actors such RunCompositeActor.


directory

FileParameter directory
The directory in which to execute the command. This parameter is read each time the subprocess is started in fire(). Once the subprocess is running, this parameter is not read again until fire() is called again.

The initial default value of this parameter $CWD, which corresponds with the value of the Java virtual machine user.dir property which is the user's current working directory. Note that if we are running inside a menu launched application, then ptolemy.actor.gui.jnlp.MenuApplication will change user.dir to be the value of user.home, which is the name of the user's home directory.


environment

Parameter environment
The environment in which to execute the command. This parameter is read each time the subprocess is started in fire(). Once the subprocess is running, this parameter is not read again until fire() is called again.

This parameter is an array of records that name an environment variable and the value for the value. The format is:

  {{name = "NAME1", value = "value1"}...}
  
Where NAME1 is the name of the environment variable, and value1 is the value.

For example {{name = "PTII", value = "c:/ptII"}} would set the value of the PTII to c:/ptII.

If the initial value of the parameter is {{name="", value = ""}}, then the environment from the calling or parent process is used in the new command.

Note that if this parameter sets any environment variable, then under Windows the other environment variables in the calling or parent process might not be passed to the subprocess. This behaviour could be platform or JVM dependent. When in doubt, try setting the command value to "env" to print out the environment.


error

TypedIOPort error
Data that is generated by the subprocess on its standard error. While the process is running, any error data generated by the subprocess is stored until the subprocess exits and then the stored error data is sent to the error port. If the subprocess generates no data on standard error, then the empty string (a string of length zero) is generated. This port is an output port of type String.


exitCode

TypedIOPort exitCode
The exit code of the subprocess. Usually, a non-zero exit code indicate that the subprocess had a problem. This port is an output port of type int.


input

TypedIOPort input
Strings to pass to the standard input of the subprocess. Note that a newline is not appended to the string. If you require a newline, add one using the AddSubtract actor. This port is an input port of type String.


prependPlatformDependentShellCommand

Parameter prependPlatformDependentShellCommand
If true, then prepend the platform dependent shell command to the parsed value of the command parameter. By setting this argument to true, it is possible to invoke commands in a platform neutral method.

Under Windows NT or XP, the arguments "cmd.exe" and "/C" are prepended. Under Windows 95, the arguments "command.com" and "/C" are prepended. Under all other platforms, the arguments "/bin/sh" and "-c" are prepended.

By prepending sh or cmd, then this actor can use the file redirection operations.

The default value of this parameter is a boolean of value false, which allows the user to arbitrarily invoke /bin/sh scripts on all platforms.


throwExceptionOnNonZeroReturn

Parameter throwExceptionOnNonZeroReturn
If true, then throw an exception if the subprocess returns non-zero. The default is a boolean of value true. This parameter is ignored if waitForProcess is false.


waitForProcess

Parameter waitForProcess
If true, then actor will wait until subprocess completes. The default is a boolean of value true.


_inputBufferedWriter

java.io.BufferedWriter _inputBufferedWriter

_errorGobbler

Exec._StreamReaderThread _errorGobbler

_outputGobbler

Exec._StreamReaderThread _outputGobbler

_process

java.lang.Process _process

_stopFireRequested

boolean _stopFireRequested

Class ptolemy.actor.lib.ExecutionTime extends LimitedFiringSource implements Serializable

Serialized Fields

executionTime

Parameter executionTime
The amount of time to consume. This is either in milliseconds, if the realTime parameter is set to true, or in the number of iterations of a fixed computation, if the realTime parameter is set to false. This is a long that defaults to 1000L.


granularity

Parameter granularity
The granularity of the computation. This parameter specifies the number of additions performed in each invocation of the (unintersting) computation. This is a long, which defaults to 400000, which yields a computation time granularity of approximately 1msec on a MacBook Pro.


realTime

Parameter realTime
If true, then the executionTime parameter is interpreted as milliseconds. If it is false (the default), then the executionTime parameter is interpreted to specify the number of cycles of a fixed computation. Use false to specify a fixed computational load, and use true to specify an amount of real time to consume. When this is true, if the thread executing the fire() method is preempted during its run, then less computation is done.

Class ptolemy.actor.lib.Exit extends Sink implements Serializable

Class ptolemy.actor.lib.Expression extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port.


expression

StringAttribute expression
The expression that is evaluated to produce the output.


_iterationCount

int _iterationCount

_parseTree

ASTPtRootNode _parseTree

_parseTreeEvaluator

ParseTreeEvaluator _parseTreeEvaluator

_scope

Expression.VariableScope _scope

_tokenMap

java.util.Map<K,V> _tokenMap

Class ptolemy.actor.lib.FileWriter extends Writer implements Serializable

Serialized Fields

filename

Parameter filename
Deprecated. 
The name of the file to write to. This parameter contains a StringToken. By default, it contains an empty string, which is interpreted to mean that output should be directed to the standard output.

Class ptolemy.actor.lib.Gaussian extends RandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
The mean of the random number. This has type double, initially with value 0.


standardDeviation

PortParameter standardDeviation
The standard deviation of the random number. This has type double, initially with value 1.


_current

double _current
The random number for the current iteration.

Class ptolemy.actor.lib.GetCausalityInterface extends Source implements Serializable

Serialized Fields

actorName

StringParameter actorName
Name of the actor to get the causality interface of. If this is the empty string (the default), then the container is used.


dependents

TypedIOPort dependents
Output port on which to put the description of the dependent ports.


equivalences

TypedIOPort equivalences
Output port on which to put the description of the equivalence classes.

Class ptolemy.actor.lib.GradientAdaptiveLattice extends Lattice implements Serializable

Serialized Fields

adaptedReflectionCoefficients

TypedIOPort adaptedReflectionCoefficients
The output port that produces the current reflection coefficients. The port is of type array of double.


timeConstant

Parameter timeConstant
The time constant of the filter, which determines how fast the filter adapts. The default value of this parameter is 1.0.


_alpha

double _alpha

_oneMinusAlpha

double _oneMinusAlpha

_estimatedErrorPower

double[] _estimatedErrorPower

_estimatedErrorPowerCache

double[] _estimatedErrorPowerCache

_reflectionCoefficientsCache

double[] _reflectionCoefficientsCache

Class ptolemy.actor.lib.IIR extends Transformer implements Serializable

Serialized Fields

numerator

Parameter numerator
This parameter represents the numerator coefficients as an array of tokens. The format is {b0, b1, ..., bM}. The default value of this parameter is {1.0}.


denominator

Parameter denominator
This parameter represents the denominator coefficients as an array of a tokens. The format is {a0, a1, ..., aN}. Note that the value of a0 is constrained to be 1.0. This implementation will issue a warning if it is not. The default value of this parameter is {1.0}.


_numerator

Token[] _numerator

_denominator

Token[] _denominator

_stateVector

Token[] _stateVector

_currentTap

int _currentTap

_latestWindow

Token _latestWindow

Class ptolemy.actor.lib.Interpolator extends SequenceSource implements Serializable

Serialized Fields

indexes

Parameter indexes
The indexes at which the specified values will be produced. This parameter is an array of integers, with default value {0, 1}.


order

Parameter order
The order of interpolation for non-index iterations. This parameter must contain an IntToken.


period

Parameter period
The period of the reference values. This parameter must contain an IntToken.


values

Parameter values
The values that will be produced at the specified indexes. This parameter is an array, with default value {1.0, 0.0}.


_iterationCount

int _iterationCount

_interpolation

Interpolation _interpolation

Class ptolemy.actor.lib.Lattice extends Transformer implements Serializable

Serialized Fields

reflectionCoefficients

Parameter reflectionCoefficients
The reflection coefficients. This is an array of doubles with default value {0.804534, -0.820577, 0.521934, -0.205}. These are the reflection coefficients for the linear predictor of a particular random process.


_order

int _order
The order of the filter (i.e. the number of reflection coefficients)


_backward

double[] _backward
Backward prediction errors. The length is _order.


_backwardCache

double[] _backwardCache
Cache of backward prediction errors. The fire() method updates _forwardCache and postfire() copies _forwardCache to _forward so this actor will work in domains like SR. The length is _order.


_forward

double[] _forward
Forward prediction errors. The length is _order + 1.


_forwardCache

double[] _forwardCache
Cache of forward prediction errors. The fire() method updates _forwardCache and postfire() copies _forwardCache to _forward so this actor will work in domains like SR. The length is _order + 1.


_reflectionCoefficients

double[] _reflectionCoefficients
Cache of reflection coefficients. The length is _order.

Class ptolemy.actor.lib.LevinsonDurbin extends TypedAtomicActor implements Serializable

Serialized Fields

autocorrelation

TypedIOPort autocorrelation
The autocorrelation input, which is an array.


errorPower

TypedIOPort errorPower
The output for the error power, as a function of the predictor order. This produces an array.


linearPredictor

TypedIOPort linearPredictor
The output for linear predictor coefficients. This produces an array.


reflectionCoefficients

TypedIOPort reflectionCoefficients
The output for lattice filter coefficients for a prediction error filter. This produces an array.

Class ptolemy.actor.lib.LimitedFiringSource extends Source implements Serializable

Serialized Fields

firingCountLimit

Parameter firingCountLimit
If a positive integer, then the number of iterations before the actor indicates to the scheduler that it is finished by returning false in its postfire() method.


_firingCountLimit

int _firingCountLimit
This is the value in parameter firingCountLimit. It may be convenient for derived classes to read this variable in the iterate() method.


_iterationCount

int _iterationCount
The current number of elapsed iterations. It may be convenient for derived classes to read/set this variable in the iterate() method.

Class ptolemy.actor.lib.Limiter extends Transformer implements Serializable

Serialized Fields

bottom

Parameter bottom
The bottom of the limiting range. This is a scalar with default value 0.0.


top

Parameter top
The top of the limiting range. This is a scalar with default value 1.0.

Class ptolemy.actor.lib.LinearDifferenceEquationSystem extends Transformer implements Serializable

Serialized Fields

state

TypedIOPort state
Output port that produces DoubleMatrixToken of dimension r x 1 (see class comment).


A

Parameter A
The A matrix in the state-space representation. It must be a square matrix. The default value is [[1.0]].


B

Parameter B
The B matrix in the state-space representation. The number of rows must be equal to the number of rows of the A matrix. The number of columns must be equal to the number of rows in the input token. The default value is [[1.0]].


C

Parameter C
The C matrix in the state-space representation. The number of columns must be equal to the number of columns of the A matrix. The number of rows must be equal to the number of columns in the output token. The default value is [[0.0]].


D

Parameter D
The D matrix in the state-space representation. The number of columns must be equal to the number of rows in the input token (a DoubleMatrixToken of dimension m x 1. The number of rows must be equal to the number of columns in the output token (a DoubleMatrixToken of dimension r x 1. The default value is [[0.0]].


initialStates

Parameter initialStates
The initial condition for the state variables. This must be a column vector (double matrix with only one column) whose length is equal to the number of state variables. The default value is [0.0]. NOTE: Changes to this parameter will be * applied at the next time when fire() is called.


_x

Token _x

_xPrime

Token _xPrime

_initialStateChanged

boolean _initialStateChanged

_singleOutput

boolean _singleOutput

_singleState

boolean _singleState

Class ptolemy.actor.lib.LookupTable extends Transformer implements Serializable

Serialized Fields

table

Parameter table
The table array that we look up elements in. This parameter is an array with default value {0, 1}.

Class ptolemy.actor.lib.MathFunction extends TypedAtomicActor implements Serializable

Serialized Fields

function

StringParameter function
Deprecated. 
The function to compute. This is a string-valued attribute that defaults to "exp".


firstOperand

TypedIOPort firstOperand
Deprecated. 
The port for the first operand. The port has type BaseType.DOUBLE


secondOperand

TypedIOPort secondOperand
Deprecated. 
The port for the second operand, if it is needed. The port has type BaseType.DOUBLE


output

TypedIOPort output
Deprecated. 
Output port. The port has type BaseType.DOUBLE


_resultArray

DoubleToken[] _resultArray
Deprecated. 

_function

int _function
Deprecated. 

Class ptolemy.actor.lib.Maximum extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the maximumValue output.


maximumValue

TypedIOPort maximumValue
The output port for the maximum value. The type of this output is constrained to be at most a scalar.


channelNumber

TypedIOPort channelNumber
The output port for the channel number. The type of this output is an integer.

Class ptolemy.actor.lib.MaxIndex extends Transformer implements Serializable

Class ptolemy.actor.lib.Minimum extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the minimumValue output.


minimumValue

TypedIOPort minimumValue
The output port for the minimum value. The type of this output is constrained to be at most a scalar.


channelNumber

TypedIOPort channelNumber
The output port for the channel number. The type of this output is an integer.

Class ptolemy.actor.lib.MonitorValue extends Sink implements Serializable

Serialized Fields

value

Parameter value
The most recently seen input value. This parameter has the same type as the input.


initial

Parameter initial
The initial value to be displayed.

Class ptolemy.actor.lib.MovingAverage extends Transformer implements Serializable

Serialized Fields

maxPastInputsToAverage

Parameter maxPastInputsToAverage
The maximum number of past inputs to average. This is an integer that defaults to 10.


_data

Token[] _data
The delay line.


_mostRecent

int _mostRecent
The index into the delay line of the most recent input.


_count

int _count
Count of the number of inputs received, bounded by the size of the _data array.


_maxPastInputsToAverage

int _maxPastInputsToAverage
Maximum number of past inputs to average.


_reinitializeNeeded

boolean _reinitializeNeeded
Indicator that at least an attribute has been changed since the last initialization.


_factor

DoubleToken _factor
The factor by which to multiply the sum of the past inputs.

Class ptolemy.actor.lib.MovingMaximum extends Transformer implements Serializable

Serialized Fields

_maximum

ScalarToken _maximum

_value

ScalarToken _value

Class ptolemy.actor.lib.Multiplexor extends Transformer implements Serializable

Serialized Fields

select

TypedIOPort select
Input for the index of the port to select. The type is IntToken.


_channel

int _channel
The most recently read select input.

Class ptolemy.actor.lib.MultiplyDivide extends TypedAtomicActor implements Serializable

Serialized Fields

divide

TypedIOPort divide
Input for tokens to be divided. This is a multiport, and its type is inferred from the connections.


output

TypedIOPort output
Output port. The type is inferred from the connections.


multiply

TypedIOPort multiply
Input for tokens to be multiplied. This is a multiport, and its type is inferred from the connections.

Class ptolemy.actor.lib.NonStrictTest extends Sink implements Serializable

Serialized Fields

correctValues

Parameter correctValues
A matrix specifying what the input should be. This defaults to a one-by-one array containing a boolean true.


tolerance

Parameter tolerance
A double specifying how close the input has to be to the value given by correctValues. This is a DoubleToken, with default value 10-9.


requireAllCorrectValues

Parameter requireAllCorrectValues
If true, and the number of tokens seen in wrapup() is not equal to or greater than the number of elements in the correctValues array, then throw an exception. The default value is true. This parameter is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


trainingMode

SharedParameter trainingMode
If true, then do not check inputs, but rather collect them into the correctValues array. This parameter is a boolean, and it defaults to false. It is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


_numberOfInputTokensSeen

int _numberOfInputTokensSeen
Number of input tokens seen by this actor in the fire method.


_tolerance

double _tolerance
A double that is read from the tolerance parameter specifying how close the input has to be to the value given by correctValues. This is a double, with default value 10-9.


_iteration

int _iteration
Count of iterations.


_trainingTokens

java.util.List<E> _trainingTokens
List to store tokens for training mode.


_firedOnce

boolean _firedOnce
Set to true if fire() is called once. If fire() is not called at least once, then throw an exception in wrapup().


_initialized

boolean _initialized
Set to true when initialized() is called.

Class ptolemy.actor.lib.OrderedMerge extends TypedAtomicActor implements Serializable

Serialized Fields

eliminateDuplicates

Parameter eliminateDuplicates
If true, eliminate duplicate tokens in the output stream. This is a boolean that defaults to false.


inputA

TypedIOPort inputA
The first input port, which accepts any scalar token.


inputA_tokenConsumptionRate

Parameter inputA_tokenConsumptionRate
The token consumption rate for inputA.


inputB

TypedIOPort inputB
The second input port, which accepts any scalar token with the same type as the first input port.


inputB_tokenConsumptionRate

Parameter inputB_tokenConsumptionRate
The token consumption rate for inputB.


output

TypedIOPort output
The output port, which has the same type as the input ports.


selectedA

TypedIOPort selectedA
Output port indicating whether the output token came from inputA.


_lastProduced

ScalarToken _lastProduced
The last produced token. Used to eliminate duplicates.


_nextPort

TypedIOPort _nextPort
The port from which to read next.


_readFromA

boolean _readFromA
Indicator of whether the _recordedToken was read from A.


_recordedToken

ScalarToken _recordedToken
The recorded token.


_tentativeLastProduced

ScalarToken _tentativeLastProduced
The tentative last produced token. Used to eliminate duplicates.


_tentativeReadFromA

boolean _tentativeReadFromA
Tentative indicator of having read from A.


_tentativeRecordedToken

ScalarToken _tentativeRecordedToken
The tentative recorded token.


_tentativeNextPort

TypedIOPort _tentativeNextPort
The tentative port from which to read next.

Class ptolemy.actor.lib.OrderedRecordAssembler extends RecordAssembler implements Serializable

Class ptolemy.actor.lib.PhaseUnwrap extends Transformer implements Serializable

Serialized Fields

_previousPhaseInput

double _previousPhaseInput

_tempPreviousPhaseInput

double _tempPreviousPhaseInput

_previousPhaseOutput

double _previousPhaseOutput

_tempPreviousPhaseOutput

double _tempPreviousPhaseOutput

Class ptolemy.actor.lib.PoissonClock extends RandomSource implements Serializable

Serialized Fields

fireAtStart

Parameter fireAtStart
If true, then this actor will request a firing at the start time. Otherwise, the first firing will be requested at the first random time. This is a boolean-valued parameter that defaults to true.


meanTime

Parameter meanTime
The mean time between events, where the output value transitions. This parameter must contain a DoubleToken.


stopTime

Parameter stopTime
The time at which postfire() should return false. This is a double that defaults to Infinity, which means that postfire() never returns false (or at least, doesn't do so due to stopTime having been exceeded).


values

Parameter values
The values that will be produced at the output. This parameter can contain any ArrayToken, and it defaults to {1, 0}.


_current

double _current

_executing

boolean _executing

_stopTime

Time _stopTime

Class ptolemy.actor.lib.Publisher extends TypedAtomicActor implements Serializable

Serialized Fields

channel

StringParameter channel
The name of the channel. Subscribers that reference this same channel will receive any transmissions to this port. This is a string that defaults to empty, indicating that no channel is specified. A channel must be set before the actor executes or an exception will occur.


input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the output.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input. This port is hidden by default and the actor handles creating connections to it.


_channel

java.lang.String _channel
Cached channel name.

Class ptolemy.actor.lib.PublisherNonStrictTest extends Publisher implements Serializable

Serialized Fields

correctValues

Parameter correctValues
A matrix specifying what the input should be. This defaults to a one-by-one array containing a boolean true.


tolerance

Parameter tolerance
A double specifying how close the input has to be to the value given by correctValues. This is a DoubleToken, with default value 10-9.


trainingMode

SharedParameter trainingMode
If true, then do not check inputs, but rather collect them into the correctValues array. This parameter is a boolean, and it defaults to false. It is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


_firedOnce

boolean _firedOnce
Set to true if fire() is called once. If fire() is not called at least once, then throw an exception in wrapup().


_initialized

boolean _initialized
Set to true when initialized() is called.


_iteration

int _iteration
Count of iterations.


_numberOfInputTokensSeen

int _numberOfInputTokensSeen
Number of input tokens seen by this actor in the fire method.


_tolerance

double _tolerance
A double that is read from the tolerance parameter specifying how close the input has to be to the value given by correctValues. This is a double, with default value 10-9.


_trainingTokens

java.util.List<E> _trainingTokens
List to store tokens for training mode.

Class ptolemy.actor.lib.PublisherTest extends PublisherNonStrictTest implements Serializable

Class ptolemy.actor.lib.Pulse extends SequenceSource implements Serializable

Serialized Fields

indexes

Parameter indexes
The indexes at which the specified values will be produced. This parameter is an array of integers, with default value {0, 1}.


repeat

Parameter repeat
The flag that indicates whether the pulse sequence needs to be repeated. This is a boolean, and defaults to false.


values

Parameter values
The values that will be produced at the specified indexes. This parameter is an array, with default value {1, 0}.


_iterationCount

int _iterationCount

_indexColCount

int _indexColCount

_zero

Token _zero

_match

boolean _match

_repeatFlag

boolean _repeatFlag

Class ptolemy.actor.lib.Quantizer extends Transformer implements Serializable

Serialized Fields

levels

Parameter levels
The quantization levels. This parameter contains an array of doubles with default value {-1.0, 1.0}.


_thresholds

double[] _thresholds

Class ptolemy.actor.lib.Ramp extends SequenceSource implements Serializable

Serialized Fields

init

Parameter init
The value produced by the ramp on its first iteration. If this value is changed during execution, then the new value will be the output on the next iteration. The default value of this parameter is the integer 0.


step

PortParameter step
The amount by which the ramp output is incremented on each iteration. The default value of this parameter is the integer 1.


_stateToken

Token _stateToken

_resultArray

Token[] _resultArray

Class ptolemy.actor.lib.RandomSource extends Source implements Serializable

Serialized Fields

resetOnEachRun

SharedParameter resetOnEachRun
If true, this parameter specifies that the random number generator should be reset on each run of the model (in the initialize() method). It is a boolean that defaults to false. This is a shared parameter, meaning that changing it somewhere in the model causes it to be changed everywhere in the model.


seed

SharedParameter seed
The seed that controls the random number generation. This is a shared parameter, meaning that all instances of RandomSource or derived classes in the same model share the same value. A seed of zero is interpreted to mean that no seed is specified, which means that each execution of the model could result in distinct data. For the value 0, the seed is set to System.currentTimeMillis() + hashCode(), which means that with extremely high probability, two distinct actors will have distinct seeds. However, current time may not have enough resolution to ensure that two subsequent executions of the same model have distinct seeds. For a value other than zero, the seed is set to that value plus the hashCode() of the full name of the actor. This means that with high probability, two distinct actors will have distinct, but repeatable seeds. This parameter contains a LongToken, initially with value 0.


_generatorSeed

long _generatorSeed
The current value of the seed parameter.


_needNew

boolean _needNew
Indicator that a new random number is needed.


_needNewGenerator

boolean _needNewGenerator
Indicator that a new generator is needed.


_random

java.util.Random _random
The Random object.

Class ptolemy.actor.lib.Reader extends Source implements Serializable

Serialized Fields

sourceURL

Parameter sourceURL
Deprecated. 
The URL of the file to read from. This parameter contains a StringToken. By default, it contains an empty string, which is interpreted to mean that input should be directed to the standard input. FIXME: Should this bring up a dialog box to type (or select) a URL?


refresh

Parameter refresh
Deprecated. 
Refresh between each readings. Default is false.


_reader

java.io.BufferedReader _reader
Deprecated. 

_source

java.lang.String _source
Deprecated. 

_data

double[] _data
Deprecated. 

_dataSize

int _dataSize
Deprecated. 

Class ptolemy.actor.lib.RecordAssembler extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. Its type is constrained to be a RecordType.


_typeConstraints

java.util.Set<E> _typeConstraints
Cached list of type constraints.


_typeConstraintsVersion

long _typeConstraintsVersion
Version number when the cache was last updated.

Class ptolemy.actor.lib.RecordDisassembler extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. Its type is constrained to be a RecordType.

Class ptolemy.actor.lib.Recorder extends Sink implements Serializable

Serialized Fields

capacity

Parameter capacity
The capacity of the record for each channel. This parameter must contain an IntToken.


_count

int _count

_records

java.util.List<E> _records

_latest

Token[] _latest

_timeRecord

java.util.List<E> _timeRecord

Class ptolemy.actor.lib.RecordUpdater extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. Its type is constrained to be a RecordType.


input

TypedIOPort input
The input port. Its type is constrained to be a RecordType.

Class ptolemy.actor.lib.RecursiveLattice extends Transformer implements Serializable

Serialized Fields

reflectionCoefficients

Parameter reflectionCoefficients
The reflection coefficients. This is an array of doubles with default value {0.804534, -0.820577, 0.521934, -0.205}. These are the reflection coefficients for the linear predictor of a particular random process.


_backward

double[] _backward

_backwardCache

double[] _backwardCache

_forward

double[] _forward

_forwardCache

double[] _forwardCache

_reflectionCoefficients

double[] _reflectionCoefficients

Class ptolemy.actor.lib.Remainder extends Transformer implements Serializable

Serialized Fields

divisor

Parameter divisor
The divisor for calculating the remainder. This is a double with default value 1.0.

Class ptolemy.actor.lib.RemoveNilTokens extends Transformer implements Serializable

Class ptolemy.actor.lib.ResettableTimer extends Transformer implements Serializable

Serialized Fields

preemptive

Parameter preemptive
Indicator of whether new inputs cancel previous requests. This is a boolean that defaults to true.


value

Parameter value
The value produced at the output. This can have any type, and it defaults to a boolean token with value true.


_pendingOutputTime

Time _pendingOutputTime
Pending output time.


_pendingOutputMicrostep

int _pendingOutputMicrostep
Pending output microstep.


_pendingRequests

CalendarQueue _pendingRequests
A local queue to store the pending requests.

Class ptolemy.actor.lib.Rician extends RandomSource implements Serializable

Serialized Fields

xMean

Parameter xMean
The mean of the random number along the X-axis. This parameter contains a DoubleToken, initially with value 0.0.


yMean

Parameter yMean
The mean of the random number along the Y-axis. This parameter contains a DoubleToken, initially with value 0.0.


standardDeviation

Parameter standardDeviation
The standard deviation of the random number. This parameter contains a DoubleToken, initially with value 1.0.


_current

double _current

Class ptolemy.actor.lib.Sampler extends Transformer implements Serializable

Serialized Fields

trigger

TypedIOPort trigger
The trigger port, which has undeclared type. If this port receives a token, then the most recent token from the input port will be emitted on the output port.

Class ptolemy.actor.lib.Scale extends Transformer implements Serializable

Serialized Fields

factor

Parameter factor
The factor. This parameter can contain any scalar token that supports multiplication. The default value of this parameter is the IntToken 1.


scaleOnLeft

Parameter scaleOnLeft
Multiply on the left. This parameter controls whether the scale factor is multiplied on the left. The default value is a boolean token of value true. Setting is to false will multiply the factor on the right.

Class ptolemy.actor.lib.Select extends Transformer implements Serializable

Serialized Fields

control

TypedIOPort control
Input port for control tokens, which specify the output channel to produce data on. The type is int.


_control

int _control

Class ptolemy.actor.lib.Sequence extends TypedAtomicActor implements Serializable

Serialized Fields

enable

TypedIOPort enable
The enable input port. If this port is connected, then its input will determine whether an output is produced in any given firing. The type is boolean.


holdLastOutput

Parameter holdLastOutput
A flag indicating whether to interpret the values as an infinite sequence where the last value is repeated forever. This is a boolean that defaults to false.


output

TypedIOPort output
The output port. The type is greater than or equal to the types of the two input ports.


repeat

Parameter repeat
The flag that indicates whether the sequence needs to be repeated. If this is false, then either the last value of the sequence is repeatedly produced after the entire sequence has been produced, or the actor stops producing output, depending on the value of holdLastOutput. This is a boolean, and defaults to false.


values

Parameter values
The values that will be produced on the output. This parameter is an array, with default value {1}.


_currentIndex

int _currentIndex

_outputProduced

boolean _outputProduced

Class ptolemy.actor.lib.Sequencer extends Transformer implements Serializable

Serialized Fields

sequenceNumber

TypedIOPort sequenceNumber
Input for the sequence number. The type is int.


startingSequenceNumber

Parameter startingSequenceNumber
The first number of the sequence. This is an int that defaults to 0.


_fireProducedOutput

boolean _fireProducedOutput

_nextSequenceNumber

int _nextSequenceNumber

_nextToken

Token _nextToken

_pending

java.util.TreeMap<K,V> _pending

_sequenceNumberOfInput

int _sequenceNumberOfInput

Class ptolemy.actor.lib.SequenceSource extends LimitedFiringSource implements Serializable

Class ptolemy.actor.lib.SequentialClock extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
Deprecated. 
The output port. The type of this port is determined by from the values parameter.


offsets

Parameter offsets
Deprecated. 
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0, 1.0}.


period

Parameter period
Deprecated. 
The period of the output waveform. This parameter must contain a DoubleToken, and defaults to 2.0.


values

Parameter values
Deprecated. 
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and defaults to {1, 0}.


_firstFiring

boolean _firstFiring
Deprecated. 

Class ptolemy.actor.lib.SetVariable extends TypedAtomicActor implements Serializable

Serialized Fields

delayed

Parameter delayed
Parameter that determines when reconfiguration occurs.


input

TypedIOPort input
The input port.


output

TypedIOPort output
The output port.


variableName

StringAttribute variableName
The name of the variable in the container to set.


_attribute

Attribute _attribute
Cached reference to the associated variable.


_attributeVersion

long _attributeVersion
Workspace version for the cached attribute reference.


_setFailed

boolean _setFailed
Indicator that setting the variable failed.

Class ptolemy.actor.lib.SingleTokenCommutator extends Transformer implements Serializable

Serialized Fields

_currentInputPosition

int _currentInputPosition

Class ptolemy.actor.lib.Sink extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port, which is a multiport.

Class ptolemy.actor.lib.Sleep extends Transformer implements Serializable

Serialized Fields

sleepTime

PortParameter sleepTime
The sleep time in milliseconds. This has type long and default "0L".


_wasSleepCalledInFireYet

boolean _wasSleepCalledInFireYet
True if sleep was called in fire(). Thread.sleep() should only be called once in fire().

Class ptolemy.actor.lib.Source extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. The type of this port is unspecified. Derived classes may set it.


trigger

TypedIOPort trigger
The trigger port. The type of this port is undeclared, meaning that it will resolve to any data type.

Class ptolemy.actor.lib.Stop extends Sink implements Serializable

Serialized Fields

_hideName

SingletonParameter _hideName
The parameter that hides the name of the actor. The default value is true.

Class ptolemy.actor.lib.StringConst extends Const implements Serializable

Class ptolemy.actor.lib.SubMatrix extends Transformer implements Serializable

Serialized Fields

column

PortParameter column
The starting column number. This is an integer that defaults to 0.


columnSpan

PortParameter columnSpan
The span of columns. This is an integer that defaults to 1.


row

PortParameter row
The starting row number. This is an integer that defaults to 0.


rowSpan

PortParameter rowSpan
The span of rows. This is an integer that defaults to 1.

Class ptolemy.actor.lib.Subscriber extends TypedAtomicActor implements Serializable

Serialized Fields

channel

StringParameter channel
The name of the channel. Subscribers that reference this same channel will receive any transmissions to this port. This is a string that defaults to "channel1".


input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the output.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input. This port is hidden by default and the actor handles creating connections to it.


_channel

java.lang.String _channel
Cached channel name.

Class ptolemy.actor.lib.SubscriptionAggregator extends Subscriber implements Serializable

Serialized Fields

operation

StringParameter operation
The operation used to aggregate the data produced by matching publishers. The choices are "add" and "multiply". Note that "multiply" is a poor choice if the data type has a non-commutative multiplication operation (e.g. matrix types) because the result will be nondeterministic. This is a string that defaults to "add".


_addOperation

boolean _addOperation
Indicator that the operation is "add" rather than "multiply".


_channelPattern

java.util.regex.Pattern _channelPattern
Regex Pattern for _channelName.

Class ptolemy.actor.lib.Switch extends Transformer implements Serializable

Serialized Fields

control

TypedIOPort control
Input port for control tokens, which specify the output channel to produce data on. The type is int.


_control

int _control

Class ptolemy.actor.lib.Synchronizer extends Transformer implements Serializable

Class ptolemy.actor.lib.Test extends NonStrictTest implements Serializable

Serialized Fields

output

TypedIOPort output
Boolean output that is false as long as there is data to compare against the input, but becomes true on the first firing after such data has been exhausted.

Class ptolemy.actor.lib.TestExceptionHandler extends TypedAtomicActor implements Serializable

Serialized Fields

trainingMode

SharedParameter trainingMode
If true, then collect the exception message and set the correctExceptionMessage parameter with the content of the exception. This parameter is a boolean, and it defaults to false. It is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


correctExceptionMessage

StringParameter correctExceptionMessage
The correct exception message to be compared against.


_invoked

boolean _invoked

Class ptolemy.actor.lib.ThrowException extends Sink implements Serializable

Serialized Fields

message

StringAttribute message
The message reported in the exception, which is a string that defaults to "Model triggered an exception".

Class ptolemy.actor.lib.ThrowModelError extends Sink implements Serializable

Serialized Fields

message

StringAttribute message
The message reported in the exception.

Class ptolemy.actor.lib.TimeDelay extends Transformer implements Serializable

Serialized Fields

delay

Parameter delay
The amount of delay. The default for this parameter is 1.0. This parameter must contain a DoubleToken with a non-negative value, or an exception will be thrown when it is set.


_currentOutput

Token _currentOutput
Current output.


_delay

double _delay
The amount of delay.


_delayedOutputTokens

CalendarQueue _delayedOutputTokens
A local event queue to store the delayed output tokens.


_causalityMarker

CausalityMarker _causalityMarker
A causality marker to store information about how pure events are causally related to trigger events.

Class ptolemy.actor.lib.TimedSource extends Source implements Serializable

Serialized Fields

stopTime

Parameter stopTime
The time at which postfire() should return false. This is a double that defaults to Infinity, which means that postfire() never returns false (or at least, doesn't do so due to stopTime having been exceeded).


stopTimeIsLocal

Parameter stopTimeIsLocal
If true, use the local time to compare against the stopTime parameter, rather than the global time. Local time may differ from global time inside modal models and certain domains that manipulate time. This is a boolean that defaults to false.


_executing

boolean _executing

_stopTime

Time _stopTime

Class ptolemy.actor.lib.TopLevelCurrentTime extends TimedSource implements Serializable

Class ptolemy.actor.lib.Transformer extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the output.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input.

Class ptolemy.actor.lib.Triangular extends RandomSource implements Serializable

Serialized Fields

min

PortParameter min
The minimum value. This parameter contains a DoubleToken, initially with value 0.0.


max

PortParameter max
The maximum value. This parameter contains a DoubleToken, initially with value 1.0.


mode

PortParameter mode
The mode of the distribution (peak of triangle). This parameter contains a DoubleToken, initially with value 0.5.


_current

double _current

Class ptolemy.actor.lib.TrigFunction extends Transformer implements Serializable

Serialized Fields

function

StringParameter function
The function to compute. This is a string-valued attribute that defaults to "sin".


_resultArray

DoubleToken[] _resultArray

_function

int _function

Class ptolemy.actor.lib.TriggeredClock extends Clock implements Serializable

Serialized Fields

start

TypedIOPort start
A port that, if connected, is used to specify when the clock starts. This port has undeclared type.


stop

TypedIOPort stop
A port that, if connected, is used to specify when the clock stops. This port has undeclared type.

Class ptolemy.actor.lib.TypeTest extends Discard implements Serializable

Serialized Fields

parameterTypes

Parameter parameterTypes
A record of record of strings representing the types of parameters of actors in the model.


portTypes

Parameter portTypes
A record of record of strings representing the types of ports of actors in the model.


trainingMode

Parameter trainingMode
If true, then do not check inputs, but rather collect them into the portTypes and parameterTypes arrays. This parameter is a boolean, and it defaults to false.

Class ptolemy.actor.lib.UnaryMathFunction extends Transformer implements Serializable

Serialized Fields

function

StringParameter function
The function to compute. This is a string-valued attribute that defaults to "exp".


_function

int _function

Class ptolemy.actor.lib.Uniform extends RandomSource implements Serializable

Serialized Fields

lowerBound

PortParameter lowerBound
The lower bound. This parameter contains a DoubleToken, initially with value 0.0.


upperBound

PortParameter upperBound
The upper bound. This parameter contains a DoubleToken, initially with value 0.0.


_current

double _current

Class ptolemy.actor.lib.UnionDisassembler extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. Its type is constrained to be a UnionType.

Class ptolemy.actor.lib.URLDirectoryReader extends URLReader implements Serializable

Serialized Fields

endsWith

Parameter endsWith
Deprecated. 
If non-null and non-empty, then only output file names and sub directories that end with this String value. The default value of this parameter is the empty String "".


repeat

Parameter repeat
Deprecated. 
Repeat after outputting all elements of the directory. The default value of this parameter is a false BooleanToken.


_endsWithValue

java.lang.String _endsWithValue
Deprecated. 

_iterationCount

int _iterationCount
Deprecated. 

_data

java.lang.String[] _data
Deprecated. 

_repeatFlag

boolean _repeatFlag
Deprecated. 

Class ptolemy.actor.lib.URLReader extends Source implements Serializable

Serialized Fields

sourceURL

Parameter sourceURL
The URL of the file to read from. This parameter contains a StringToken. By default, it contains an empty string, which is interpreted to mean that input should be directed to the standard input. FIXME: Should this bring up a dialog box to type (or select) a URL?


refresh

Parameter refresh
The flag that indicates whether to refresh between each reading. This is a boolean, and defaults to false.


_reader

java.io.BufferedReader _reader
The reader to read from.


_source

java.lang.String _source
String for the URL.


_refreshFlag

boolean _refreshFlag
Flag to indicate whether or not to refresh the data between readings.

Class ptolemy.actor.lib.VariableClock extends Clock implements Serializable

Serialized Fields

periodControl

TypedIOPort periodControl
Deprecated. 
The port that controls the value of the period parameter.

Class ptolemy.actor.lib.VariableSleep extends Transformer implements Serializable

Serialized Fields

defaultSleepTime

Parameter defaultSleepTime
The sleepTime amount, in milliseconds This parameter must contain a LongToken. The default value of this parameter is 0, meaning that this actor will not sleep the current thread at all.


sleepTime

TypedIOPort sleepTime
An input port receives the value of sleep time.


_wasSleepCalledInFireYet

boolean _wasSleepCalledInFireYet

_sleepTime

long _sleepTime

Class ptolemy.actor.lib.VectorAssembler extends Transformer implements Serializable

Serialized Fields

isColumn

Parameter isColumn
True if the output vector is a column matrix. Otherwise, the output is a row matrix. The default value is true.

Class ptolemy.actor.lib.VectorDisassembler extends Transformer implements Serializable

Class ptolemy.actor.lib.WallClockTime extends Source implements Serializable

Serialized Fields

passThrough

TypedIOPort passThrough
The output port to which the trigger input is passed. The type is the same as the type of the trigger port, which is undeclared, meaning that it will resolve to any type.


_startTime

long _startTime
The start time.

Class ptolemy.actor.lib.Writer extends Sink implements Serializable

Serialized Fields

_writer

java.io.Writer _writer

Package ptolemy.actor.lib.colt

Class ptolemy.actor.lib.colt.ColtBeta extends ColtRandomSource implements Serializable

Serialized Fields

alpha

PortParameter alpha
Alpha. This has type double with default 2.0.


beta

PortParameter beta
Beta. This has type double with default 2.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Beta _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtBinomial extends ColtRandomSource implements Serializable

Serialized Fields

n

PortParameter n
n. This has type int with default 1.


p

PortParameter p
p. This has type double with default 0.5.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.Binomial _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtBinomialSelector extends ColtRandomSource implements Serializable

Serialized Fields

trials

PortParameter trials
The total number of trials to assign. This PortParameter is of type Int and has an initial default value of 1.


populations

TypedIOPort populations
The populations to select from. This multiport is of type Long.


_current

int[] _current
The tokens to emit during the current iteration.


_generator

cern.jet.random.Binomial _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtBreitWigner extends ColtRandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
mean. This is a double with default 1.0.


gamma

PortParameter gamma
gamma. This is a double with default 1.0.


cut

PortParameter cut
cut. This is a double with default 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.BreitWigner _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtChiSquare extends ColtRandomSource implements Serializable

Serialized Fields

freedom

PortParameter freedom
freedom. This has type double with default value 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.ChiSquare _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtExponential extends ColtRandomSource implements Serializable

Serialized Fields

lambda

PortParameter lambda
The mean value of the exponential. This is a double with default value 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Exponential _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtExponentialPower extends ColtRandomSource implements Serializable

Serialized Fields

tau

PortParameter tau
tau. This has type double with default value 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.ExponentialPower _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtGamma extends ColtRandomSource implements Serializable

Serialized Fields

alpha

PortParameter alpha
The mean, or alpha. This has type double with default 1.0.


lambda

PortParameter lambda
The variance, or lambda. This has type double with default 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Gamma _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtHyperGeometric extends ColtRandomSource implements Serializable

Serialized Fields

N

PortParameter N
N. This has type int with default 2.


s

PortParameter s
coltLmabda. This has type int with default 1.


n

PortParameter n
coltLmabda. This has type int with default 1.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.HyperGeometric _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtLogarithmic extends ColtRandomSource implements Serializable

Serialized Fields

p

PortParameter p
p. This has type double with default value 0.5.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Logarithmic _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtNegativeBinomial extends ColtRandomSource implements Serializable

Serialized Fields

n

PortParameter n
The mean, or n. This has type int with default value 1.


p

PortParameter p
The variance, or p. This has type double with default 0.5.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.NegativeBinomial _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtNormal extends ColtRandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
mean. This has type double with default value 1.0.


standardDeviation

PortParameter standardDeviation
standardDeviation. This has type double with default 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Normal _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtPoisson extends ColtRandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
The mean. This has type double, initially with value 1.0.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.Poisson _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtPoissonSlow extends ColtRandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
mean. This has type double with default value 1.0.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.PoissonSlow _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtRandomSource extends RandomSource implements Serializable

Serialized Fields

generatorClass

SharedParameter generatorClass
The low-level random number generator (RNG) class name. This is a string that defaults to "DRand". Below are possible values for this parameter and links to pages that define the meaning of the parameter. This is a "shared parameter", which means that changing this parameter in any one actor will cause a similar change to be applied to all other Colt actors within the same top level (unless this is in a library).
  • "DRand" (Definition)
  • "MersenneTwister (MT19937)" (Definition)
  • "Ranecu"" (Definition)
  • "Ranlux" (Definition)
  • "Ranmar" (Definition)

  • _randomNumberGenerator

    edu.cornell.lassp.houle.RngPack.RandomElement _randomNumberGenerator
    The low-level random number generator.


    _generatorClassName

    java.lang.String _generatorClassName
    The class name of the current _randomNumberGenerator.

    Class ptolemy.actor.lib.colt.ColtStudentT extends ColtRandomSource implements Serializable

    Serialized Fields

    freedom

    PortParameter freedom
    freedom. This has type double, initially with value 1.0.


    _current

    double _current
    The random number for the current iteration.


    _generator

    cern.jet.random.StudentT _generator
    The random number generator.

    Class ptolemy.actor.lib.colt.ColtVonMises extends ColtRandomSource implements Serializable

    Serialized Fields

    freedom

    PortParameter freedom
    freedom. This has type double, initially with value 1.0.


    _current

    double _current
    The random number for the current iteration.


    _generator

    cern.jet.random.VonMises _generator
    The random number generator.

    Class ptolemy.actor.lib.colt.ColtZeta extends ColtRandomSource implements Serializable

    Serialized Fields

    ro

    PortParameter ro
    ro. This has type double, initially with value 1.0.


    pk

    PortParameter pk
    pk. This has type double, initially with value 1.0.


    _current

    int _current
    The random number for the current iteration.


    _generator

    cern.jet.random.Zeta _generator
    The random number generator.


    Package ptolemy.actor.lib.comm

    Class ptolemy.actor.lib.comm.ConvolutionalCoder extends Transformer implements Serializable

    Serialized Fields

    polynomialArray

    Parameter polynomialArray
    An array of integers defining an array of polynomials with binary coefficients. The coefficients indicate the presence (1) or absence (0) of a tap in the shift register. Each element of this array parameter should be a positive integer. The default value is {05, 07}.


    initialState

    Parameter initialState
    Integer defining the initial state of the shift register. The i-th bit of the integer indicates the value of the i-th register. This parameter should be a non-negative integer. Its default value is the integer 0.


    uncodedRate

    Parameter uncodedRate
    Integer defining the number of bits that the shift register takes in each firing. It should be a positive integer. Its default value is the integer 1.


    _inputRate

    Parameter _inputRate

    _outputRate

    Parameter _outputRate

    _shiftReg

    int _shiftReg

    _latestShiftReg

    int _latestShiftReg

    _inputNumber

    int _inputNumber

    _mask

    int[] _mask

    _maskNumber

    int _maskNumber

    _maxPolyValue

    int _maxPolyValue

    Class ptolemy.actor.lib.comm.DeScrambler extends Transformer implements Serializable

    Serialized Fields

    polynomial

    Parameter polynomial
    Integer defining a polynomial with binary coefficients. The coefficients indicate the presence (1) or absence (0) of a tap in a feedback shift register. This parameter should contain a positive integer with the lower-order bit being 1. Its default value is the integer 0440001.


    initialState

    Parameter initialState
    Integer defining the initial state of the shift register. The n-th bit of the integer indicates the value of the n-th register. This parameter should be a non-negative integer. Its default value is the integer 1.


    _shiftReg

    int _shiftReg

    _latestShiftReg

    int _latestShiftReg

    Class ptolemy.actor.lib.comm.HadamardCode extends Source implements Serializable

    Serialized Fields

    index

    PortParameter index
    Index of the code to generate. Codes with different indexes are orthogonal. This is an int with default 0. It should not exceed length-1, where length = 2^log2Length.


    log2Length

    Parameter log2Length
    Log base 2 of the length of the code. This is an integer with default 5. It is required to be greater than 0.


    _index

    int _index

    _previousIndex

    int _previousIndex

    _latestIndex

    int _latestIndex

    _row

    boolean[] _row

    Class ptolemy.actor.lib.comm.HammingCoder extends Transformer implements Serializable

    Serialized Fields

    uncodedRate

    Parameter uncodedRate
    Integer defining the uncode block size. It should be a positive integer. Its default value is the integer 4.


    codedRate

    Parameter codedRate
    Integer defining the Hamming code block size. This parameter should be a non-negative integer. Its default value is the integer 7.


    _inputRate

    Parameter _inputRate

    _outputRate

    Parameter _outputRate

    _uncodeSizeValue

    int _uncodeSizeValue

    _codeSizeValue

    int _codeSizeValue

    _order

    int _order

    _parityMatrix

    int[][] _parityMatrix

    Class ptolemy.actor.lib.comm.HammingDecoder extends Transformer implements Serializable

    Serialized Fields

    uncodedRate

    Parameter uncodedRate
    Integer defining the uncode block size. It should be a positive integer. Its default value is the integer 4.


    codedRate

    Parameter codedRate
    Integer defining the Hamming code block size. This parameter should be a non-negative integer. Its default value is the integer 7.


    _inputRate

    Parameter _inputRate

    _outputRate

    Parameter _outputRate

    _uncodeSizeValue

    int _uncodeSizeValue

    _codeSizeValue

    int _codeSizeValue

    _order

    int _order

    _parityMatrix

    int[][] _parityMatrix

    _index

    int[] _index

    Class ptolemy.actor.lib.comm.HuffmanBasic extends Transformer implements Serializable

    Serialized Fields

    pmf

    Parameter pmf
    The probability mass function. This parameter is an array of doubles. Each element should be positive and the sum of all elements should be 1.0. The default value is {0.5, 0.5}.


    alphabet

    Parameter alphabet
    The alphabet of the input. This parameter is an ArrayToken. Its default value is {0, 1}.


    huffmanCodeBook

    TypedIOPort huffmanCodeBook
    A port that produces the Huffman code book generated based on the probability mass function. It is an array of strings.


    _codeBook

    java.lang.String[] _codeBook
    The huffman code book.


    _parametersInvalid

    boolean _parametersInvalid
    Flag that indicates if the parameters are invalid. If it is true, then a new code book needs to be generated.


    _pmf

    double[] _pmf
    The probability mass function.

    Class ptolemy.actor.lib.comm.HuffmanCoder extends HuffmanBasic implements Serializable

    Class ptolemy.actor.lib.comm.HuffmanDecoder extends HuffmanBasic implements Serializable

    Serialized Fields

    _code

    java.lang.String _code

    Class ptolemy.actor.lib.comm.LempelZivCoder extends Transformer implements Serializable

    Serialized Fields

    _codeBook

    java.util.LinkedList<E> _codeBook

    _current

    java.lang.String _current

    _previousIndex

    int _previousIndex

    Class ptolemy.actor.lib.comm.LempelZivDecoder extends Transformer implements Serializable

    Serialized Fields

    _decodeBook

    java.util.LinkedList<E> _decodeBook

    Class ptolemy.actor.lib.comm.Scrambler extends Transformer implements Serializable

    Serialized Fields

    polynomial

    Parameter polynomial
    Integer defining a polynomial with binary coefficients. The coefficients indicate the presence (1) or absence (0) of a tap in a feedback shift register. This parameter should contain a positive integer with the lower-order bit being 1. Its default value is the integer 0440001.


    initialState

    Parameter initialState
    Integer defining the initial state of the shift register. The n-th bit of the integer indicates the value of the n-th register. This parameter should be a non-negative integer. Its default value is the integer 1.


    _shiftReg

    int _shiftReg

    _latestShiftReg

    int _latestShiftReg

    Class ptolemy.actor.lib.comm.Slicer extends Transformer implements Serializable

    Serialized Fields

    table

    Parameter table
    The code table. It is an array token of complex type. The number of values in this array must be at least 2wordLength, or an exception will be thrown. Its default value is {-1.0, 1.0}.


    wordLength

    Parameter wordLength
    The word length is the number of boolean output that are produced on each firing. Its value is an IntToken, with default value one.


    _wordLength

    int _wordLength

    _size

    int _size

    _table

    Complex[] _table

    _outputRate

    Parameter _outputRate

    Class ptolemy.actor.lib.comm.TrellisDecoder extends ViterbiDecoder implements Serializable

    Class ptolemy.actor.lib.comm.ViterbiDecoder extends Transformer implements Serializable

    Serialized Fields

    polynomialArray

    Parameter polynomialArray
    An array of integers defining polynomials with binary coefficients. The coefficients indicate the presence (1) or absence (0) of a tap in the shift register. Each element of this array parameter should be a positive integer. The default value is {05, 07}.


    uncodedRate

    Parameter uncodedRate
    Integer defining the number of bits produced at the output in each firing. It should be a positive integer. Its default value is 1.


    delay

    Parameter delay
    Integer defining the trace back depth of the viterbi decoder. It should be a positive integer. Its default value is the integer 10.


    softDecoding

    Parameter softDecoding
    Boolean defining the decoding mode. If it is true, the decoder will do soft decoding, and the input data type will be double; otherwise it will do hard decoding, and the input data type will be boolean. The default value is false.


    trellisDecoding

    Parameter trellisDecoding
    Boolean defining whether the decoder will do trellis decoding. If it is true, the input data and constellation type will be complex; otherwise, they follow the constraints set by softDecoding. This parameter is always set to "false" in ViterbiDecoder. It will always be set to "true" in TrellisDecoder subclass.


    constellation

    Parameter constellation
    The constellation for soft decoding. Inputs are expected to be symbols from this constellation with added noise. This parameter should be a double array of length 2. The first element defines the amplitude of "false" input. The second element defines the amplitude of "true" input.


    _inputRate

    Parameter _inputRate

    _outputRate

    Parameter _outputRate

    _type

    TypeAttribute _type

    _trellisMode

    boolean _trellisMode

    _softMode

    boolean _softMode

    _mode

    int _mode

    _trueAmp

    double _trueAmp

    _falseAmp

    double _falseAmp

    _constellation

    Complex[] _constellation

    _inputNumber

    int _inputNumber

    _maskNumber

    int _maskNumber

    _mask

    int[] _mask

    _maxPolyValue

    int _maxPolyValue

    _shiftRegLength

    int _shiftRegLength

    _truthTable

    int[][][] _truthTable

    _rowNum

    int _rowNum

    _colNum

    int _colNum

    _depth

    int _depth

    _distance

    double[] _distance

    _tempDistance

    double[] _tempDistance

    _path

    int[][] _path

    _tempPath

    int[][] _tempPath

    _flag

    int _flag

    Package ptolemy.actor.lib.conversions

    Class ptolemy.actor.lib.conversions.AnythingToDouble extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.BooleanToAnything extends Converter implements Serializable

    Serialized Fields

    falseValue

    Parameter falseValue
    The value produced at the output when a false input is read.


    trueValue

    Parameter trueValue
    The value produced at the output when a true input is read.

    Class ptolemy.actor.lib.conversions.CartesianToComplex extends TypedAtomicActor implements Serializable

    Serialized Fields

    x

    TypedIOPort x
    The input port for the x coordinate of the Cartesian pair, which has type DoubleToken.


    y

    TypedIOPort y
    The input port for the y coordinate of the Cartesian pair, which has type DoubleToken.


    output

    TypedIOPort output
    The port for the output, which has type ComplexToken.

    Class ptolemy.actor.lib.conversions.CartesianToPolar extends TypedAtomicActor implements Serializable

    Serialized Fields

    x

    TypedIOPort x
    The x coordinate of the input pair, which has type DoubleToken.


    y

    TypedIOPort y
    The y coordinate of the input pair, which has type DoubleToken.


    magnitude

    TypedIOPort magnitude
    The magnitude component of the output pair, which has type DoubleToken.


    angle

    TypedIOPort angle
    The angle component of the output pair, which has type DoubleToken.

    Class ptolemy.actor.lib.conversions.ComplexToCartesian extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The port for the input, which has type ComplexToken.


    x

    TypedIOPort x
    The output port for x coordinate, which has type DoubleToken.


    y

    TypedIOPort y
    The output port for the imaginary coordinate, which has type DoubleToken.

    Class ptolemy.actor.lib.conversions.ComplexToPolar extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The port for the input, which has type ComplexToken.


    magnitude

    TypedIOPort magnitude
    The output port for the magnitude component, which has type DoubleToken.


    angle

    TypedIOPort angle
    The output port for the angle component, which has type DoubleToken.

    Class ptolemy.actor.lib.conversions.Converter extends Transformer implements Serializable

    Class ptolemy.actor.lib.conversions.DoubleToFix extends Converter implements Serializable

    Serialized Fields

    precision

    Parameter precision
    The precision of the output fixed-point number, which is represented by a 2-element integer matrix.


    overflow

    StringAttribute overflow
    The overflow strategy used, such as "saturate" or "modulo".


    rounding

    StringAttribute rounding
    The rounding strategy used, such as "nearest" or "truncate".


    _quantization

    FixPointQuantization _quantization

    Class ptolemy.actor.lib.conversions.ExpressionToToken extends Converter implements Serializable

    Serialized Fields

    _parser

    PtParser _parser

    _parseTreeEvaluator

    ParseTreeEvaluator _parseTreeEvaluator

    _scope

    ParserScope _scope

    Class ptolemy.actor.lib.conversions.FixToDouble extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.FixToFix extends Converter implements Serializable

    Serialized Fields

    precision

    Parameter precision
    The precision of the output fix-point number, represented by an integer matrix.


    rounding

    StringAttribute rounding
    The rounding strategy used, such as "nearest" or "truncate".


    overflow

    StringAttribute overflow
    The overflow strategy used to convert a double into a fix point, such as "saturate" or "to_zero".


    _quantization

    FixPointQuantization _quantization

    Class ptolemy.actor.lib.conversions.IntArrayToString extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The port for the input, which has type {int}.


    output

    TypedIOPort output
    The output port, which has type string.

    Class ptolemy.actor.lib.conversions.InUnitsOf extends Transformer implements Serializable

    Serialized Fields

    units

    Parameter units
    The units to which the input tokens will be converted. The default value of this parameter is the double 1.0.

    Class ptolemy.actor.lib.conversions.LongToDouble extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.PolarToCartesian extends TypedAtomicActor implements Serializable

    Serialized Fields

    magnitude

    TypedIOPort magnitude
    The input port for the magnitude component, which has type DoubleToken.


    angle

    TypedIOPort angle
    The input port for the angle component (in radians), which has type DoubleToken.


    x

    TypedIOPort x
    The output port for the x coordinate, which has type DoubleToken.


    y

    TypedIOPort y
    The output port for the y coordinate, which has type DoubleToken.

    Class ptolemy.actor.lib.conversions.PolarToComplex extends TypedAtomicActor implements Serializable

    Serialized Fields

    magnitude

    TypedIOPort magnitude
    The input port for the magnitude component, which has type DoubleToken.


    angle

    TypedIOPort angle
    The input port for the angle component (in radians), which has type DoubleToken.


    output

    TypedIOPort output
    The port for the output, which has type ComplexToken.

    Class ptolemy.actor.lib.conversions.Round extends Transformer implements Serializable

    Serialized Fields

    function

    StringAttribute function
    The rounding strategy to use. This is a string-valued parameter that defaults to "round".


    _resultArray

    IntToken[] _resultArray

    _function

    int _function

    Class ptolemy.actor.lib.conversions.StringToIntArray extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The port for the input, which has type string.


    output

    TypedIOPort output
    The output port, which has type {int}.

    Class ptolemy.actor.lib.conversions.StringToUnsignedByteArray extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.StringToXML extends Transformer implements Serializable

    Serialized Fields

    _outToken

    XMLToken _outToken

    Class ptolemy.actor.lib.conversions.TokenToExpression extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.UnsignedByteArrayToString extends Converter implements Serializable


    Package ptolemy.actor.lib.database

    Class ptolemy.actor.lib.database.ArrayOfRecordsExporter extends LineWriter implements Serializable

    Serialized Fields

    columns

    Parameter columns
    The columns to write. This is an array of strings specifying the column names to write, and the order in which they are written. It defaults to ALL, which indicates that all fields should be written. In this case, the columns are organized alphabetically.


    records

    Parameter records
    Parameter to store the array of records read at the input. This is an array of records that is by default empty.

    Class ptolemy.actor.lib.database.ArrayOfRecordsRecorder extends Sink implements Serializable

    Serialized Fields

    colorKey

    StringParameter colorKey
    A column name to use as a color key. If this string is non-empty, then it specifies a column name that is used to determine a color for each row. The value in that row and column determines the color via a hash function, so that if two rows are identical in that column, then they are also identical in color. This is a string that defaults to empty, indicating that all rows should be displayed in black.


    columns

    Parameter columns
    The columns to display when double clicking on the icon. This is an array of strings specifying the column names to display, and the order in which they are displayed. It defaults to ALL, which indicates that all fields should be displayed. In this case, the columns are organized alphabetically.


    iconColumns

    Parameter iconColumns
    The columns to display in the icon. This is an array of strings specifying the column names to display, and the order in which they are displayed. It defaults to ALL, which indicates that all fields should be displayed. In this case, the columns are organized alphabetically.


    records

    Parameter records
    Parameter to store the array of records read at the input. This is an array of records that is by default empty.

    Class ptolemy.actor.lib.database.DatabaseInsert extends Sink implements Serializable

    Serialized Fields

    clear

    Parameter clear
    If true, clear the table at initialization of the model. This is a boolean that defaults to false.


    databaseManager

    StringParameter databaseManager
    Name of the DatabaseManager to use. This defaults to "DatabaseManager".


    table

    StringParameter table
    Name of the table to set. This defaults to "v_people".

    Class ptolemy.actor.lib.database.DatabaseManager extends TypedAtomicActor implements Serializable

    Serialized Fields

    database

    StringParameter database
    JDBC connection string to access the database. This always starts with "jdbc:driver", where the specific driver chosen determines how to interpret fields in the rest of the string. For example,
        jdbc:oracle:thin:@buffy.eecs.berkeley.edu:1521:acgeecs
      
    specifies a thin client for an Oracle database located at host buffy.eecs.berkeley.edu, which listens on port 1521. The "acgeecs" is the database name. Another example is
        jdbc:mysql://localhost:3306/space
      
    which specifies a MySQL database on the local host, where "space" is the name of the database.


    userName

    StringParameter userName
    User name.


    _connection

    java.sql.Connection _connection
    The currently open connection.


    _password

    char[] _password
    The password last entered.

    Class ptolemy.actor.lib.database.DatabaseQuery extends Source implements Serializable

    Serialized Fields

    databaseManager

    StringParameter databaseManager
    Name of the DatabaseManager to use. This defaults to "DatabaseManager".


    query

    PortParameter query
    An SQL query. This is a string that defaults to "trim(room)='545Q' and trim(bldg)='Cory'", indicating that the retrieved records should have "Cory" in the bldg column and "545Q" in the room column.

    Class ptolemy.actor.lib.database.DatabaseSelect extends Source implements Serializable

    Serialized Fields

    columns

    PortParameter columns
    A record indicating what to query for. The names of the fields are the names of the columns to retrieve from the database, and the value of the field is the type. This is a record that defaults to {LNAME=string, DESKNO=string}, indicating that two columns, LNAME (for last name) and DESKNO (for desk number) should be retrieved from the database.


    databaseManager

    StringParameter databaseManager
    Name of the DatabaseManager to use. This defaults to "DatabaseManager".


    distinct

    Parameter distinct
    Indicator of whether to return only distinct records. This is a boolean that defaults to false.


    orderBy

    StringParameter orderBy
    Optional ordering of the results. For example, to order first by DESKNO (ascending) and then by LNAME (descending), you would change the value of this parameter to "DESKNO asc, LNAME desc". This parameter is a string that defaults to empty, meaning that the ordering of the results is arbitrary.


    pattern

    PortParameter pattern
    A pattern specifying which rows to select from the database. Any pattern understood in the 'where' clause of an SQL statement is acceptable. This is a string that defaults to "trim(room)='545Q' and trim(bldg)='Cory'", indicating that the retrieved records should have "Cory" in the bldg column and "545Q" in the room column.


    table

    StringParameter table
    Table to use within the database. This is a string that defaults to "v_spaces".

    Class ptolemy.actor.lib.database.SQLStatement extends Source implements Serializable

    Serialized Fields

    databaseManager

    StringParameter databaseManager
    Name of the DatabaseManager to use. This defaults to "DatabaseManager".


    query

    PortParameter query
    An SQL query. This is a string that defaults to "describe *".


    Package ptolemy.actor.lib.embeddedJava

    Class ptolemy.actor.lib.embeddedJava.CompiledCompositeActor extends TypedCompositeActor implements Serializable

    Serialized Fields

    codeDirectory

    FileParameter codeDirectory
    The directory in which to put the generated code. This is a file parameter that must specify a directory. The default is $HOME/codegen.


    generatorPackage

    StringParameter generatorPackage
    The name of the package in which to look for helper class code generators. This is a string that defaults to "ptolemy.codegen.java".


    inline

    Parameter inline
    If true, generate file with no functions. If false, generate file with functions. The default value is a parameter with the value true.


    executeEmbeddedCode

    Parameter executeEmbeddedCode
    If true, then invoke the generated code in the action methods (fire(), etc.). If the value is false, this actor will be executed executing like an ordinary composite actor. Classes like EmbeddedJavaActor set embedded to true when there is only Java code specifying the functionality of an actor.


    overwriteFiles

    Parameter overwriteFiles
    If true, overwrite preexisting files. The default value is a parameter with the value true.


    _objectWrapper

    java.lang.Object _objectWrapper

    _sanitizedActorName

    java.lang.String _sanitizedActorName
    The sanitized actor name. The name has the underscores removed and the value of the _version variable appended. Call _updateSanitizedActorName() to properly set this variable.


    _generatedCodeVersion

    long _generatedCodeVersion
    The workspace version for which the code was generated. If the workspace version and this variable differ, Then there is a chance we should regenerate the code.


    _loadedCodeVersion

    long _loadedCodeVersion
    The workspace version for which the code was loaded. If the workspace version and this variable differ, then we should reload the code. Note that we don't want to reload the same dll multiple times or we will get "Native Library foo.dll already loaded in another classloader"


    _version

    int _version
    The version of the shared object. Each time we rebuild, the version number gets incremented. If you change _version, then consider calling _updateSanitizedActorName.

    Class ptolemy.actor.lib.embeddedJava.EmbeddedJavaActor extends CompiledCompositeActor implements Serializable

    Serialized Fields

    embeddedJavaCode

    StringAttribute embeddedJavaCode
    The Java code that specifies the function of this actor. The default value is the code necessary to implement a identity function.


    _embeddedActor

    EmbeddedJavaActor.EmbeddedActor _embeddedActor
    The embedded actor used to contain the ports to the C implementation.

    Class ptolemy.actor.lib.embeddedJava.EmbeddedJavaActor.EmbeddedActor extends TypedAtomicActor implements Serializable


    Package ptolemy.actor.lib.gui

    Class ptolemy.actor.lib.gui.ArrayPlotter extends Plotter implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input port, which receives an array of doubles.


    iterationsPerUpdate

    Parameter iterationsPerUpdate
    The number of iterations between updates of the display on the screen. This parameter has type IntToken, with default value 1. Its value must be non-negative.


    xUnit

    Parameter xUnit
    The increment of the X axis.


    xInit

    Parameter xInit
    The start point of the X axis.


    _xInit

    double _xInit
    Start of the X axis counter.


    _xUnit

    double _xUnit
    Increment of the X axis counter.


    _iteration

    int _iteration

    _offset

    int _offset

    _tokens

    ArrayToken[] _tokens

    Class ptolemy.actor.lib.gui.ArrayPlotterXY extends Plotter implements Serializable

    Serialized Fields

    iterationsPerUpdate

    Parameter iterationsPerUpdate
    The number of iterations between updates of the display on the screen. This parameter has type IntToken, with default value 1. Its value must be non-negative.


    x

    TypedIOPort x
    Input port for the horizontal axis, which receives an array of doubles.


    y

    TypedIOPort y
    Input port for the vertical axis, which receives an array of doubles.


    _iteration

    int _iteration

    _offset

    int _offset

    _xtokens

    ArrayToken[] _xtokens

    _ytokens

    ArrayToken[] _ytokens

    Class ptolemy.actor.lib.gui.ArrowKeyProbe extends ArrowKeySensor implements Serializable

    Class ptolemy.actor.lib.gui.ArrowKeySensor extends TypedAtomicActor implements Serializable

    Serialized Fields

    upArrow

    TypedIOPort upArrow
    Output port, which has type IntToken.


    leftArrow

    TypedIOPort leftArrow
    Output port, which has type IntToken.


    rightArrow

    TypedIOPort rightArrow
    Output port, which has type IntToken.


    downArrow

    TypedIOPort downArrow
    Output port, which has type IntToken.


    _downKeyPressed

    boolean _downKeyPressed
    A flag indicating if the down arrow key has been pressed since the last firing of the actor. Pressed and Released are are not allowed to both be true for the same key (Though both may be false). The most recent action (press or release) takes precedence.


    _downKeyReleased

    boolean _downKeyReleased
    A flag indicating if the down arrow key has been released since the last firing of the actor.


    _leftKeyPressed

    boolean _leftKeyPressed
    A flag indicating if the left arrow key has been released since the last firing of the actor.


    _leftKeyReleased

    boolean _leftKeyReleased
    A flag indicating if the left arrow key has been released since the last firing of the actor.


    _rightKeyPressed

    boolean _rightKeyPressed
    A flag indicating if the right arrow key has been pressed since the last firing of the actor.


    _rightKeyReleased

    boolean _rightKeyReleased
    A flag indicating if the right arrow key has been released since the last firing of the actor.


    _upKeyPressed

    boolean _upKeyPressed
    A flag indicating if the up arrow key has been pressed since the last firing of the actor.


    _upKeyReleased

    boolean _upKeyReleased
    A flag indicating if the up arrow key has been released since the last firing of the actor.


    _myFrame

    ArrowKeySensor.MyFrame _myFrame
    The JFrame that contains the arrow keys.

    Class ptolemy.actor.lib.gui.BarGraph extends ArrayPlotter implements Serializable

    Class ptolemy.actor.lib.gui.Display extends AbstractPlaceableActor implements Serializable

    Serialized Fields

    columnsDisplayed

    Parameter columnsDisplayed
    The horizontal size of the display, in columns. This contains an integer, and defaults to 40.


    input

    TypedIOPort input
    The input port, which is a multiport.


    rowsDisplayed

    Parameter rowsDisplayed
    The vertical size of the display, in rows. This contains an integer, and defaults to 10.


    suppressBlankLines

    Parameter suppressBlankLines
    The flag indicating whether this display actor suppress blank lines. The default value is false.


    title

    StringParameter title
    The title to put on top. Note that the value of the title overrides the value of the name of the actor or the display name of the actor.


    _initialized

    boolean _initialized
    Indicator that the display window has been opened.


    _suppressBlankLines

    boolean _suppressBlankLines
    The flag indicating whether the blank lines will be suppressed.


    _container

    java.awt.Container _container

    _previousNumColumns

    int _previousNumColumns

    _previousNumRows

    int _previousNumRows

    _scrollPane

    javax.swing.JScrollPane _scrollPane

    _tableau

    Display.DisplayWindowTableau _tableau
    The version of TextEditorTableau that creates a Display window.

    Class ptolemy.actor.lib.gui.HistogramPlotter extends PlotterBase implements Serializable

    Serialized Fields

    binWidth

    Parameter binWidth
    The width of the bin of the histogram. This parameter has type double, with default value 1.0.


    binOffset

    Parameter binOffset
    The offset for bins of the histogram. This parameter has type double, with default value 0.5.


    input

    TypedIOPort input
    The input port, which is a multiport.

    Class ptolemy.actor.lib.gui.InteractiveShell extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    output

    TypedIOPort output
    The output port.


    prompt

    PortParameter prompt
    The prompt. The initial default is the string ">> ". Double quotes are not necessary. If you would like to have no prompt (aka, the empty string), create a Parameter that has the value "" (for example foo) and then set the value of the prompt parameter to $foo.


    shell

    ShellTextArea shell
    The shell window object.


    _container

    java.awt.Container _container
    Container into which this plot should be placed.


    _firstTime

    boolean _firstTime
    Indicator of the first time through.


    _frame

    TableauFrame _frame
    Frame into which plot is placed, if any.


    _outputValues

    java.util.List<E> _outputValues
    The list of strings to send to the output.


    _returnFalseInPostfire

    boolean _returnFalseInPostfire
    Flag indicating that "exit" or "quit" has been entered.


    _tableau

    InteractiveShell.ShellTableau _tableau
    The version of ExpressionShellTableau that creates a Shell window.


    _windowProperties

    WindowPropertiesAttribute _windowProperties

    Class ptolemy.actor.lib.gui.InteractiveShell.ShellFrame extends ExpressionShellFrame implements Serializable

    Class ptolemy.actor.lib.gui.InteractiveShell.ShellTableau extends ExpressionShellTableau implements Serializable

    Class ptolemy.actor.lib.gui.MatrixViewer extends AbstractPlaceableActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    width

    Parameter width
    The width of the table in pixels. This must contain an integer. If the table is larger than this specified width, then scrollbars will appear, or the column width is adjusted. The default value is 500.


    height

    Parameter height
    The height of the table in pixels. This must contain an integer. If the table is larger than this specified width, then scrollbars will appear. The default value is 300.


    _container

    java.awt.Container _container
    Container with the display, if any.


    _effigy

    TokenEffigy _effigy
    The effigy for the token data.


    _height

    int _height
    Height of the matrix viewer in pixels.


    _pane

    MatrixPane _pane
    Pane with the matrix display.


    _tableau

    TokenTableau _tableau
    The tableau with the display, if any.


    _width

    int _width
    Width of the matrix viewer in pixels.

    Class ptolemy.actor.lib.gui.Plotter extends PlotterBase implements Serializable

    Serialized Fields

    startingDataset

    Parameter startingDataset
    The starting dataset number to which data is plotted. This parameter has type IntToken, with default value 0. Its value must be non-negative.

    Class ptolemy.actor.lib.gui.PlotterBase extends TypedAtomicActor implements Serializable

    Serialized Fields

    automaticRescale

    Parameter automaticRescale
    If true, the plot will automatically rescale if necessary. This parameter has type BooleanToken, and default value false.


    fillOnWrapup

    Parameter fillOnWrapup
    If true, fill the plot when wrapup is called. This parameter has type BooleanToken, and default value true.


    legend

    StringAttribute legend
    A comma-separated list of labels to attach to each data set. This is always a string, with no enclosing quotation marks.


    _base

    java.net.URL _base
    The base specified in configure().


    _container

    java.awt.Container _container
    Container into which this plot should be placed.


    _plotSize

    SizeAttribute _plotSize
    A specification of the size of the plot if it's in its own window.


    _source

    java.lang.String _source
    The source specified in configure().


    _tableau

    PlotterBase.PlotWindowTableau _tableau
    The version of PlotWindowTableau that creates a Plot window.


    _text

    java.lang.String _text
    The text specified in configure().


    _windowProperties

    WindowPropertiesAttribute _windowProperties
    A specification for the window properties of the frame.


    _configureBases

    java.util.List<E> _configureBases

    _configureSources

    java.util.List<E> _configureSources

    _configureTexts

    java.util.List<E> _configureTexts

    _configureSource

    java.lang.String _configureSource

    Class ptolemy.actor.lib.gui.PlotterBase.PlotWindowTableau extends PlotTableau implements Serializable

    Serialized Fields

    frame

    PlotTableauFrame frame
    The frame.

    Class ptolemy.actor.lib.gui.RealTimePlotter extends Plotter implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input port, which has type DoubleToken.


    _startTime

    long _startTime
    The start time.

    Class ptolemy.actor.lib.gui.SequencePlotter extends Plotter implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input port, which has type DoubleToken.


    xUnit

    Parameter xUnit
    The increment of the X axis.


    xInit

    Parameter xInit
    The start point of the X axis.


    _xValue

    double _xValue
    X axis counter.


    _xInit

    double _xInit
    Start of the X axis counter.


    _xUnit

    double _xUnit
    Increment of the X axis counter.


    _connected

    boolean[] _connected
    An array of booleans, where if an element is true, then the next point that is plotted for that channel will be connected. If a channel receives a nil token, then the value for the corresponding element will be false, meaning the next point will not be connected to the previous point.

    Class ptolemy.actor.lib.gui.SequenceScope extends SequencePlotter implements Serializable

    Serialized Fields

    width

    Parameter width
    The width of the X axis, in number of samples (an integer).


    persistence

    Parameter persistence
    The number of samples to be displayed at any one time (an integer).

    Class ptolemy.actor.lib.gui.SketchedSource extends SequencePlotter implements Serializable

    Serialized Fields

    initialTrace

    Parameter initialTrace
    The default signal to generate, prior to any user sketch. By default, this contains an array of zeros with the length given by the length parameter.


    length

    Parameter length
    The length of the output signal that will be generated. This parameter must contain an IntToken. By default, it has value 100.


    output

    TypedIOPort output
    The output port. The type of this port is double.


    periodic

    Parameter periodic
    An indicator of whether the signal should be periodically repeated. This parameter must contain a boolean token. By default, it has value true.


    runOnModification

    Parameter runOnModification
    If true, then when the user edits the plot, if the manager is currently idle, then run the model. This is a boolean that defaults to false.


    yBottom

    Parameter yBottom
    The bottom of the Y range. This is a double, with default value -1.0.


    yTop

    Parameter yTop
    The top of the Y range. This is a double, with default value 1.0.


    _count

    int _count
    Current position in the signal.


    _data

    double[][] _data
    Sketched data.


    _dataModified

    boolean _dataModified
    Indicator that the user has modified the data.


    _initialTraceIsSet

    boolean _initialTraceIsSet
    Indicator that initial trace has been supplied.


    _previousLengthValue

    int _previousLengthValue

    _settingInitialTrace

    boolean _settingInitialTrace

    Class ptolemy.actor.lib.gui.SliderSource extends Source implements Serializable

    Serialized Fields

    slider

    javax.swing.JSlider slider
    The slider that controls the output of this actor.


    minimum

    Parameter minimum
    The minimum value of the slider. The value must be an integer. The default value is -10.


    maximum

    Parameter maximum
    The maximum value of the slider. The value must be an integer. The default value is 10.


    majorTickSpacing

    Parameter majorTickSpacing
    The major tick spacing of the slider. The value must be an integer. The default value is 10.


    minorTickSpacing

    Parameter minorTickSpacing
    The minor tick spacing of the slider. The value must be an integer. The default value is 1.


    title

    StringAttribute title
    The title to put on top.


    _panel

    javax.swing.JPanel _panel
    The JPanel that contains the slider.


    _container

    java.awt.Container _container

    _outputVal

    IntToken _outputVal

    _frame

    javax.swing.JFrame _frame

    Class ptolemy.actor.lib.gui.SliderSource.SliderFrame extends javax.swing.JFrame implements Serializable

    Serialized Fields

    _slider

    javax.swing.JSlider _slider

    Class ptolemy.actor.lib.gui.TimedPlotter extends Plotter implements Serializable

    Serialized Fields

    disconnectGraphOnAbsentValue

    Parameter disconnectGraphOnAbsentValue
    When disconnectGraphOnAbsentValue is True there will be a gap in the graph each time a the actor is fired, but the value is absent for a certain channel. Especially in the continuous domain this options is useful. By default this parameter is False.


    input

    TypedIOPort input
    Input port, which has type DoubleToken.


    useLocalTime

    Parameter useLocalTime
    If true, use the model time reported by the input port, which is normally the model time of the local director. If false (the default), use the model time reported by the top-level director. Local time may differ from global time inside modal models and certain domains that manipulate time.


    _connected

    java.util.ArrayList<E> _connected

    Class ptolemy.actor.lib.gui.TimedScope extends TimedPlotter implements Serializable

    Serialized Fields

    width

    Parameter width
    The width of the X axis (a double).


    persistence

    Parameter persistence
    The amount of data displayed at any one time (a double). This has units of the X axis.

    Class ptolemy.actor.lib.gui.XYPlotter extends Plotter implements Serializable

    Serialized Fields

    inputX

    TypedIOPort inputX
    Input port for the horizontal axis, with type DOUBLE.


    inputY

    TypedIOPort inputY
    Input port for the vertical axis, with type DOUBLE.

    Class ptolemy.actor.lib.gui.XYScope extends XYPlotter implements Serializable

    Serialized Fields

    persistence

    Parameter persistence
    The number of samples from each input channel displayed at any one time (an integer).


    Package ptolemy.actor.lib.hoc

    Class ptolemy.actor.lib.hoc.ApplyFilterOverArray extends TypedAtomicActor implements Serializable

    Serialized Fields

    inputArray

    TypedIOPort inputArray
    The input port for an input array. It is an ArrayType.


    outputArray

    TypedIOPort outputArray
    The output port for output the filtered array. It has the same type as the inputArray port.


    maxOutputLength

    Parameter maxOutputLength
    The max amount of elements in the output array.


    modelFileOrURL

    FileParameter modelFileOrURL
    The file name or URL of the filter model.


    _model

    NamedObj _model
    The model.


    _manager

    Manager _manager
    The manager currently managing execution.


    _outputLength

    int _outputLength
    the output array length if there are enough elements satisfying the filter model.

    Class ptolemy.actor.lib.hoc.ApplyFunction extends TypedAtomicActor implements Serializable

    Serialized Fields

    function

    PortParameter function
    The input port for function definition. The type of this port is undeclared, but to have this actor work, the designer has to provide a matched function token for it. Note: The reason that we don't declare the type for it is because currently there is not cast supported in the FunctionType class. we'll fix this later.


    output

    TypedIOPort output
    The output port.

    Class ptolemy.actor.lib.hoc.ApplyFunctionOverSequence extends TypedAtomicActor implements Serializable

    Serialized Fields

    function

    PortParameter function
    The input port for function definition. The type of this port is undeclared, but to have this actor work, the designer has to provide a matched function token for it. Note: The reason that we don't declare the type for it is because currently there is not cast supported in the FunctionType class. we'll fix this later.


    output

    TypedIOPort output
    The output port.


    _outputRate

    int _outputRate

    _rate

    int[] _rate

    Class ptolemy.actor.lib.hoc.Case extends MultiCompositeActor implements Serializable

    Serialized Fields

    control

    PortParameter control
    The input port-parameter on which the control token is provided. This can have any type, and is initialized with a default value of true.


    _current

    Refinement _current
    The current refinement.


    _default

    Refinement _default
    The default refinement.


    _director

    CaseDirector _director
    The director.

    Class ptolemy.actor.lib.hoc.CaseDirector extends Director implements Serializable

    Class ptolemy.actor.lib.hoc.IterateOverArray extends MirrorComposite implements Serializable

    Serialized Fields

    _iterationCount

    Variable _iterationCount

    Class ptolemy.actor.lib.hoc.IterateOverArray.IterateComposite extends MirrorComposite.MirrorCompositeContents implements Serializable

    Class ptolemy.actor.lib.hoc.IterateOverArray.IteratePort extends MirrorPort implements Serializable

    Class ptolemy.actor.lib.hoc.LifeCycleManager extends TypedCompositeActor implements Serializable

    Class ptolemy.actor.lib.hoc.MirrorComposite extends TypedCompositeActor implements Serializable

    Serialized Fields

    _inAddPort

    boolean _inAddPort
    Flag indicating that we are executing _addPort().


    _inRemoveEntity

    boolean _inRemoveEntity
    Flag indicating that we are executing _removeEntity().


    _mirrorParameterPorts

    boolean _mirrorParameterPorts
    Flag indicating whether to mirror instances of ParameterPort.

    Class ptolemy.actor.lib.hoc.MirrorComposite.MirrorCompositeContents extends TypedCompositeActor implements Serializable

    Class ptolemy.actor.lib.hoc.MirrorPort extends TypedIOPort implements Serializable

    Serialized Fields

    _associatedPort

    MirrorPort _associatedPort
    The associated port, if there is one.


    _settingAssociatedPort

    boolean _settingAssociatedPort
    Flag indicating that we are setting the associated port.

    Class ptolemy.actor.lib.hoc.MobileFunction extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port for incoming data. The type of this port is undeclared, meaning that it will resolve to any data type.


    function

    TypedIOPort function
    The input port for function definition. The type of this port is undeclared, but to have this actor work, the designer has to provide a matched function token for it. Note: The reason that we don't declare the type for it is because currently there is not cast supported in the FunctionType class. we'll fix this later.


    output

    TypedIOPort output
    The output port. Note: Due to the same reason above, the type of the output can't be resolved currently. User has to specify the type.


    _function

    FunctionToken _function
    The most recently updated function to this actor.

    Class ptolemy.actor.lib.hoc.MobileModel extends TypedCompositeActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port for incoming data to the inside model.


    modelString

    TypedIOPort modelString
    The input port for model changing request of the inside model. The type is string.


    output

    TypedIOPort output
    The output port for the result after firing the inside model upon the incoming data. Notice that the type is determined by the type of the defaultValue parameter.


    director

    Parameter director
    The inside Director for executing the inside model.


    refresh

    Parameter refresh
    This Parameter specifies whether to replace the previous model when there is model changing request or not. The type of thie parameter is boolean. Select this parameter if it does replace.


    connectPorts

    Parameter connectPorts
    the Parameter specifies whether to connect the input and output to the inside model. The type of this parameter is boolean.


    defaultValue

    Parameter defaultValue
    The default output token when there is no inside model defined. The default value is 0, and the default type is int. Notice that the type of the output port is determined by the type of this parameter.


    _director

    Director _director
    The inside director.


    _moml

    java.lang.String _moml
    The moml string for the inside model that contained by this actor.


    _parser

    MoMLParser _parser
    The moml parser for parsing the moml string of the inside model.


    _modelChanged

    boolean _modelChanged

    Class ptolemy.actor.lib.hoc.ModelReference extends TypedAtomicActor implements Serializable

    Serialized Fields

    executionOnFiring

    StringParameter executionOnFiring
    The value of this string parameter determines what execution happens when the fire() method is invoked. The recognized values are:


    lingerTime

    Parameter lingerTime
    The amount of time (in milliseconds) to linger in the fire() method of this actor. This is a long that defaults to 0L. If the model is run, then the linger occurs after the run is complete (if the run occurs in the calling thread) or after the run starts (if the run occurs in a separate thread).


    modelFileOrURL

    FilePortParameter modelFileOrURL
    The file name or URL of the model that this actor represents. This is empty by default, which means that there is no associated model to execute.


    postfireAction

    StringParameter postfireAction
    The value of this string attribute determines what happens in the postfire() method. The recognized values are: The "stop executing" choices will only have an effect if if executionOnFiring is set to "run in a new thread". This can be used, for example, to run a model for a specified amount of time, and then stop it.


    _alreadyReadInputs

    boolean _alreadyReadInputs
    If a derived class calls modelFileOrURL.update() in its fire() method prior to calling super.fire(), then it should set this flag to true.


    _model

    NamedObj _model
    The model.


    _lingeringThread

    java.lang.Thread _lingeringThread
    Reference to a thread that is lingering.


    _manager

    Manager _manager
    The manager currently managing execution.

    Class ptolemy.actor.lib.hoc.MultiCompositeActor extends TypedCompositeActor implements Serializable

    Class ptolemy.actor.lib.hoc.MultiCompositePort extends TypedIOPort implements Serializable

    Class ptolemy.actor.lib.hoc.MultiInstanceComposite extends TypedCompositeActor implements Serializable

    Serialized Fields

    nInstances

    Parameter nInstances
    The total number of instances to instantiate including instance 0 (the master copy).


    instance

    Parameter instance
    The index of this instance.


    showClones

    Parameter showClones
    If true, show the clones.


    _clones

    java.util.List<E> _clones

    _isMasterCopy

    boolean _isMasterCopy

    Class ptolemy.actor.lib.hoc.RealTimeComposite extends MirrorComposite implements Serializable

    Serialized Fields

    delay

    Parameter delay
    Deprecated. 
    The maximum model-time delay between the input events and the output events. This is a double that defaults to UNDEFINED.


    _delayValue

    double _delayValue
    Deprecated. 
    The cached value of the delay parameter.


    _fireAtTimes

    java.util.List<E> _fireAtTimes
    Deprecated. 
    Queue of times at which inside actors have requested firings. This queue is accessed from multiple threads, so it must be thread safe.


    _inputFrames

    java.util.concurrent.DelayQueue<E extends java.util.concurrent.Delayed> _inputFrames
    Deprecated. 
    Queue of unprocessed input events.


    _outputFrames

    java.util.List<E> _outputFrames
    Deprecated. 
    Queue of unprocessed output events. This queue is accessed from multiple threads, so it must be thread safe.


    _realStartTime

    long _realStartTime
    Deprecated. 
    The real time at which the model begins executing, in milliseconds.


    _responseTimes

    java.util.Queue<E> _responseTimes
    Deprecated. 
    Queue of times at which responses to firings are expected. This is accessed only from the Director action methods, which run in a single thread, so it need not by thread safe.

    Class ptolemy.actor.lib.hoc.Refinement extends TypedCompositeActor implements Serializable

    Serialized Fields

    _mirrorDisable

    boolean _mirrorDisable
    Indicator that we are processing a newPort request.

    Class ptolemy.actor.lib.hoc.RefinementPort extends TypedIOPort implements Serializable

    Serialized Fields

    _automaticallyInput

    boolean _automaticallyInput
    Indicator that the port is automatically an input port because it was set to be an output port. This automatic change is made in output ports of the ModalController so that if a refinement writes to its output port, then that data is available in scope for the guard expressions.


    _mirrorDisable

    boolean _mirrorDisable
    If false, then changes the port are mirrored in the container's container. This is false by default.

    Class ptolemy.actor.lib.hoc.RunCompositeActor extends LifeCycleManager implements Serializable

    Class ptolemy.actor.lib.hoc.ThreadedComposite extends MirrorComposite implements Serializable

    Serialized Fields

    delay

    Parameter delay
    The model-time delay between the input events and the output events. This is a double that defaults to 0.0, indicating that outputs should have the same time stamps as the inputs that trigger them. If it has a value greater than zero, then the outputs will have large time stamps by that amount. If it has the value UNDEFINED (or any negative number), then the output time stamp will be nondeterminate, and will depend on the current model time of the outside director when the output is produced or on current real time.


    synchronizeToRealTime

    Parameter synchronizeToRealTime
    If set to true, the inside thread stalls until real time matches the time stamps of input events or pure events for each firing. In addition, if delay is set to undefined and this is set to true, then output events are assigned a time stamp that is the greater of current model time and real time. Time is measured since the start of the execution of the inside thread. This is a boolean that defaults to false. Changing the value of this parameter has no effect until the next execution of the model.


    _delayValue

    double _delayValue
    The cached value of the delay parameter.


    _realStartTime

    long _realStartTime
    The real time at which the model begins executing, in milliseconds.


    Package ptolemy.actor.lib.image

    Class ptolemy.actor.lib.image.ImageDisplay extends Sink implements Serializable

    Serialized Fields

    _container

    java.awt.Container _container
    The container for the image display, set by calling place().


    _effigy

    TokenEffigy _effigy
    The effigy for the image data.


    _frame

    ImageDisplay.ImageWindow _frame
    The frame, if one is used.


    _oldXSize

    int _oldXSize
    The horizontal size of the previous image.


    _oldYSize

    int _oldYSize
    The vertical size of the previous image.


    _picture

    Picture _picture
    The picture panel.


    _pictureSize

    SizeAttribute _pictureSize
    A specification of the size of the picture if it's in its own window.


    _tableau

    ImageTableau _tableau
    The tableau with the display, if any.


    _windowProperties

    WindowPropertiesAttribute _windowProperties
    A specification for the window properties of the frame.

    Class ptolemy.actor.lib.image.ImageDisplay.ImageWindow extends TableauFrame implements Serializable

    Class ptolemy.actor.lib.image.ImageReader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by File Attribute.

    See Also:
    FileParameter

    _image

    java.awt.Image _image

    _url

    java.net.URL _url

    Class ptolemy.actor.lib.image.ImageRotate extends Transformer implements Serializable

    Serialized Fields

    rotationInDegrees

    Parameter rotationInDegrees
    The amount of of rotation in degrees. This parameter contains an IntegerToken, initially with value 90.

    Class ptolemy.actor.lib.image.ImageTableau extends TokenTableau implements Serializable

    Serialized Fields

    _oldxsize

    int _oldxsize
    The horizontal size of the previous image.


    _oldysize

    int _oldysize
    The vertical size of the previous image.


    _picture

    Picture _picture
    The frame for displaying the image.

    Class ptolemy.actor.lib.image.ImageTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.actor.lib.image.ImageToString extends Transformer implements Serializable

    Class ptolemy.actor.lib.image.URLToImage extends Transformer implements Serializable


    Package ptolemy.actor.lib.io

    Class ptolemy.actor.lib.io.DirectoryListing extends SequenceSource implements Serializable

    Serialized Fields

    directoryOrURL

    FilePortParameter directoryOrURL
    The directory name or URL from which to read. This is a string with any form accepted by FilePortParameter.


    listOnlyDirectories

    Parameter listOnlyDirectories
    If true, and directoryOrURL refers to a local directory (not a URL), then only directories will be listed on the output. If directoryOrURL is a URL, then this parameter is ignored (there appears to be no reliable way to tell whether the URL refers to a directory or file). This is a boolean that defaults to false.


    listOnlyFiles

    Parameter listOnlyFiles
    If true, and directoryOrURL refers to a local directory (not a URL), then only files will be listed on the output. If directoryOrURL is a URL, then this parameter is ignored (there appears to be no reliable way to tell whether the URL refers to a directory or file). This is a boolean that defaults to false.


    pattern

    StringParameter pattern
    If non-empty, then only output file and directory names that match the specified (regular expression) pattern. The default value of this parameter is the empty String "", which indicates that everything matches.


    _pattern

    java.util.regex.Pattern _pattern

    Class ptolemy.actor.lib.io.ExpressionReader extends LineReader implements Serializable

    Serialized Fields

    _expressionEvaluator

    Variable _expressionEvaluator
    Variable used to evaluate expressions.

    Class ptolemy.actor.lib.io.ExpressionWriter extends LineWriter implements Serializable

    Class ptolemy.actor.lib.io.FileReader extends LimitedFiringSource implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    fileOrURLPort

    TypedIOPort fileOrURLPort
    An input port for optionally providing a file name. This has type string.


    newline

    Parameter newline
    The end of line character(s). The default value is the value of the line.separator property

    Class ptolemy.actor.lib.io.LineReader extends Source implements Serializable

    Serialized Fields

    endOfFile

    TypedIOPort endOfFile
    An output port that produces false until the end of file is reached, at which point it produces true. The type is boolean.


    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    numberOfLinesToSkip

    Parameter numberOfLinesToSkip
    The number of lines to skip at the beginning of the file or URL. This parameter contains an IntToken, initially with value 0. The value of this parameter must be non-negative.


    _currentLine

    java.lang.String _currentLine
    Cache of most recently read data.


    _reader

    java.io.BufferedReader _reader
    The current reader for the input file.


    _firedSinceWrapup

    boolean _firedSinceWrapup
    Indicator that the fire() method has been called, but wrapup has not. That is, we are in the middle of a run.


    _previousFileOrURL

    java.lang.String _previousFileOrURL
    Previous value of fileOrURL parameter.


    _reachedEOF

    boolean _reachedEOF
    Indicator that we have reached the end of file.

    Class ptolemy.actor.lib.io.LineWriter extends Sink implements Serializable

    Serialized Fields

    append

    Parameter append
    If true, then append to the specified file. If false (the default), then overwrite any preexisting file after asking the user for permission.


    fileName

    FilePortParameter fileName
    The file name to which to write. This is a string with any form accepted by FilePortParameter. The default value is "System.out".

    See Also:
    FilePortParameter

    confirmOverwrite

    Parameter confirmOverwrite
    If false, then overwrite the specified file if it exists without asking. If true (the default), then if the file exists, ask for confirmation before overwriting.


    endOfLineCharacter

    Parameter endOfLineCharacter
    End of line character to use. This is a string that defaults to null, which results in the current platform's standard end-of-line character being used. If an empty string is specified, then no end of line character is used after each output written to the file.


    alwaysFlush

    Parameter alwaysFlush
    If true, flush output after each line is written. If false (the default), the output may not be written until the stream is closed during wrapup().


    _flushValue

    boolean _flushValue
    If true, flush the writer after every write.


    _writer

    java.io.PrintWriter _writer
    The current writer.


    _previousFileName

    java.lang.String _previousFileName
    Previous value of fileName parameter.


    Package ptolemy.actor.lib.io.comm

    Class ptolemy.actor.lib.io.comm.SerialComm extends TypedAtomicActor implements Serializable

    Serialized Fields

    baudRate

    Parameter baudRate
    The baud rate of the serial port, such as 19200 (the default), 19200, or 115200, for the serial port. This has type integer and defaults to 19200.


    blocking

    Parameter blocking
    Indicator of whether fire method is blocking. If true, fire() waits until minimumOutputSize bytes have arrived. The type is boolean with default false.


    dataToSend

    TypedIOPort dataToSend
    The input port for data to be sent to the serial port. This port has type unsigned byte array.


    dataReceived

    TypedIOPort dataReceived
    The output port for data that has been received by the serial port. This port has type unsigned byte array.


    discardOldData

    Parameter discardOldData
    Indicator of whether to discard old data. If this is true, then the fire() method will read all available data, but produce no more than maximumOutputSize bytes on the output, discarding the rest. This is a boolean that defaults to false.


    maximumOutputSize

    Parameter maximumOutputSize
    The maximum number of bytes produced in each firing on the output. This is an integer that defaults to MaxInt. It is required to be at least as large as minimumOutputSize


    minimumOutputSize

    Parameter minimumOutputSize
    The minimum number of bytes that will be read from the serial port and produced on the output. This is required to be a strictly positive integer, and it defaults to 1.


    serialPortName

    StringParameter serialPortName
    Attribute giving the serial port to use. This is a string with the default being the first serial port listed by the javax.comm.CommPortIdentifier class. If there are no serial ports available (meaning probably that the javax.comm package is not installed properly), then the value of the string will be "no ports available".


    _maximumOutputSize

    int _maximumOutputSize

    _minimumOutputSize

    int _minimumOutputSize

    _discardOldData

    boolean _discardOldData

    _blocking

    boolean _blocking

    _directorFiredAtAlready

    boolean _directorFiredAtAlready

    Package ptolemy.actor.lib.jai

    Class ptolemy.actor.lib.jai.AdaptiveMedian extends Transformer implements Serializable

    Serialized Fields

    maxWindowSize

    Parameter maxWindowSize
    The largest window size to use. This number must be an odd integer. The default value is 7.


    _maxWindowSize

    int _maxWindowSize

    Class ptolemy.actor.lib.jai.DoubleMatrixToJAI extends Transformer implements Serializable

    Serialized Fields

    dataFormat

    StringAttribute dataFormat
    The type to cast the data to. This is a string valued attribute that defaults to "byte".


    scale

    Parameter scale
    This parameter indicates whether to scale the data or not. This should only be checked if the data was normalized in the first place. The default value is true.


    _dataFormat

    int _dataFormat
    An indicator for the data type to format to.


    _maxValue

    double _maxValue
    Double representation of the highest value possible for the internal data type.


    _minValue

    double _minValue
    Double representation of the lowest value possible for the internal data type.


    _scale

    boolean _scale
    Flag determining whether or not to scale the data

    Class ptolemy.actor.lib.jai.ImageToJAI extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIAffineTransform extends Transformer implements Serializable

    Serialized Fields

    affineMatrix

    Parameter affineMatrix
    The affine transformation matrix. This is a doubleMatrixToken valued parameter that defaults to 1 0 0 0 1 0


    interpolationType

    StringAttribute interpolationType
    The type of interpolation to use. This is a string valued attribute that defaults to type "bilinear"


    subSampleBits

    Parameter subSampleBits
    The subsample precision. The default value of this parameter is the integer value 8.


    _affineTransform

    java.awt.geom.AffineTransform _affineTransform

    _initialMatrix

    double[][] _initialMatrix

    _interpolation

    javax.media.jai.Interpolation _interpolation

    _interpolationType

    int _interpolationType
    An indicator for the type of interpolation to use


    _matrixValue

    double[][] _matrixValue

    _subSampleBits

    int _subSampleBits
    The subsample precision

    Class ptolemy.actor.lib.jai.JAIBandCombine extends Transformer implements Serializable

    Serialized Fields

    matrix

    Parameter matrix
    The transformation matrix. The entries in this matrix should doubles. The default matrix passes each band with no offsetting.


    _initialMatrix

    double[][] _initialMatrix
    The initial value of the transformation matrix.


    _matrixValue

    double[][] _matrixValue
    The value of the transformation matrix

    Class ptolemy.actor.lib.jai.JAIBandSelect extends Transformer implements Serializable

    Serialized Fields

    bandIndices

    Parameter bandIndices
    The bands to copy to the output.


    _indiceArray

    int[] _indiceArray
    The value of the indice array


    _initialArray

    IntToken[] _initialArray
    An initial array that simply copies a three banded image.

    Class ptolemy.actor.lib.jai.JAIBMPWriter extends JAIWriter implements Serializable

    Serialized Fields

    storeTopDown

    Parameter storeTopDown
    If true, then write the data in top to bottom order. If false (the default), then write the data in bottom to top order.

    Class ptolemy.actor.lib.jai.JAIBorder extends Transformer implements Serializable

    Serialized Fields

    borderType

    StringAttribute borderType
    The type of border to use.


    constants

    Parameter constants
    The constants to use if the Constant border type is chosen.


    bottomPadding

    Parameter bottomPadding
    The amount of pixels to pad the bottom with. The default is the integer value 0.


    leftPadding

    Parameter leftPadding
    The amount of pixels to pad the left side with. The default is the integer value 0.


    rightPadding

    Parameter rightPadding
    The amount of pixels to pad the right side with. The default is the integer value 0.


    topPadding

    Parameter topPadding
    The amount of pixels to pad the top with. The default is the integer value 0.


    _constantValues

    double[] _constantValues
    The constant values to use if a constant border is desired.


    _borderType

    int _borderType
    The type of border to use.


    _initialArray

    DoubleToken[] _initialArray
    An initial array that simply copies a three banded image.


    _bottomPadding

    int _bottomPadding
    The amount to pad on the four sides.


    _leftPadding

    int _leftPadding

    _rightPadding

    int _rightPadding

    _topPadding

    int _topPadding

    Class ptolemy.actor.lib.jai.JAIBoxFilter extends Transformer implements Serializable

    Serialized Fields

    height

    Parameter height
    The height of the box filter.


    width

    Parameter width
    The width of the box filter.


    _height

    int _height
    The value of the height of the box filter.


    _width

    int _width
    The value of the width of the box filter.

    Class ptolemy.actor.lib.jai.JAIConstant extends Source implements Serializable

    Serialized Fields

    bandValues

    Parameter bandValues
    The band values of the image. The default value is an Array of 1 integer of value 0.


    height

    Parameter height
    The height of the image in pixels. The default value is and integer with a value of 0.


    width

    Parameter width
    The width of the image in pixels. The default value is and integer with a value of 0.


    dataFormat

    StringAttribute dataFormat
    The type to cast the data to. This is a string valued attribute that defaults to "byte". Other valid types are "double", "float", "int" and "short".


    _zero

    IntToken _zero

    _defaultValues

    IntToken[] _defaultValues

    _height

    int _height

    _width

    int _width

    values

    Token[] values

    _dataFormat

    int _dataFormat

    Class ptolemy.actor.lib.jai.JAIConvolve extends Transformer implements Serializable

    Serialized Fields

    filter

    Parameter filter
    The filter to convolve the image width. It is represented by a DoubleMatrixToken.


    _filter

    javax.media.jai.KernelJAI _filter
    The filter to convolve the image with


    _initialMatrix

    double[][] _initialMatrix
    A filter that does nothing to an image when convolved with it.

    Class ptolemy.actor.lib.jai.JAICrop extends Transformer implements Serializable

    Serialized Fields

    height

    Parameter height
    The vertical distance from the origin. A positive value indicates that the final image will start downwards from the origin. A negative value indicates that the final image will start upwards from the origin.


    width

    Parameter width
    The horizontal distance from the origin. A positive value indicates that the final image will start to the right of the origin. A negative value indicates that the final image will start to the left of the origin.


    xOrigin

    Parameter xOrigin
    The x origin for cropping. The default value is the integer value 0.


    yOrigin

    Parameter yOrigin
    The y origin for cropping. The default value is the integer value 0.


    _height

    int _height
    The height of the cropped image


    _width

    int _width
    The width of the cropped image


    _xOrigin

    int _xOrigin
    The x value of the origin


    _yOrigin

    int _yOrigin
    The y value of the origin

    Class ptolemy.actor.lib.jai.JAIDataConvert extends Transformer implements Serializable

    Serialized Fields

    dataFormat

    StringAttribute dataFormat
    The type to cast the data to. This is a string valued attribute that defaults to "byte".


    _dataFormat

    int _dataFormat

    Class ptolemy.actor.lib.jai.JAIDCT extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIDFT extends Transformer implements Serializable

    Serialized Fields

    dataNature

    StringAttribute dataNature
    A parameter that describes the nature of the input and output data. The default is realToComplex. If the input is complex, then complexToComplex should be used. The setting complexToReal should probably not be used.


    scalingType

    StringAttribute scalingType
    The scaling to be done on the output. There are three options, none (the default, does no scaling), unitary (multiplies by square root of the product of the dimensions), and dimensions (multiplies by the product of the dimensions). In a DFT-IDFT chain, the overall scaling should equal the product of the dimensions.


    _dataNature

    int _dataNature
    An indicator for the type of data being inputted and the type of data being outputted.


    _scalingType

    int _scalingType
    An indicator for the type of scaling done

    Class ptolemy.actor.lib.jai.JAIEdgeDetection extends Transformer implements Serializable

    Serialized Fields

    firstMask

    StringAttribute firstMask
    The following two parameters are used to specify the masks used for edge detection. Traditionally one mask is used for horizontal edge detection, and one mask is used for vertical edge detection. The following predefined masks are available: Sobel horizontal mask. Sobel vertical mask. Roberts horizontal mask. Roberts vertical mask. Prewitt horizontal mask. Prewitt vertical mask. Frei and Chen horizontal mask. Frei and Chen vertical mask. A diagonal mask, which finds edges in the direction of a slash. A back diagonal mask, which finds edges in the direction of a backslash. A Transparent mask. Using this mask allows you to find edges in one direction and add them back to the original image. A mask of zeros. The default mask for the first choice is a Sobel horizontal mask. The default mask for the second choice is a Sobel vertical mask. The user can also specify mask(s). The dimensions of the mask(s) must be specified if the user chooses to do so.


    secondMask

    StringAttribute secondMask
    The mask used for edge detection.

    See Also:
    JAIEdgeDetection.firstMask

    userSpecifiedFirstMask

    Parameter userSpecifiedFirstMask
    The first user specified mask, and its corresponding x and y dimensions. The Default mask is the transparent mask, and the default x and y dimensions is 3.


    userSpecifiedSecondMask

    Parameter userSpecifiedSecondMask
    The second user specified mask, and its corresponding x and y dimensions. The Default mask is the transparent mask, and the default x and y dimensions is 3.


    _firstMaskData

    DoubleMatrixToken _firstMaskData
    The ArrayTokens contained the the User Specified Mask Fields


    _secondMaskData

    DoubleMatrixToken _secondMaskData

    _firstKernelJAI

    javax.media.jai.KernelJAI _firstKernelJAI
    The KernelJAI's that contain the masks to be used in edge detection.


    _secondKernelJAI

    javax.media.jai.KernelJAI _secondKernelJAI

    _firstMask

    int _firstMask
    The choice of mask.


    _secondMask

    int _secondMask

    _initialMatrix

    double[][] _initialMatrix

    Class ptolemy.actor.lib.jai.JAIIDCT extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIIDFT extends Transformer implements Serializable

    Serialized Fields

    dataNature

    StringAttribute dataNature
    A parameter that describes the nature of the input and output data. The default is complexToReal (so that the output can be saved and/or displayed after putting it through the actor. The setting complexToComplex can also be used. The setting realToComplex should probably not be used.


    scalingType

    StringAttribute scalingType
    The scaling to be done on the output. There are three options, none (does no scaling), unitary (multiplies by square root of the product of the dimensions), and dimensions (the default, multiplies by the product of the dimensions). In a DFT-IDFT chain, the overall scaling should equal the product of the dimensions.


    _dataNature

    int _dataNature
    An indicator for the type of data being inputted and the type of data being outputted.


    _scalingType

    int _scalingType
    An indicator for the type of scaling done

    Class ptolemy.actor.lib.jai.JAIImageReader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileAttribute. The initial value is "$CLASSPATH/doc/img/PtolemyII.jpg".

    See Also:
    FileParameter

    _fileURL

    java.net.URL _fileURL
    The URL that specifies where the file is located.


    _outputtedImage

    javax.media.jai.RenderedOp _outputtedImage
    The RenderedOp created by JAI from the stream. This is then encapsulated by a JAIImageToken.

    Class ptolemy.actor.lib.jai.JAIImageToken extends ImageToken implements Serializable

    Serialized Fields

    _bufferedImage

    java.awt.image.BufferedImage _bufferedImage

    _renderedOp

    javax.media.jai.RenderedOp _renderedOp

    Class ptolemy.actor.lib.jai.JAIInvert extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIJPEGWriter extends JAIWriter implements Serializable

    Serialized Fields

    quality

    IntRangeParameter quality
    The quality of the file written. The quality ranges from 0 which is a high amount of compression, small file size, and poor picture quality, to 100, which is no compression, larger file size, and high picture quality.


    restartInterval

    Parameter restartInterval
    The restart interval in number of JPEG Minimum Coded Units (MCUs). JPEG images can use these restart markers to periodically delineate image segments to limit the effect of bitstream errors to a single interval. The default is zero.


    writeJFIFHeader

    Parameter writeJFIFHeader
    If true (the default), the encoder will write a JFIF header, using a marker.The marker includes data such as version number, x and y pixel density, pixel aspect ratio. If false, then the encoder will not write a JFIF header.

    Class ptolemy.actor.lib.jai.JAILog extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIMagnitude extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIMedianFilter extends Transformer implements Serializable

    Serialized Fields

    shape

    StringAttribute shape
    The filter shape to use. There are four shapes available. Square - A square mask looks at all elements in the square, and find the median value. Separable Square - A separable square mask, first calculates the median of every row, and then takes the median of those values. Only supported for size 3 and size 5 filters. Plus - A 3x3 plus mask looks like the following x xxx x It calculates the median of those values indicated by an x. X - A 3x3 X mask looks like the following x x x x x It calculates the median of those values indicated by an x.


    size

    Parameter size
    The size of the median filter. This indicates both the width and height of the filter. The size must be an odd positive integer.


    _shape

    javax.media.jai.operator.MedianFilterShape _shape
    The type of median filter shape to use.


    _size

    int _size
    The size of the filter

    Class ptolemy.actor.lib.jai.JAIPeriodicShift extends Transformer implements Serializable

    Serialized Fields

    xShift

    Parameter xShift
    The amount to shift in the horizontal direction. This value must be positive. An increase in this value causes the image to move to the left.


    yShift

    Parameter yShift
    The amount to shift in the vertical direction. This value must be positive. An increase in this value causes the image to move upwards.


    _xShift

    int _xShift
    The horizontal shifting amount.


    _yShift

    int _yShift
    The vertical shifting amount.

    Class ptolemy.actor.lib.jai.JAIPhase extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIPNGWriter extends JAIWriter implements Serializable

    Serialized Fields

    adam7Interlacing

    Parameter adam7Interlacing
    If the Adam7 Interlacing option is false, pixels are stored left to right and from top to bottom. If it is true (the default), seven distinct passes are made over the image, each transmitting a subset of the pixels.


    background

    Parameter background
    If the setBackground parameter is false, then this parameter is ignored. If it is true, this parameter sets the background color of the image. Note that this will only show up in images with transparency. If the image is a grayscale image, only the first value of the array is used. The value is an integer that should range from 0 to (2^bitdepth - 1). The bitdepth is defined by the bitDepth parameter in this actor. If the image is an RGB image, then the first 3 values of the array are read. Each of these also range from 0 to (2^bitdepth - 1).


    bitDepth

    Parameter bitDepth
    The bit depth. The initial default is an integer of value 8.


    gamma

    Parameter gamma
    The gamma. The initial default is a double of value 0.455.


    setBackground

    Parameter setBackground
    True if the background is to be set. The initial value is false.


    setGamma

    Parameter setGamma
    True if the gamma parameter is to be used. The initial value is false.


    _bitDepth

    int _bitDepth

    _adam7Interlacing

    boolean _adam7Interlacing
    The value of the storeTopDown parameter.


    _setGamma

    boolean _setGamma

    _gamma

    double _gamma

    _setBackground

    boolean _setBackground

    _initialArray

    IntToken[] _initialArray

    _valueArray

    int[] _valueArray

    Class ptolemy.actor.lib.jai.JAIPNMWriter extends JAIWriter implements Serializable

    Serialized Fields

    writeRawData

    Parameter writeRawData
    If true, then write raw binary data. If false (the default), then write the data in ASCII.

    Class ptolemy.actor.lib.jai.JAIPolarToComplex extends TypedAtomicActor implements Serializable

    Serialized Fields

    magnitude

    TypedIOPort magnitude
    The magnitude image input. This image must have the same amount of bands as the phase image input.


    output

    TypedIOPort output
    The output of the actor. This image contains twice as many as the input. The first two bands correspond to the cartesian values of the first magnitude and phase bands. The second two bands correspond to the cartesian values of the second magnitude and phase bands, etc.


    phase

    TypedIOPort phase
    The phase image input. This image must have the same amount of bands as the phase magnitude image input.

    Class ptolemy.actor.lib.jai.JAIRotate extends Transformer implements Serializable

    Serialized Fields

    degrees

    PortParameter degrees
    The number of degrees to rotate. The default value of this parameter is the double value 0. If the port is left unconnected, then the parameter value will be used.


    interpolationType

    StringAttribute interpolationType
    The type of interpolation to use. This is a string valued attribute that defaults to type "bilinear"


    subSampleBits

    Parameter subSampleBits
    The subsample precision. The default value of this parameter is the integer value 8.


    xOrigin

    Parameter xOrigin
    The x origin of the point to rotate around. The default value is the integer value 0.


    yOrigin

    Parameter yOrigin
    The y origin of the point to rotate around. The default value is the integer value 0.


    _degrees

    double _degrees
    The number of degrees to rotate


    _interpolationType

    int _interpolationType
    An indicator for the type of interpolation to use


    _subSampleBits

    int _subSampleBits
    The subsample precision


    _xOrigin

    int _xOrigin
    The x value of the origin


    _yOrigin

    int _yOrigin
    The y value of the origin

    Class ptolemy.actor.lib.jai.JAIScale extends Transformer implements Serializable

    Serialized Fields

    interpolationType

    StringAttribute interpolationType
    The type of interpolation to use. This is a string valued attribute that defaults to type "bilinear"


    specifySize

    Parameter specifySize
    If true (the default), then the image will be scaled to the dimensions provided in width and height. If false, then the width and height of the image will be scaled by the respective amounts provided in xScaleFactor and yScaleFactor.


    subSampleBits

    Parameter subSampleBits
    The subsample precision. The default value of this parameter is the integer value 8.


    xScaleFactor

    Parameter xScaleFactor
    The scaling factor in the horizontal direction. The default value of this parameter is the double value 1.0


    yScaleFactor

    Parameter yScaleFactor
    The scaling factor in the vertical direction. The default value of this parameter is the double value 1.0


    width

    Parameter width
    The desired width in pixels. The default value of this parameter is the integer 800.


    height

    Parameter height
    The desired height in pixels. The default value of this parameter is the integer 600.


    _specifySize

    boolean _specifySize
    Flag determining whether to scale by double values, or scale to a specified width and height.


    _subSampleBits

    int _subSampleBits
    The subsample precision


    _xScaleFactor

    double _xScaleFactor
    The horizontal scaling factor.


    _yScaleFactor

    double _yScaleFactor
    The vertical scaling factor.


    _interpolationType

    int _interpolationType
    An indicator for the type of interpolation to use


    _width

    int _width
    The desired width in pixels.


    _height

    int _height
    The desired height in pixels.

    Class ptolemy.actor.lib.jai.JAITIFFWriter extends JAIWriter implements Serializable

    Serialized Fields

    writeTiled

    Parameter writeTiled
    If false (the default), then write the data in strips. This is acceptable for smaller images. If true, then write the data in tiles. This makes image access much more efficient in larger images.

    Class ptolemy.actor.lib.jai.JAIToDoubleMatrix extends Transformer implements Serializable

    Serialized Fields

    normalize

    Parameter normalize
    This parameter indicates whether to normalize or not. This only should be checked for non-floating point data-types. The default value is true.


    _maxValue

    double _maxValue
    Double representation of the highest value possible for the internal data type.


    _minValue

    double _minValue
    Double representation of the lowest value possible for the internal data type.


    _normalize

    boolean _normalize
    Flag determining whether or not to normalize.


    _type

    int _type
    Type determinator for the internal data.

    Class ptolemy.actor.lib.jai.JAITranslate extends Transformer implements Serializable

    Serialized Fields

    interpolationType

    StringAttribute interpolationType
    The type of interpolation to use. This is a string valued attribute that defaults to type "bilinear"


    subSampleBits

    Parameter subSampleBits
    The subsample precision. The default value of this parameter is the integer value 8.


    xShift

    Parameter xShift
    The shift amount in the horizontal direction. A positive value causes the origin to be moved to the right. A negative value causes the origin to be moved to the left.


    yShift

    Parameter yShift
    The shift amount in the vertical direction. A positive value causes the origin to be moved to the down. A negative value causes the origin to be moved to the up.


    _interpolationType

    int _interpolationType
    An indicator for the type of interpolation to use


    _subSampleBits

    int _subSampleBits
    The subsample precision


    _xShift

    double _xShift
    The horizontal scaling factor.


    _yShift

    double _yShift
    The vertical scaling factor.

    Class ptolemy.actor.lib.jai.JAITranspose extends Transformer implements Serializable

    Serialized Fields

    transposeType

    StringAttribute transposeType
    The type of transposing to do. This is a string valued attribute that defaults to type "flip horizontal",


    _transposeType

    javax.media.jai.operator.TransposeType _transposeType
    An indicator for the type of transposition to use

    Class ptolemy.actor.lib.jai.JAIWriter extends Sink implements Serializable

    Serialized Fields

    fileName

    FileParameter fileName
    The file name to which to write. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    confirmOverwrite

    Parameter confirmOverwrite
    If false, then overwrite the specified file if it exists without asking. If true (the default), then if the file exists, ask for confirmation before overwriting.


    _alreadyReadImageToken

    boolean _alreadyReadImageToken
    Set to true if the input was read in by the derived class. Certain derived classes want to read in the JAIImageToken so they can adjust the output format accordingly. These actors read the input, set the value of _jaiImageToken and _image set _alreadyReadImageToken to true and then call super.postfire(), which acts accordingly.

    See Also:
    JAIWriter._jaiImageToken, JAIPNGWriter

    _image

    javax.media.jai.RenderedOp _image
    The image that was optionally read in by the derived class.

    See Also:
    JAIWriter._alreadyReadImageToken

    _imageEncoderName

    java.lang.String _imageEncoderName
    The name of the encoder in a format suitable for com.sun.media.jai.codec.ImageCodec, for example "BMP", or "JPG".


    _imageEncodeParam

    com.sun.media.jai.codec.ImageEncodeParam _imageEncodeParam
    The encoder parameters. Derived classes usually instantiate a format specific subclass of ImageEncodeParam and then set _imageEncodeParam to the format specific instance and then call super.postfire().


    _jaiImageToken

    JAIImageToken _jaiImageToken
    The JAIImageToken that was optionally read in by the derived class.

    See Also:
    JAIWriter._alreadyReadImageToken

    Class ptolemy.actor.lib.jai.SaltAndPepper extends Transformer implements Serializable

    Serialized Fields

    probability

    Parameter probability
    The probability that a pixel will be turned black or white. This parameter contains a double between 0.0 and 1.0, the initial default value is 0.1. With the initial default value of 0.1, then there is a 5% chance a pixel will be turned white, a 5% chance that the pixel will be turned black and a 90% chance that the pixel will remain unchanged.


    _probability

    double _probability

    Package ptolemy.actor.lib.javasound

    Class ptolemy.actor.lib.javasound.AudioCapture extends LiveSoundActor implements Serializable

    Serialized Fields

    trigger

    TypedIOPort trigger
    The trigger port.


    output

    TypedIOPort output
    The output port. This will always produce double data, between -1.0 and 1.0.


    output_tokenProductionRate

    Parameter output_tokenProductionRate
    The output rate.


    _audioInDoubleArray

    double[][] _audioInDoubleArray

    _audioSendArray

    DoubleToken[] _audioSendArray

    Class ptolemy.actor.lib.javasound.AudioPlayer extends LiveSoundActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port. This port must receive double tokens (in the range of -1.0 to 1.0);


    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    The input rate.


    _audioPutArray

    double[][] _audioPutArray

    Class ptolemy.actor.lib.javasound.AudioReadBuffer extends Transformer implements Serializable

    Serialized Fields

    sourceURL

    StringAttribute sourceURL
    The URL of the file to read from. The default value of this parameter is the URL "file:///tmp/test.wav". Supported file formats are WAV, AU, and AIFF. The sound file format is determined from the file extension.

    An exception will occur if the path references a non-existent or unsupported sound file.


    bufferLength

    Parameter bufferLength
    The length of the audio buffer to use. The default value is 8000.


    _soundReader

    SoundReader _soundReader

    _safeToInitialize

    boolean _safeToInitialize

    _audioBuffer

    double[] _audioBuffer

    _postfireReturn

    boolean _postfireReturn

    Class ptolemy.actor.lib.javasound.AudioReader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    _audioIn

    double[][] _audioIn
    Most recently read audio data.


    _audioSendArray

    DoubleToken[] _audioSendArray
    Buffer of tokens to send.


    _channels

    int _channels
    The number of channels.


    _firedSinceWrapup

    boolean _firedSinceWrapup
    Indicator that the fire() method has been called, but wrapup has not. That is, we are in the middle of a run.


    _previousFileOrURL

    java.lang.String _previousFileOrURL
    Previous value of fileOrURL parameter.


    _reachedEOF

    boolean _reachedEOF
    Indicator that we have reached the end of the file.


    _sampleIndex

    int _sampleIndex
    Index of the next output to produce from _audioIn.


    _soundReader

    SoundReader _soundReader
    The current reader for the input file.

    Class ptolemy.actor.lib.javasound.AudioWriteBuffer extends TypedAtomicActor implements Serializable

    Serialized Fields

    address

    TypedIOPort address
    The address port, which is a multiport.


    data

    TypedIOPort data
    The data port, which is a multiport.


    bufferLength

    Parameter bufferLength
    The length of the audio buffer to use. The default value is 8000.


    overwrite

    Parameter overwrite
    The write mode to use. If this parameter is set to true, then a write to a buffer element overwrites the old value in the buffer. Otherwise, a write adds the new value to the old value of the buffer element.


    pathName

    StringAttribute pathName
    The name of the file to write to. The default value of this parameter is "test.wav", which creates a file called test.wav in the current directory and writes samples to this file.

    The audio format to use is determined by the file extension. E.g., "outfile.wav" will create a WAV format file. The supported file formats are AU, WAV, and, AIFF.

    An exception will be occur if the path references an unsupported sound file.


    sampleRate

    Parameter sampleRate
    The desired sample rate to use, in Hz. Valid values include: 8000, 11025, 22050, 44100, and 48000. The default value of the sample rate is an IntToken equal to 8000.

    An exception will be thrown if an illegal value is used.


    bitsPerSample

    Parameter bitsPerSample
    The desired number of bits per sample. The default value is an IntToken equal to 16. Supported values are 8 and 16. An exception will be thrown if an illegal value is used.


    channels

    Parameter channels
    The number of audio channels to use. Supported values are 1 (single channel) and 2 (stereo). The default value is an IntToken equal to 1. An exception will be thrown if an illegal value is used.


    _soundWriter

    SoundWriter _soundWriter

    _channels

    int _channels

    _putSampleSize

    int _putSampleSize

    _audioPutArray

    double[][] _audioPutArray

    _inArray

    Token[][] _inArray

    _safeToInitialize

    boolean _safeToInitialize

    _audioBuffer

    double[] _audioBuffer

    Class ptolemy.actor.lib.javasound.AudioWriter extends Sink implements Serializable

    Serialized Fields

    pathName

    StringAttribute pathName
    The name of the file to write to. The default value of this parameter is "test.wav", which creates a file called test.wav in the current directory and writes samples to this file.

    The audio format to use is determined by the file extension. E.g., "outfile.wav" will create a WAV format file. The supported file formats are AU, WAV, and, AIFF.

    An exception will be occur if the path references an unsupported sound file.


    sampleRate

    Parameter sampleRate
    The desired sample rate to use, in Hz. Valid values include: 8000, 11025, 22050, 44100, and 48000. The default value of the sample rate is an IntToken equal to 8000.

    An exception will be thrown if an illegal value is used.


    bitsPerSample

    Parameter bitsPerSample
    The desired number of bits per sample. The default value is an IntToken equal to 16. Supported values are 8 and 16. An exception will be thrown if an illegal value is used.


    channels

    Parameter channels
    The number of audio channels to use. Supported values are 1 (single channel) and 2 (stereo). The default value is an IntToken equal to 1. An exception will be thrown if an illegal value is used.


    _soundWriter

    SoundWriter _soundWriter

    _channels

    int _channels

    _putSampleSize

    int _putSampleSize

    _audioPutArray

    double[][] _audioPutArray

    _curElement

    int _curElement

    _inArray

    Token[][] _inArray

    _safeToInitialize

    boolean _safeToInitialize

    Class ptolemy.actor.lib.javasound.ClipPlayer extends TypedAtomicActor implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file or URL giving the audio clip. This is set by default to a file containing a voice signal.


    output

    TypedIOPort output
    Output port used to indicate starts and stops. This is a boolean port. A true output indicates that a clip has been started, and a false output indicates that one has stopped.


    overlay

    Parameter overlay
    If true, then if the actor fires before the previous clip has finished playing, then a new instance of the clip will be played on top of the tail of the previous instance, as long as the underlying mixer supports adding additional clips. This is a boolean that is false by default, which means that the clip is stopped and restarted each time the actor fires.


    trigger

    TypedIOPort trigger
    The trigger. When this port receives a token of any type, the actor begins playing the audio clip.


    _clips

    java.util.List<E> _clips
    The clip to playback.


    _outputEvents

    java.util.List<E> _outputEvents
    The output values to be produced on the next firing.


    _outputEventsCopy

    java.util.List<E> _outputEventsCopy
    The output values to be produced on the next firing.

    Class ptolemy.actor.lib.javasound.LiveSoundActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    bitsPerSample

    SharedParameter bitsPerSample
    The number of bits per sample. This is an integer that defaults to 16. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an unsupported bit resolution (currently, only 8 and 16 bits are supported).


    bufferSize

    SharedParameter bufferSize
    The requested buffer size in the audio hardware. This affects how far ahead of real time the model can get. A larger buffer size may limit the responsivity of the model because changes in the model will be heard only after the buffer has been flushed. This is an integer that defaults to 1024, representing a buffer with 1024 samples per channel. At an 8 kHz sample rate, this means a worst-case latency of about 1/8 seconds. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all.


    channels

    SharedParameter channels
    The number of audio channels. This is an integer that defaults to 1. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an an unsupported channel number.


    sampleRate

    SharedParameter sampleRate
    The sample rate in samples per second. This is an integer that defaults to 8000. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an unsupported sample rate.


    transferSize

    SharedParameter transferSize
    The number of samples that will be transferred to the audio driver together. This is an integer with default 128. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all.


    _bitsPerSample

    int _bitsPerSample
    Value of the bitsPerSample parameter.


    _bufferSize

    int _bufferSize
    The requested buffer size.


    _channels

    int _channels
    The number of channels. Initialized from the channels parameter.


    _sampleRate

    int _sampleRate
    The value of the sampleRate parameter.


    _transferSize

    int _transferSize
    The transfer size. Initialized from the transferSize parameter.


    _isExecuting

    boolean _isExecuting
    True if this actor is executing. Set to true by initialize(), set to false by wrapup().

    Class ptolemy.actor.lib.javasound.SoundActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    bytesPerSample

    SharedParameter bytesPerSample
    The number of bytes per sample. This is an integer that defaults to 2. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an unsupported bit resolution. Changing the value of this parameter will have an effect only when the model is next initialized.


    bufferSize

    SharedParameter bufferSize
    The requested buffer size for transferring samples. This affects how far ahead of real time the model can get. A larger buffer size may limit the responsivity of the model because changes in the model will be heard only after the buffer has been flushed. This is an integer that defaults to 1024, representing a buffer with 1024 samples per channel. At an 8 kHz sample rate, this means a worst-case latency of about 1/8 seconds. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. Changing the value of this parameter will have an effect only when the model is next initialized.


    channels

    SharedParameter channels
    The number of audio channels. This is an integer that defaults to 1. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an an unsupported channel number. Changing the value of this parameter will have an effect only when the model is next initialized.


    sampleRate

    SharedParameter sampleRate
    The sample rate in samples per second. This is an integer that defaults to 8000. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an unsupported sample rate. Changing the value of this parameter will have an effect only when the model is next initialized.


    _bytesPerSample

    int _bytesPerSample
    Value of the bytesPerSample parameter.


    _bufferSize

    int _bufferSize
    The requested buffer size.


    _channels

    int _channels
    The number of channels. Initialized from the channels parameter.


    _sampleRate

    int _sampleRate
    The value of the sampleRate parameter.


    _isExecuting

    boolean _isExecuting
    True if this actor is executing. Set to true by initialize(), set to false by wrapup().

    Class ptolemy.actor.lib.javasound.SoundPlayer extends SoundActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port. This port must receive double matrix tokens (in the range of -1.0 to 1.0).


    _playbackData

    byte[] _playbackData
    Byte buffer used for playback data.


    _sourceDataLine

    javax.sound.sampled.SourceDataLine _sourceDataLine
    The data line being used for playback.


    Package ptolemy.actor.lib.jmf

    Class ptolemy.actor.lib.jmf.AudioPlayer extends Sink implements Serializable

    Serialized Fields

    _container

    java.awt.Container _container
    The container that contains the control panel components.


    _frame

    javax.swing.JFrame _frame
    The JFrame where the the container is put.


    _player

    javax.media.Player _player
    The player.


    _startTime

    javax.media.Time _startTime
    Start time for the audio clip.

    Class ptolemy.actor.lib.jmf.ColorFinder extends TypedAtomicActor implements Serializable

    Serialized Fields

    uHighValue

    Parameter uHighValue
    The upper bound on the U range.


    uLowValue

    Parameter uLowValue
    The lower bound on the U range.


    vHighValue

    Parameter vHighValue
    The upper bound on the V range.


    vLowValue

    Parameter vLowValue
    The lower bound on the V range.


    yHighValue

    Parameter yHighValue
    The upper bound on the Y range.


    yLowValue

    Parameter yLowValue
    The lower bound on the Y range.


    input

    TypedIOPort input
    The port for the input, which has type ObjectToken.


    outputX

    TypedIOPort outputX
    The output port for the horizontal component, which has type DoubleToken.


    outputY

    TypedIOPort outputY
    The output port for the vertical component, which has type DoubleToken.


    _frameWidth

    int _frameWidth

    _frameHeight

    int _frameHeight

    YArray

    byte[] YArray

    UArray

    byte[] UArray

    VArray

    byte[] VArray

    _histSize

    int _histSize

    _inCount

    int _inCount

    _sumX

    int _sumX

    _sumY

    int _sumY

    _yLow

    int _yLow

    _yHigh

    int _yHigh

    _uLow

    int _uLow

    _uHigh

    int _uHigh

    _vLow

    int _vLow

    _vHigh

    int _vHigh

    _yClass

    int[] _yClass

    _uClass

    int[] _uClass

    _vClass

    int[] _vClass

    Class ptolemy.actor.lib.jmf.ImageToJMF extends Transformer implements Serializable

    Serialized Fields

    frameRate

    Parameter frameRate
    The frame rate in frames per second at which the images are being generated. If video is being generated, then the frame rate is usually between 1 and 60. The initial default is an integer with value 15, meaning 15 frames per second


    _frameRate

    int _frameRate

    Class ptolemy.actor.lib.jmf.JMFImageToken extends ImageToken implements Serializable

    Serialized Fields

    _value

    javax.media.Buffer _value

    _videoFormat

    javax.media.format.VideoFormat _videoFormat

    _awtImage

    java.awt.Image _awtImage

    Class ptolemy.actor.lib.jmf.MovieReader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by File Attribute. The default value is the string "file:///C:/program%20files/quicktime/Sample.mov".

    See Also:
    FileParameter

    _dataSource

    javax.media.protocol.DataSource _dataSource

    _frame

    javax.media.Buffer _frame

    _frameGrabbingControl

    javax.media.control.FrameGrabbingControl _frameGrabbingControl

    _framePositioningControl

    javax.media.control.FramePositioningControl _framePositioningControl

    _player

    javax.media.Player _player

    _playerOpen

    boolean _playerOpen

    _stateTransitionEvent

    javax.media.ControllerEvent _stateTransitionEvent

    _stateTransitionOK

    boolean _stateTransitionOK

    _waitSync

    java.lang.Object _waitSync

    Class ptolemy.actor.lib.jmf.MovieWriter extends Sink implements Serializable

    Serialized Fields

    confirmOverwrite

    Parameter confirmOverwrite
    If false, then overwrite the specified file if it exists without asking. If true (the default), then if the file exists, ask for confirmation before overwriting.


    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by File Attribute. The initial default value is the string "$TMPDIR/movieOut.mov";

    See Also:
    FileParameter

    fileType

    StringAttribute fileType
    The type of file to write. There are three different file types that this actor can write. They are AVI, MPEG, and QUICKTIME.


    _bufferArrayList

    java.util.ArrayList<E> _bufferArrayList

    _bufferIterator

    java.util.Iterator<E> _bufferIterator

    _confirmOverwrite

    boolean _confirmOverwrite

    _ended

    boolean _ended

    _file

    java.io.File _file

    _fileDone

    boolean _fileDone

    _fileRoot

    java.lang.String _fileRoot

    _fileSuccess

    boolean _fileSuccess

    _fileType

    int _fileType

    _imageSourceStream

    MovieWriter.ImageSourceStream[] _imageSourceStream

    _jmfImageToken

    JMFImageToken _jmfImageToken

    _stateTransitionOK

    boolean _stateTransitionOK

    _videoFormat

    javax.media.format.VideoFormat _videoFormat

    _waitFileSync

    java.lang.Object _waitFileSync

    _waitSync

    java.lang.Object _waitSync

    Class ptolemy.actor.lib.jmf.PlaySound extends TypedAtomicActor implements Serializable

    Serialized Fields

    fileNameOrURL

    FileParameter fileNameOrURL
    The file name or URL to read.


    onOff

    TypedIOPort onOff
    The input port, which has type boolean. A true input causes the sound to be played, and false input causes it to be stopped.


    percentGain

    IntRangeParameter percentGain
    The gain (in percent). This has as its value a record of the form {min = m, max = M, current = c}, where min <= c <= max.


    synchronizedPlay

    Parameter synchronizedPlay
    Indicator to play to the end before returning from fire(). This is a boolean, and defaults to true.


    _gainControl

    javax.media.GainControl _gainControl
    The gain control associated with the player.


    _player

    javax.media.Player _player
    The player.


    _startTime

    javax.media.Time _startTime
    Start time for an audio clip.

    Class ptolemy.actor.lib.jmf.StreamLoader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file or URL that it to be read.


    _dataSource

    javax.media.protocol.DataSource _dataSource

    Class ptolemy.actor.lib.jmf.VideoCamera extends Source implements Serializable

    Serialized Fields

    formatName

    StringAttribute formatName
    The type of video format to use. This is a string valued attribute that defaults to the type RGB.


    deviceNumber

    Parameter deviceNumber
    This parameter lets the user select the device to use. Typically this parameter is of no concern and should be left at 0. However, if a computer has more than one usable cameras, this parameter can be used to choose amongst them.


    _format

    javax.media.format.VideoFormat _format

    _bufferNew

    javax.media.Buffer _bufferNew
    The java.awt.Image that we are producing/


    _newFrame

    boolean _newFrame

    _processor

    javax.media.Processor _processor
    The video processor.


    _cameraCodec

    VideoCamera.PreAccessCodec _cameraCodec

    _waitSync

    java.lang.Object _waitSync

    _stateTransitionOK

    boolean _stateTransitionOK

    _frameBuffer

    javax.media.Buffer _frameBuffer

    Class ptolemy.actor.lib.jmf.VideoPlayer extends Sink implements Serializable

    Serialized Fields

    _container

    java.awt.Container _container
    The container that contains the control panel components.


    _frame

    javax.swing.JFrame _frame
    The JFrame where the the container is put.


    _player

    javax.media.Player _player
    The player.


    _startTime

    javax.media.Time _startTime
    Start time for the video clip.


    Package ptolemy.actor.lib.jni

    Class ptolemy.actor.lib.jni.CodegenActor extends EmbeddedCActor implements Serializable

    Class ptolemy.actor.lib.jni.CompiledCompositeActor extends TypedCompositeActor implements Serializable

    Serialized Fields

    codeDirectory

    FileParameter codeDirectory
    The directory in which to put the generated code. This is a file parameter that must specify a directory. The default is $HOME/codegen.


    generatorPackage

    StringParameter generatorPackage
    The name of the package in which to look for helper class code generators. This is a string that defaults to "ptolemy.codegen.c".


    inline

    Parameter inline
    If true, generate file with no functions. If false, generate file with functions. The default value is a parameter with the value true.


    invokeJNI

    Parameter invokeJNI
    If true, then invoke the generated code in the action methods (fire(), etc.) using the Java Native Interface (JNI). The default value is false, which results in this actor executing like an ordinary composite actor. Classes like EmbeddedCActor set invokeJNI to true when there is only C code specifying the functionality of an actor.


    overwriteFiles

    Parameter overwriteFiles
    If true, overwrite preexisting files. The default value is a parameter with the value true.


    _executeCommands

    StringBufferExec _executeCommands

    _jniWrapper

    java.lang.Object _jniWrapper

    _jniFireMethod

    java.lang.reflect.Method _jniFireMethod

    _jniInitializeMethod

    java.lang.reflect.Method _jniInitializeMethod

    _jniWrapupMethod

    java.lang.reflect.Method _jniWrapupMethod

    _sanitizedActorName

    java.lang.String _sanitizedActorName
    The sanitized actor name. The name has the underscores removed and the value of the _version variable appended. Call _updateSanitizedActorName() to properly set this variable.


    _generatedCodeVersion

    long _generatedCodeVersion
    The workspace version for which the code was generated. If the workspace version and this variable differ, Then there is a chance we should regenerate the code.


    _loadedCodeVersion

    long _loadedCodeVersion
    The workspace version for which the code was loaded. If the workspace version and this variable differ, then we should reload the code. Note that we don't want to reload the same dll multiple times or we will get "Native Library foo.dll already loaded in another classloader"


    _version

    int _version
    The version of the shared object. Each time we rebuild, the version number gets incremented. If you change _version, then consider calling _updateSanitizedActorName.

    Class ptolemy.actor.lib.jni.EmbeddedCActor extends CompiledCompositeActor implements Serializable

    Serialized Fields

    embeddedCCode

    StringAttribute embeddedCCode
    The C code that specifies the function of this actor. The default value is the code necessary to implement a identity function.


    _embeddedActor

    EmbeddedCActor.EmbeddedActor _embeddedActor
    The embedded actor used to contain the ports to the C implementation.

    Class ptolemy.actor.lib.jni.EmbeddedCActor.EmbeddedActor extends TypedAtomicActor implements Serializable

    Class ptolemy.actor.lib.jni.EmbeddedCFileActor extends EmbeddedCActor implements Serializable

    Serialized Fields

    codeBlockFile

    FileParameter codeBlockFile
    The file parameter that specifies the file that contains the C Code that this actor should use during execution and/or code generation.

    Class ptolemy.actor.lib.jni.EmbeddedCFileActor.EmbeddedFileActor extends EmbeddedCActor.EmbeddedActor implements Serializable

    Class ptolemy.actor.lib.jni.PointerToken extends Token implements Serializable

    Serialized Fields

    _value

    int _value
    The memory address of the pointer.

    Class ptolemy.actor.lib.jni.PointerToken.PointerType extends java.lang.Object implements Serializable


    Package ptolemy.actor.lib.jopio

    Class ptolemy.actor.lib.jopio.JopReadPort extends Source implements Serializable

    Serialized Fields

    portAddress

    Parameter portAddress
    The address of the I/O port. Has to be in an allowed range.


    _firstFire

    boolean _firstFire

    _val

    IntToken _val

    Class ptolemy.actor.lib.jopio.JopSerialRead extends Source implements Serializable

    Serialized Fields

    _firstFire

    boolean _firstFire

    _val

    IntToken _val

    _cnt

    int _cnt

    Class ptolemy.actor.lib.jopio.JopSerialWrite extends Sink implements Serializable

    Serialized Fields

    _last_val

    int _last_val

    _val

    int _val

    Class ptolemy.actor.lib.jopio.JopWatchDog extends Sink implements Serializable

    Serialized Fields

    _last_val

    boolean _last_val

    _val

    boolean _val

    Class ptolemy.actor.lib.jopio.JopWritePort extends Sink implements Serializable

    Serialized Fields

    portAddress

    Parameter portAddress
    The address of the I/O port. Has to be in an allowed range.


    _last_val

    int _last_val

    _val

    int _val

    Package ptolemy.actor.lib.logic

    Class ptolemy.actor.lib.logic.Comparator extends TypedAtomicActor implements Serializable

    Serialized Fields

    left

    TypedIOPort left
    The left input port, which has type double.


    right

    TypedIOPort right
    The right input port, which has type double.


    output

    TypedIOPort output
    The output port, which has type boolean.


    comparison

    StringAttribute comparison
    The comparison operator. This is a string-valued attribute that defaults to ">".


    tolerance

    Parameter tolerance
    The tolerance for the comparison. This has type double, and defaults to 0.0.


    _comparison

    int _comparison

    _tolerance

    double _tolerance

    Class ptolemy.actor.lib.logic.Equals extends Transformer implements Serializable

    Class ptolemy.actor.lib.logic.IsPresent extends Transformer implements Serializable

    Class ptolemy.actor.lib.logic.LogicalNot extends Transformer implements Serializable

    Class ptolemy.actor.lib.logic.LogicFunction extends Transformer implements Serializable

    Serialized Fields

    function

    StringAttribute function
    The function to compute. This is a string-valued attribute that defaults to "and".


    _function

    int _function
    An indicator for the function to compute. Valid values are LogicFunction._AND, LogicFunction._OR, and LogicFunction._XOR.


    _negate

    boolean _negate
    True if the intermediate results should be negated.

    Class ptolemy.actor.lib.logic.TrueGate extends Transformer implements Serializable


    Package ptolemy.actor.lib.net

    Class ptolemy.actor.lib.net.DatagramReader extends TypedAtomicActor implements Serializable

    Serialized Fields

    returnAddress

    TypedIOPort returnAddress
    This port outputs the IP address portion of the received datagram packet. The type of this output is String. This is the IP address of the remote datagram socket which sent the packet to the socket of this actor. Under IPv4, this string has the familiar form "128.32.1.1". This output defaults (when no datagram has been received and blocking is false) to the IP address of the socket.


    returnSocketNumber

    TypedIOPort returnSocketNumber
    This port outputs the socket (a.k.a port) number portion of the received datagram packet. The type of this output is int. This is the socket number of the remote datagram socket which sent the packet to this actor's socket. This is an integer in the range 0 through 65535. This output defaults (when no datagram has been received and blocking is false) to this actor's local socket number.


    output

    TypedIOPort output
    This port outputs the data portion of the received datagram packet. The type of output may depend on the datagram received, which may vary even during a single run of a model. The user is encouraged to play with the configuration of this port to best suit the need at hand.


    trigger

    TypedIOPort trigger
    The trigger input port reads and discards a token from each channel that has a token. The type of this port has been set to GENERAL, permitting any token type to be accepted. The hasToken() and get(int) methods are called on this input, but their contents are discarded. The presence of a connection to this input serves a purpose by causing the director to schedule the firing of this actor at an appropriate place in the sequence of firings of actors. This is particularly useful in the SDF domain. Without a trigger input, the SDF scheduler would be unable to schedule a firing of this actor unless it can be scheduled as the first actor to be fired. Thus, without this input, configurations in SDF would be limited. (@See ptolemy.actor.lib.Source for an archetypal trigger input.)


    localSocketNumber

    Parameter localSocketNumber
    This actor's local socket (a.k.a. port) number. This is a system resource allocated to this actor. No other actor with the same local socket number may run at the same time. Currently, When the return address is a multicast IP address, this parameter is also used to specify the UDP port number for the multicast group.


    actorBufferLength

    Parameter actorBufferLength
    Length (in bytes) of each of the actor's two packet buffers for receiving a datagram. This length does not include the bytes needed for storing the datagram's return address and other housekeeping information. This buffer need only be big enough to hold the payload (a.k.a. data portion) of the datagram.


    platformBufferLength

    Parameter platformBufferLength
    Length (in bytes) of the buffer within java and/or the platform layers below java. Java documents refers to all this collectively as the platform. The size of this buffer is controlled via the getReceiveBufferSize() and setReceiveBufferSize() methods. @see java.net.DatagramSocket. Caution #1 - The platform treats setReceiveBufferSize() as a suggestion only. It supposedly reports the actual buffer size granted in subsequent calls to getReceiveBufferSize(). However, my experiments with this showed it granting buffers as large as 2 gigabytes, with no apparent limit except the maximum representable integer value. Thus, I suggest taking this with a grain of salt. Caution #2 - the get/setReceiveBufferSize() calls block when called as long as another thread is in a receive() call on that same socket. This is undocumented in Java's documentation. Also note that the setReceiveBufferSize() method is not available in early JDK's, which makes it important to have setPlatformBufferLength set to false when generating code.


    setPlatformBufferLength

    Parameter setPlatformBufferLength
    Determine whether the platformBufferLength parameter will be used to set the platform's receive buffer size. This parameter must contain a boolean token, and has a default of false.


    overwrite

    Parameter overwrite
    Whether to overwrite when inundated with datagrams or let them pile up. Default is true. If false, datagrams will queue up (mostly in the platform, some in the actor). The datagram used at each invocation of fire will be the oldest in the queue. On the other hand, if overwrite is true, then minimal queuing will occur and the most recent data will be used when fire() is called. Older data will be discarded.


    blockAwaitingDatagram

    Parameter blockAwaitingDatagram
    Whether to block in fire(). If fire() is called before the datagram has arrived, the actor must either block awaiting the datagram or use its defaultOutput. This blocking parameter controls which choice fire() will make. This parameter is useful for SDF models, where it is generally set to true. It has no effect in DE models unless the trigger input has been connected. Type is Boolean. Default value is true.


    defaultReturnAddress

    Parameter defaultReturnAddress
    The default for the returnAddress output. This token is broadcast when the actor is fired, but no actual datagram is available to broadcast and blockAwaitingDatagram is false. If blocking were true, the actor would simply stall in fire() until a datagram arrives. Type is string. Default value is "localhost". Currently, this parameter can be overloaded to specify a multicast datagram IP address. A multicast IP address ranges from 224.0.0.0 to 239.255.255.255, inclusive.


    defaultReturnSocketNumber

    Parameter defaultReturnSocketNumber
    The default the returnSocketNumber output. This token is broadcast when the actor is fired, but no actual datagram is available to broadcast and blockAwaitingDatagram is false. If blocking were true, the actor would simply stall in fire() until a datagram arrives. Type is integer. Default value is 0.


    defaultOutput

    Parameter defaultOutput
    The default for the output output. This default token is broadcast when the actor is fired, but no actual datagram data is available to broadcast and blockAwaitingDatagram is false. If blocking were true, the actor would simply stall in fire() until a datagram arrives. Type is defined by the expression entered. Default type & value is the integer 0.


    _syncFireAndThread

    java.lang.Object _syncFireAndThread

    _syncDefaultOutputs

    java.lang.Object _syncDefaultOutputs

    _syncBufferLength

    java.lang.Object _syncBufferLength

    _syncSocket

    java.lang.Object _syncSocket

    _actorBufferLength

    int _actorBufferLength

    _overwrite

    boolean _overwrite

    _blockAwaitingDatagram

    boolean _blockAwaitingDatagram

    _multiCast

    boolean _multiCast

    _defaultReturnAddress

    java.lang.String _defaultReturnAddress

    _defaultReturnSocketNumber

    int _defaultReturnSocketNumber

    _defaultOutputToken

    Token _defaultOutputToken

    _receivePacket

    java.net.DatagramPacket _receivePacket

    _broadcastPacket

    java.net.DatagramPacket _broadcastPacket

    _receiveAllocated

    int _receiveAllocated

    _broadcastAllocated

    int _broadcastAllocated

    _packetsAlreadyAwaitingFire

    int _packetsAlreadyAwaitingFire

    _ChangeRequestedToPlatformBufferLength

    int _ChangeRequestedToPlatformBufferLength

    _socket

    java.net.DatagramSocket _socket

    _multicastSocket

    java.net.MulticastSocket _multicastSocket

    _socketReadingThread

    DatagramReader.SocketReadingThread _socketReadingThread

    _returnAddress

    java.lang.String _returnAddress

    _returnSocketNumber

    int _returnSocketNumber

    _outputToken

    Token _outputToken

    _address

    java.net.InetAddress _address

    _inReceive

    boolean _inReceive

    _fireIsWaiting

    boolean _fireIsWaiting

    _stopFire

    boolean _stopFire

    Class ptolemy.actor.lib.net.DatagramWriter extends TypedAtomicActor implements Serializable

    Serialized Fields

    triggerOutput

    TypedIOPort triggerOutput
    The triggerOutput port. The type of this port is GENERAL, forcing input ports connected here to also be of type GENERAL, (as trigger inputs typically are). This port always transmits a Token with nothing in it. This gives the designer a way to control the order in which other actors fire with respect to the firing of this actor in the SDF domain.


    localSocketNumber

    Parameter localSocketNumber
    The local socket number for this actor's socket. Integer in the range 0..65535. Default is 4003.


    data

    TypedIOPort data
    Data to be sent. Data can be encoded different ways, depending on the setting of encoding.


    defaultRemoteAddress

    Parameter defaultRemoteAddress
    The default remote address to which to send datagrams. This is a string. It will get looked up to find the IP address. (Legal forms of this string include "128.32.239.10" and "localhost".)


    remoteAddress

    TypedIOPort remoteAddress
    The remote address towards which to launch the packet. This is a multiport. This permits it to be left unconnected in DE. If multiple addresses are delivered simultaneously to this port, the one arriving via the highest numbered channel is used. Type is string.


    defaultRemoteSocketNumber

    Parameter defaultRemoteSocketNumber
    The default remote UDP socket to which to launch the packet. This is an integer in 0..65535. NOTE: TCP sockets get their own distinct, non-interfering, set of 2^16 numbers!


    remoteSocketNumber

    TypedIOPort remoteSocketNumber
    The remote socket number towards which to launch the packet. This is a multiport. This permits it to be left unconnected in DE. If multiple addresses are delivered simultaneously to this port, the one arriving via the highest numbered channel is used. Type is integer.


    _address

    java.net.InetAddress _address

    _remoteSocketNumber

    int _remoteSocketNumber

    _socket

    java.net.DatagramSocket _socket

    _localSocketNumber

    int _localSocketNumber

    Package ptolemy.actor.lib.python

    Class ptolemy.actor.lib.python.PythonScript extends TypedAtomicActor implements Serializable

    Serialized Fields

    script

    StringAttribute script
    The script that specifies the function of this actor. The default value provides an empty template.


    _class

    org.python.core.PyClass _class

    _methodMap

    java.util.HashMap<K,V> _methodMap

    _object

    org.python.core.PyObject _object

    Package ptolemy.actor.lib.security

    Class ptolemy.actor.lib.security.CipherActor extends CryptographyActor implements Serializable

    Serialized Fields

    mode

    StringParameter mode
    The mode component when the Cipher is instantiated. Algorithms can be run in several different modes. The mode is specified as a string. Names for modes and modes implemented vary based on the provider. Possible values include
    (The empty string)
    Use the default setting for the algorithm.
    NONE
    No mode, meaning that the algorithm does not use a mode.
    CBC
    Cipher Block Chaining Mode, as defined in FIPS PUB 81. CBC is usually the mode that is used.
    CFB
    Cipher Feedback Mode, as defined in FIPS PUB 81.
    ECB
    Electronic Codebook Mode, as defined in: The National Institute of Standards and Technology (NIST) Federal Information Processing Standard (FIPS) PUB 81, "DES Modes of Operation," U.S. Department of Commerce, Dec 1980. ECM is best for encrypting small pieces of data. If possible, use CBC instead.
    OFB
    Output Feedback Mode, as defined in FIPS PUB 81.
    PCBC
    Propagating Cipher Block Chaining, as defined by Kerberos V4.
    The initial default is the empty string, which indicates that the default setting for the algorithm should be used.

    See the Java Cryptography Extension (JCE) Reference Guide for details.


    padding

    StringParameter padding
    The padding scheme used by the cipher during encryption. In cryptography, padding is used to handle situations where the input data must be an exact multiple of the block size for the algorithm http://www.di-mgt.com.au/cryptopad.html#whennopadding says:
    Block cipher algorithms like DES and Blowfish in Electronic Code Book (ECB) and Cipher Block Chaining (CBC) mode require their input to be an exact multiple of the block size. If the plaintext to be encrypted is not an exact multiple, you need to pad before encrypting by adding a padding string. When decrypting, the receiving party needs to know how to remove the padding, if any.

    The padding is specified as a string. Names for parameter and parameters implemented vary based on the provider. Possible values include

    (The empty string)
    Use the default setting for the algorithm.
    NoPadding
    No padding (do not use padding).
    OAEPWithdigestAndmgfPadding
    Optimal Asymmetric Encryption Padding scheme defined in PKCS #1, where digest should be replaced by the message digest and mgf by the mask generation function. Example: OAEPWithMD5AndMGF1Padding.
    PKCS5Padding
    The padding scheme described in: RSA Laboratories, "PKCS #5: Password-Based Encryption Standard," version 1.5, November 1993.
    SSL3Padding
    The padding scheme defined in the SSL Protocol Version 3.0, November 18, 1996, section 5.2.3.2 (CBC block cipher):
    The initial default is the empty string, which indicates that the default setting for the algorithm should be used.

    See the Java Cryptography Extension (JCE) Reference Guide for details.


    _cipher

    javax.crypto.Cipher _cipher
    The cipher that will be used to process the data.


    _mode

    java.lang.String _mode
    The mode to be used to process the data.


    _padding

    java.lang.String _padding
    The padding scheme to be used process the data.


    _updateCipherNeeded

    boolean _updateCipherNeeded
    Set to true if one of the parameters changed and we need to call _updateCipher().

    Class ptolemy.actor.lib.security.CryptographyActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    algorithm

    StringParameter algorithm
    Specify the algorithm to be used to process data. The algorithm is specified as a string. The algorithms are limited to those implemented by providers using the Java JCE which are found on the Java virtual machine. The initial default is the first value returned by java.security.Security.getAlgorithms();


    input

    TypedIOPort input
    The input port. The type of this port is unsigned byte array. Data is read in on this port, processed by the _process() method during fire() and passed to the output port.


    keySize

    Parameter keySize
    Specify the size of the key to be created. The key size is an integer value representing the number of bits in the key. The initial default depends on the algorithm that is selected, not all algorithms use keySize. In addition, only certain keySizes may work with certain algorithms, see the documentation for the algorithm you are using.

    DSA is the most common algorithm that uses keySize, the Sun documentation says: "The length, in bits, of the modulus p. This must range from 512 to 1024, and must be a multiple of 64. The default keysize is 1024." Refer to http://java.sun.com/j2se/1.4.2/docs/guide/security/CryptoSpec.html#AppB for a list of possible key sizes for certain algorithms. The initial default is 1024.


    output

    TypedIOPort output
    The output port. The type of this port is unsigned byte array. This port sends out the processed data received from the input port.


    provider

    StringParameter provider
    Specify a provider for the given algorithm. The default value is "SystemDefault" which allows the system to choose the provider based on the JCE architecture.


    _algorithm

    java.lang.String _algorithm
    The name of the algorithm to be used.


    _keySize

    int _keySize
    The key size to be used when processing information.


    _provider

    java.lang.String _provider
    The provider to be used for a provider specific implementation.

    Class ptolemy.actor.lib.security.KeyReader extends KeyStoreActor implements Serializable

    Serialized Fields

    getPublicKey

    Parameter getPublicKey
    True if we should get the public key. False if we should get the private key. The default value is true. Getting the private key requires using the keyPassword.


    output

    TypedIOPort output
    The output port. This port contains an KeyToken that contains a java.security.Key.


    trigger

    TypedIOPort trigger
    The trigger port. The type of this port is undeclared, meaning that it will resolve to any data type.


    signatureAlgorithm

    StringParameter signatureAlgorithm
    The name of the signature algorithm used to generate the key. This StringParameter is not settable by the user, it is set after initialize() is called and the certificate has been obtained from the KeyStore.


    verifyCertificate

    Parameter verifyCertificate
    True if the certificate associated with a key should be verified. False if the certificate (if any) need not be verified.
    Public Keys must be associated with a certificate, so if getPublicKey is true, then this Parameter should be true as well.
    Private keys are usually associated with a certificate, so verifying the certificate is a good idea.
    Secret keys do not usually have a certificate, so if the key is a secret key, then usually verifyCertificate is set to false.


    _getPublicKey

    boolean _getPublicKey

    _key

    java.security.Key _key

    _updateKeyNeeded

    boolean _updateKeyNeeded

    _verifyCertificate

    boolean _verifyCertificate

    Class ptolemy.actor.lib.security.KeyStoreActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    alias

    StringParameter alias
    The alias of the certificate that we are looking for. The default alias is the String "ptolemy"


    createFileOrURLIfNecessary

    Parameter createFileOrURLIfNecessary
    If true, then create the keystore named by fileOrURL if the fileOrURL does not exist. The default value is true.


    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter. The initial default is "$PTII/ptKeystore". To create the initial default keystore, run "cd $PTII; make ptKeystore" or set the createFileOrURLIfNecessary to true.

    See Also:
    FileParameter

    keyStoreType

    StringParameter keyStoreType
    The type of the keystore. See Java Cryptography Architecture API Specification & Reference for information about keystore types. The initial value is the string returned by java.security.KeyStore.getDefaultType().

    Note that secret keys generated by the SecretKey actor should be saved in a keystore of type "JCEKS".


    keyPassword

    PortParameter keyPassword
    The password to the Key. The default password is "this.is.the.keyPassword,change.it". If the port is left unconnected, then the parameter value will be used.


    provider

    StringParameter provider
    Specify a provider for the given algorithm. The default value is "SystemDefault" which allows the system to choose the provider based on the JCE architecture.


    storePassword

    PortParameter storePassword
    The password to the KeyStore. The default password is "this.is.the.storePassword,change.it". If the port is left unconnected, then the parameter value will be used.


    _alias

    java.lang.String _alias
    The alias of the Certificate that we are looking for.


    _keyPassword

    java.lang.String _keyPassword
    The password for the key.


    _keyStore

    java.security.KeyStore _keyStore
    The KeyStore itself.


    _keyStoreType

    java.lang.String _keyStoreType
    The keyStore type.


    _provider

    java.lang.String _provider
    The provider to be used for a provider specific implementation.


    _storePassword

    java.lang.String _storePassword
    The password for the keyStore.


    _loadKeyStoreNeeded

    boolean _loadKeyStoreNeeded
    Set to true if fileOrURL has changed and the keyStore needs to be read in again and the aliases updated.


    _errorGobbler

    KeyStoreActor._StreamReaderThread _errorGobbler

    _initializeKeyStoreNeeded

    boolean _initializeKeyStoreNeeded

    _outputGobbler

    KeyStoreActor._StreamReaderThread _outputGobbler

    _process

    java.lang.Process _process

    _stopFireRequested

    boolean _stopFireRequested

    Class ptolemy.actor.lib.security.KeyToken extends Token implements Serializable

    Serialized Fields

    _value

    java.security.Key _value
    The java.security.Key

    Class ptolemy.actor.lib.security.KeyToken.KeyType extends java.lang.Object implements Serializable

    Class ptolemy.actor.lib.security.KeyWriter extends KeyStoreActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port, which contains on KeyToken.


    output

    TypedIOPort output
    The output port, which contains a True boolean token when the key has been written.

    Class ptolemy.actor.lib.security.PrivateKeyReader extends KeyReader implements Serializable

    Class ptolemy.actor.lib.security.PublicKeyReader extends KeyReader implements Serializable

    Class ptolemy.actor.lib.security.SecretKey extends Source implements Serializable

    Serialized Fields

    algorithm

    StringParameter algorithm
    Specify the algorithm to be used to process data. The algorithm is specified as a string. The algorithms are limited to those implemented by providers using the Java JCE which are found on the system. The initial default is "DES".


    provider

    StringParameter provider
    Specify a provider for the given algorithm. Takes the algorithm name as a string. The default value is "SystemDefault" which allows the system chooses the provider based on the JCE architecture.


    keySize

    Parameter keySize
    Specify the size of the key to be created. The key size is an integer value representing the number of bits in the key. The initial default depends on the algorithm that is selected, not all algorithms use keySize.

    DSA is the most common algorithm that uses keySize, the Sun documentation says: "The length, in bits, of the modulus p. This must range from 512 to 1024, and must be a multiple of 64. The default keysize is 1024." Refer to http://java.sun.com/j2se/1.4.2/docs/guide/security/CryptoSpec.html#AppB for a list of possible key sizes for certain algorithms. The initial default is 1024.


    _algorithm

    java.lang.String _algorithm
    The name of the algorithm to be used.


    _keySize

    int _keySize
    The key size to be used when processing information.


    _provider

    java.lang.String _provider
    The provider to be used for a provider specific implementation.


    _secretKey

    javax.crypto.SecretKey _secretKey

    _secretKeyToken

    KeyToken _secretKeyToken

    _updateSecretKeyNeeded

    boolean _updateSecretKeyNeeded

    Class ptolemy.actor.lib.security.SecretKeyReader extends PrivateKeyReader implements Serializable

    Class ptolemy.actor.lib.security.SignatureActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    This port takes in an unsigned byte array and processes the data.


    output

    TypedIOPort output
    This port sends out the processed data received from input in the form of an unsigned byte array.


    provider

    StringParameter provider
    Specify a provider for the given algorithm. Takes the algorithm name as a string. The default value is "SystemDefault" which allows the system chooses the provider based on the JCE architecture.


    signatureAlgorithm

    StringParameter signatureAlgorithm
    Specify the algorithm to be used to sign data. The algorithm is specified as a string. The algorithms are limited to those implemented by providers using the Java JCE which are found on the system. Depending on your JDK installation, possible values might be SHA1WITHDSA or MD5WITHRSA. The initial default is the first value returned by java.security.Security.getAlgorithms("Signature").


    _provider

    java.lang.String _provider
    The name of the provider to be used for a provider specific implementation.


    _signature

    java.security.Signature _signature
    The signature that will be used to process the data.


    _signatureAlgorithm

    java.lang.String _signatureAlgorithm
    The name of the signature algorithm to be used.


    _updateSignatureNeeded

    boolean _updateSignatureNeeded

    Class ptolemy.actor.lib.security.SignatureSigner extends SignatureActor implements Serializable

    Serialized Fields

    privateKey

    TypedIOPort privateKey
    The private key to be used by the SignatureVerifier actor to verify the data on the output port. The type of this input port is an ObjectToken containing a java.security.PrivateKey.


    signature

    TypedIOPort signature
    The signature of the data. The type of this output port is unsigned byte array. The data is read in on the input port and the signature is generated on this port. The output port contains the data in clear text.


    _privateKey

    java.security.PrivateKey _privateKey

    Class ptolemy.actor.lib.security.SignatureVerifier extends SignatureActor implements Serializable

    Serialized Fields

    signature

    TypedIOPort signature
    The signature of the data. The type of this input port is unsigned byte array.


    publicKey

    TypedIOPort publicKey
    The public key that is used to verify the signature. This port receives the public key to be used from the The type of this input port is an KeyToken containing a java.security.PublicKey.


    _publicKey

    java.security.PublicKey _publicKey

    Class ptolemy.actor.lib.security.SymmetricDecryption extends CipherActor implements Serializable

    Serialized Fields

    key

    TypedIOPort key
    The key port. This port contains the key that is used to decrypt data from the input port. The type is KeyToken that contains a java.security.key


    _key

    java.security.Key _key

    Class ptolemy.actor.lib.security.SymmetricEncryption extends CipherActor implements Serializable

    Serialized Fields

    key

    TypedIOPort key
    The key to be used by this actor to encrypt the data. The type is an KeyToken containing a java.security.Key. Usually the output of the SecretKey actor is connected to this port


    Package ptolemy.actor.lib.string

    Class ptolemy.actor.lib.string.StringCompare extends TypedAtomicActor implements Serializable

    Serialized Fields

    function

    Parameter function
    The comparison function to be performed. The choices are:


    firstString

    PortParameter firstString
    The input PortParameter for the first string of type string.


    ignoreCase

    Parameter ignoreCase
    The parameter to state whether to ignore case. This is a boolean that defaults to false.


    output

    TypedIOPort output
    The output port for the result of type BooleanToken.


    secondString

    PortParameter secondString
    The input PortParameter for the second string of type string.


    _function

    int _function

    Class ptolemy.actor.lib.string.StringFunction extends Transformer implements Serializable

    Serialized Fields

    function

    Parameter function
    Parameter that stores the string function to be performed on the input string. The possible values are "trim" (the default), "toUpperCase", or "toLowerCase".


    _function

    int _function

    Class ptolemy.actor.lib.string.StringIndexOf extends TypedAtomicActor implements Serializable

    Serialized Fields

    ignoreCase

    Parameter ignoreCase
    The parameter to state whether to ignore case. This is a boolean that defaults to false.


    inText

    PortParameter inText
    Port and parameter specifying the string that will be searched. This has type string and defaults to the empty string.


    output

    TypedIOPort output
    Output producing the index of the searchFor string, if it is found, and -1 otherwise. This has type int.


    searchFor

    PortParameter searchFor
    Port and parameter specifying a string to find in the inText string. This has type string and defaults to an empty string.


    searchForwards

    Parameter searchForwards
    Boolean parameter indicating the direction in which to search. This is true to find the first occurrence and false to find the last. The default value is true.


    startIndex

    PortParameter startIndex
    Port and parameter that determines where to start the search. This has type int and defaults to 0.

    Class ptolemy.actor.lib.string.StringLength extends Transformer implements Serializable

    Class ptolemy.actor.lib.string.StringMatches extends TypedAtomicActor implements Serializable

    Serialized Fields

    matchString

    PortParameter matchString
    The string to be pattern matched to the regular expression.


    output

    TypedIOPort output
    Output is true if the pattern exists in the string, false otherwise. Its type is boolean.


    pattern

    PortParameter pattern
    The regular expression to be pattern matched with the matchString string. Its default parameter is an empty string that matches no strings.


    _pattern

    java.util.regex.Pattern _pattern

    Class ptolemy.actor.lib.string.StringReplace extends StringSimpleReplace implements Serializable

    Serialized Fields

    replaceAll

    Parameter replaceAll
    When the boolean value is true, replace all instances that match the pattern, and when false, replace the first instance.


    _pattern

    java.util.regex.Pattern _pattern

    Class ptolemy.actor.lib.string.StringSimpleReplace extends TypedAtomicActor implements Serializable

    Serialized Fields

    stringToEdit

    PortParameter stringToEdit
    The string to edit by replacing substrings that match the specified pattern with the specified replacement. This is a string that defaults to the empty string.


    output

    TypedIOPort output
    The output port on which the edited string is produced. This has type string.


    pattern

    PortParameter pattern
    The pattern used to pattern match and replace the stringToEdit string. It is an empty string by default.


    replacement

    PortParameter replacement
    The replacement string that replaces any matched instance of the pattern. It is an empty string by default.


    _patternValue

    java.lang.String _patternValue

    Class ptolemy.actor.lib.string.StringSubstring extends Transformer implements Serializable

    Serialized Fields

    start

    PortParameter start
    The beginning index of the input string, which is the position of first character of the desired substring. Its default value is 0, type int.


    stop

    PortParameter stop
    The ending index of the input string, which is 1 greater than the position of last letter of the desired substring. Its default value is 0, type int.


    Package ptolemy.actor.lib.vhdl

    Class ptolemy.actor.lib.vhdl.AddSubtract extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be added. This is a multiport of fix point type


    B

    TypedIOPort B
    Input for tokens to be subtracted. This is a multiport of fix point type.


    operation

    Parameter operation
    Indicate whether addition or subtraction needs to be performed.

    Class ptolemy.actor.lib.vhdl.Concat extends FixTransformer implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input port for fix values to be concatenated. This is a multiport and have a Fix value type.

    Class ptolemy.actor.lib.vhdl.FixComparator extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be added. This is a multiport of fix point type


    B

    TypedIOPort B
    Input for tokens to be subtracted. This is a multiport of fix point type.


    operation

    Parameter operation
    Indicate whether addition or subtraction needs to be performed.

    Class ptolemy.actor.lib.vhdl.FixConst extends FixTransformer implements Serializable

    Serialized Fields

    value

    Parameter value
    The value produced by this constant source. By default, it contains an IntToken with value 1. If the type of this token is changed during the execution of a model, then the director will be asked to redo type resolution.


    trigger

    TypedIOPort trigger
    The trigger port. The type of this port is undeclared, meaning that it will resolve to any data type.

    Class ptolemy.actor.lib.vhdl.FixCounter extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    increment

    TypedIOPort increment
    The increment port. If this input port receives a token, then the counter is incremented. The port has type general.


    decrement

    TypedIOPort decrement
    The decrement port. If this input port receives a token, then the counter is decremented. The port has type general.


    _count

    int _count
    Internal memory of the current count.


    _latestCount

    int _latestCount

    _consumed

    boolean _consumed

    Class ptolemy.actor.lib.vhdl.FixSequence extends FixTransformer implements Serializable

    Serialized Fields

    enable

    TypedIOPort enable
    The enable input port. If this port is connected, then its input will determine whether an output is produced in any given firing. The type is boolean.


    repeat

    Parameter repeat
    The flag that indicates whether the sequence needs to be repeated. If this is false, then the last value of the sequence is repeatedly produced after the entire sequence has been produced. This is a boolean, and defaults to false.


    values

    Parameter values
    The values that will be produced on the output. This parameter is an array, with default value {1}.


    trigger

    TypedIOPort trigger
    The trigger port. The type of this port is undeclared, meaning that it will resolve to any data type.


    _currentIndex

    int _currentIndex

    _outputProduced

    boolean _outputProduced

    Class ptolemy.actor.lib.vhdl.FixToString extends Transformer implements Serializable

    Class ptolemy.actor.lib.vhdl.FixTransformer extends TypedAtomicActor implements Serializable

    Serialized Fields

    output

    QueuedTypedIOPort output
    Queued ouput to simulate pipelined add. The output is fix point type.

    Class ptolemy.actor.lib.vhdl.IntegerCounter extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    enable

    TypedIOPort enable
    The enable port. If this input port receives a true token, then the counter is incremented.


    reset

    TypedIOPort reset
    The reset port. If this port receive a true token, the counter is reset.


    width

    Parameter width
    The bit width for this counter.


    hasEnable

    Parameter hasEnable
    Specify whether this counter has a enable port.


    _previousCount

    int _previousCount
    The internal state of the previous count.


    _currentCount

    int _currentCount
    The internal state of the current count.

    Class ptolemy.actor.lib.vhdl.LogicalNot extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be inverted. This is a multiport of fix point type

    Class ptolemy.actor.lib.vhdl.LogicFunction extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be added. This is a multiport of fix point type


    B

    TypedIOPort B
    Input for tokens to be subtracted. This is a multiport of fix point type.


    operation

    Parameter operation
    Indicate whether addition or subtraction needs to be performed.

    Class ptolemy.actor.lib.vhdl.Memory extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    capacity

    Parameter capacity
    The range of address from 0 to capacity.


    dataIn

    TypedIOPort dataIn
    The input port for writing data .


    writeEnable

    TypedIOPort writeEnable
    The control port for signaling write.


    address

    TypedIOPort address
    The address port for fetching data.


    _addressWidth

    int _addressWidth

    _capacity

    int _capacity

    _dataWidth

    int _dataWidth

    _storage

    FixToken[] _storage

    Class ptolemy.actor.lib.vhdl.Multiplexor extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for the first data token stream. This is a port of fix point type.


    B

    TypedIOPort B
    Input for the second data token stream. This is a port of fix point type.


    select

    TypedIOPort select
    Input for select one of the inputs. This port has int type.


    _channel

    int _channel
    The most recently read select input.

    Class ptolemy.actor.lib.vhdl.Multiplier extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be added. This is a multiport of fix point type


    B

    TypedIOPort B
    Input for tokens to be subtracted. This is a multiport of fix point type.

    Class ptolemy.actor.lib.vhdl.QueuedTypedIOPort extends TypedIOPort implements Serializable

    Serialized Fields

    myQueue

    java.util.LinkedList<E> myQueue
    The token queue.


    _oldToken

    Token _oldToken
    The previous token.


    latency

    int latency
    The latency of the port.


    initialToken

    Token initialToken
    The initial output value of the port.

    Class ptolemy.actor.lib.vhdl.Register extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens to be added. This is a multiport of fix point type

    Class ptolemy.actor.lib.vhdl.RegisterSR extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port. The default type is Fix.

    Class ptolemy.actor.lib.vhdl.ROM extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    values

    Parameter values
    The values that will be produced on the output. This parameter is an array, with default value {1}.


    address

    TypedIOPort address
    The address port for fetching data.


    _addressWidth

    int _addressWidth

    _capacity

    int _capacity

    Class ptolemy.actor.lib.vhdl.Slice extends FixTransformer implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    start

    Parameter start
    The start index for the portion of the bits to be sliced.


    end

    Parameter end
    The end index for the portion of the bits to be sliced.


    lsb

    Parameter lsb
    Whether start and end index assumes LSB or MSB representation.

    Class ptolemy.actor.lib.vhdl.SynchronousFixTransformer extends FixTransformer implements Serializable

    Serialized Fields

    latency

    Parameter latency
    The number cycle delay of the output data.


    initialValue

    Parameter initialValue
    The number cycle delay of the output data.


    Package ptolemy.actor.lib.video

    Class ptolemy.actor.lib.video.DCT2x2dc extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens. This is a 2x2 integer block, and its type is integer matrix.


    output

    TypedIOPort output
    Output port. This is a result for calculating the DCT of the 2x2 integer block.


    _output

    IntMatrixToken[] _output

    Class ptolemy.actor.lib.video.DCT4x4dc extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens. This is a 2x2 integer block, and its type is integer matrix.


    output

    TypedIOPort output
    Output port. This is a result for calculating the DCT of the 2x2 integer block.


    _output

    IntMatrixToken[] _output

    Class ptolemy.actor.lib.video.DCT8x8 extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens to be a part of image blocks. This is a single port, and its type is integer matrix.


    output

    TypedIOPort output
    Output for tokens. The type is inferred form the connections.


    _output

    IntMatrixToken[] _output

    cos_values

    float[] cos_values

    Class ptolemy.actor.lib.video.IDCT4x4dc extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens to be a part of previous frame. This is a single port, and its type is 2D array.


    output

    TypedIOPort output
    Output port. This is a result for calculating sum of absolute differences between ImgBlockA and ImgBlockB. The type is inferred form the connections.


    _output

    IntMatrixToken[] _output

    Class ptolemy.actor.lib.video.IDCT8x8 extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens to be a part of image blocks. This is a single port, and its type is integer matrix.


    output

    TypedIOPort output
    Output port. The type is inferred form the connections.


    _output

    IntMatrixToken[] _output

    cos_values

    double[] cos_values

    Class ptolemy.actor.lib.video.SumofAbsoluteDifferences extends TypedAtomicActor implements Serializable

    Serialized Fields

    previousImageBlock

    TypedIOPort previousImageBlock
    Input for tokens to be a part of previous frame. This is a single port, and its type is 2D array.


    currentImageBlock

    TypedIOPort currentImageBlock
    Input for tokens to be a part of current frame. This is a single port, and its type is 2D array.


    sumAbsoluteDifference

    TypedIOPort sumAbsoluteDifference
    Output port. This is a result for calculating sum of absolute differences between ImgBlockA and ImgBlockB. The type is inferred form the connections.


    blockSize

    Parameter blockSize
    BlockSize parameter. This is given by a number of elements in a block. Macro Block in


    _blockSize

    int _blockSize
    Description of the variable.


    Package ptolemy.actor.lib.xslt

    Class ptolemy.actor.lib.xslt.XMLInclusion extends Transformer implements Serializable

    Serialized Fields

    template

    PortParameter template
    The template that specifies how the XML tokens will be combined. The type of this parameter is not defind, though it is in string mode. The initial value is not defined.


    headerParameter

    StringParameter headerParameter
    The xml header. This parameter is a string with an initial value of <?xml version="1.0" standalone="no"?>.

    Class ptolemy.actor.lib.xslt.XSLTransformer extends Transformer implements Serializable

    Serialized Fields

    styleSheetFile

    FileParameter styleSheetFile
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    styleSheetParameters

    PortParameter styleSheetParameters
    The parameters to be used in the stylesheet. This is a record that defaults to "emptyRecord()", an expression language command that returns an empty record. For example, if the parameter used in the style sheet is named a with type int, then the styleSheetParameters has type {a = int}. If the style sheet has multiple parameters, then each of them is represented as a field of the record.


    _xsltSource

    javax.xml.transform.Source _xsltSource

    _transformerFactory

    javax.xml.transform.TransformerFactory _transformerFactory

    _transformer

    javax.xml.transform.Transformer _transformer

    Package ptolemy.actor.parameters

    Class ptolemy.actor.parameters.DoubleRangeParameter extends Parameter implements Serializable

    Serialized Fields

    max

    Parameter max
    The maximum value. This is has a double value, and defaults to 1.0.


    min

    Parameter min
    The minimum value. This is has a double value, and defaults to 0.0.


    precision

    Parameter precision
    The precision, which is the number of possible values. This is has an integer value, and defaults to 100.


    _inCheck

    boolean _inCheck
    Indicator that we are in the middle of a check, so skip circular dependency.

    Class ptolemy.actor.parameters.FilePortParameter extends PortParameter implements Serializable

    Serialized Fields

    _baseDirectory

    java.net.URI _baseDirectory
    The base directory to use for relative file names.


    _reader

    java.io.BufferedReader _reader
    The current reader for the input file.


    _writer

    java.io.Writer _writer
    The current writer for the output file.

    Class ptolemy.actor.parameters.IntRangeParameter extends Parameter implements Serializable

    Serialized Fields

    max

    Parameter max
    The maximum value. This is has an integer value, and defaults to 100.


    min

    Parameter min
    The minimum value. This is has an integer value, and defaults to 0.


    _inCheck

    boolean _inCheck
    Indicator that we are in the middle of a check, so skip circular dependency.

    Class ptolemy.actor.parameters.LocationParameter extends Parameter implements Serializable

    Class ptolemy.actor.parameters.ParameterPort extends TypedIOPort implements Serializable

    Serialized Fields

    _settingName

    boolean _settingName
    Indicator that we are in the midst of setting the name.


    _parameter

    PortParameter _parameter
    The associated parameter.

    Class ptolemy.actor.parameters.ParameterSet extends ScopeExtendingAttribute implements Serializable

    Serialized Fields

    checkForFileUpdates

    Parameter checkForFileUpdates
    If this parameter is set to true, then the specified file or URL will be checked for updates on every prefiring of the enclosing opaque composite actor. Otherwise, it will check for updates only between runs. This is a boolean that defaults to false.


    fileOrURL

    FileParameter fileOrURL
    A parameter naming the file or URL to be read that contains attribute names and values. The file should be in a format suitable for java.util.Properties.load(), see the class comment of this class for details. This initial default value is the empty string "", which means that no file will be read and no parameter values will be defined.


    _date

    long _date
    Date of the file when last read.


    _fileName

    java.lang.String _fileName
    The previously read file name.


    _properties

    java.util.Properties _properties
    Cached copy of the last hashset of properties, used to remove old properties.

    Class ptolemy.actor.parameters.PortParameter extends Parameter implements Serializable

    Serialized Fields

    _port

    ParameterPort _port
    The associated port.


    _settingName

    boolean _settingName

    Class ptolemy.actor.parameters.Priority extends Parameter implements Serializable

    Class ptolemy.actor.parameters.SharedParameter extends Parameter implements Serializable

    Serialized Fields

    _constructionFinished

    boolean _constructionFinished
    Indicator that the constructor has reached the end.


    _containerClass

    java.lang.Class<T> _containerClass
    The container class.


    _sharedParameter

    SharedParameter _sharedParameter
    Cached version of a shared parameter.


    _sharedParameterVersion

    long _sharedParameterVersion
    Version for the cache.


    _sharedParameterSet

    java.util.HashSet<E> _sharedParameterSet
    Cached version of the shared parameter set.


    _sharedParameterSetVersion

    long _sharedParameterSetVersion
    Version for the cache.


    _suppressingPropagation

    boolean _suppressingPropagation
    Indicator to suppress propagation.


    Package ptolemy.actor.process

    Class ptolemy.actor.process.CompositeProcessDirector extends ProcessDirector implements Serializable

    Serialized Fields

    _onFirstIteration

    boolean _onFirstIteration
    Flag indicating whether we have executed the first iteration.


    _inputBranchController

    BranchController _inputBranchController
    The controller that handles inputs to the composite.


    _outputBranchController

    BranchController _outputBranchController
    The controller that handles outputs from the composite.


    _inputControllerIsBlocked

    boolean _inputControllerIsBlocked

    _outputControllerIsBlocked

    boolean _outputControllerIsBlocked

    _blockedReceivers

    java.util.HashSet<E> _blockedReceivers

    _branchControllerLock

    java.lang.Object _branchControllerLock

    Class ptolemy.actor.process.ProcessDirector extends Director implements Serializable

    Serialized Fields

    _notDone

    boolean _notDone
    A flag for determining whether successive iterations will be permitted.


    _stopFireRequested

    boolean _stopFireRequested
    Indicator that a stopFire has been requested by a call to stopFire().


    _blockedThreads

    java.util.HashSet<E> _blockedThreads
    The set of threads that are blocked on an IO operation.


    _pausedThreads

    java.util.HashSet<E> _pausedThreads
    The set of threads that have been paused in response to stopFire().


    _activeThreads

    java.util.HashSet<E> _activeThreads
    The threads created by this director.


    _newActorThreadList

    java.util.LinkedList<E> _newActorThreadList
    A list of threads created but not started.

    Class ptolemy.actor.process.TerminateProcessException extends java.lang.RuntimeException implements Serializable

    Serialized Fields

    _message

    java.lang.String _message

    Package ptolemy.actor.ptalon

    Class ptolemy.actor.ptalon.PtalonActor extends TypedCompositeActor implements Serializable

    Serialized Fields

    ptalonCodeLocation

    FileParameter ptalonCodeLocation
    The location of the Ptalon code.


    _assignedPtalonParameters

    java.util.List<E> _assignedPtalonParameters
    A list of all ptalon parameters that have been assigned a value. This is a subset of _ptalonParameters.


    _assignedPtalonParametersCopy

    java.util.Hashtable<K,V> _assignedPtalonParametersCopy
    A table of copies of all the elements in _assignedPtalonParameters. In each entry of this table, the value is a copy of an element in _assignedPtalonParameters (a PtalonParameter) and the key is the name returned by getName(). This table is used to compare newly assigned expression values against previously assigned expression values.


    _assignedPtalonParametersCopyValues

    java.util.Hashtable<K,V> _assignedPtalonParametersCopyValues
    A table of copies of token values of all of the elements in _assignedPtalonParameters. In each entry of this table, the value is the token value of an element in _assignedPtalonParameters (a PtalonParameter) and the key is the name returned by getName(). This table is used to compare current token values against previous token values.


    _ast

    PtalonAST _ast
    The abstract syntax tree for the PtalonActor.


    _astCreated

    boolean _astCreated
    A boolean whose value is true if the AST has been created.


    _codeManager

    PtalonEvaluator _codeManager
    Information generated about the Ptalon code that is used by the compiler.


    _configureSource

    java.lang.String _configureSource
    The text representation of the URL for this object.


    _nestedDepth

    int _nestedDepth
    The depth for this actor with respect to nested actor declarations.


    _ptalonParameters

    java.util.List<E> _ptalonParameters
    The list of all ptalon parameters for this actor.


    _unsettablePtalonParameters

    java.util.List<E> _unsettablePtalonParameters
    The list of all ptalon parameters who are not settable by the user. This is a subset of _ptalonParameters.

    Class ptolemy.actor.ptalon.PtalonAST extends antlr.CommonAST implements Serializable

    Class ptolemy.actor.ptalon.PtalonExpressionParameter extends PtalonParameter implements Serializable

    Class ptolemy.actor.ptalon.PtalonParameter extends Parameter implements Serializable

    Serialized Fields

    _hasValue

    boolean _hasValue
    True if this parameter has a value.

    Class ptolemy.actor.ptalon.PtalonRuntimeException extends java.lang.Exception implements Serializable

    Class ptolemy.actor.ptalon.PtalonScopeException extends java.lang.Exception implements Serializable


    Package ptolemy.actor.ptalon.gt

    Class ptolemy.actor.ptalon.gt.PtalonMatcher extends TypedCompositeActor implements Serializable

    Serialized Fields

    ptalonCodeLocation

    FileParameter ptalonCodeLocation
    The location of the Ptalon code.


    _actors

    java.util.Map<K,V> _actors

    _currentActor

    PtalonMatcher.NestedPtalonActor _currentActor

    _currentKey

    PtalonMatcher.HashKey _currentKey

    _handleAttributeChange

    boolean _handleAttributeChange

    Class ptolemy.actor.ptalon.gt.PtalonMatcher.NestedPtalonActor extends PtalonActor implements Serializable

    Serialized Fields

    _fixed

    boolean _fixed

    _initializing

    boolean _initializing

    Package ptolemy.actor.ptalon.lib

    Class ptolemy.actor.ptalon.lib.ComplexAddSubtract extends AddSubtract implements Serializable

    Class ptolemy.actor.ptalon.lib.MapFileStorage extends DEActor implements Serializable

    Serialized Fields

    doneReceiving

    TypedIOPort doneReceiving
    The inputTrigger port. The type of this port is undeclared, meaning that it will resolve to any data type.


    doneEmitting

    TypedIOPort doneEmitting
    The inputTrigger port. The type of this port is undeclared, meaning that it will resolve to any data type.


    inputKey

    TypedIOPort inputKey
    The inputTrigger port. The type of this port is undeclared, meaning that it will resolve to any data type.


    inputValue

    TypedIOPort inputValue
    The inputTrigger port. The type of this port is undeclared, meaning that it will resolve to any data type.


    numberOfOutputs

    Parameter numberOfOutputs
    The number of output actors to write to. This parameter contains an IntToken, initially with value 1. The value must be greater than zero.


    outputKey

    TypedIOPort outputKey
    The output port. The type of this port is unspecified. Derived classes may set it.


    outputValue

    TypedIOPort outputValue
    The output port. The type of this port is unspecified. Derived classes may set it.


    _doneReceiving

    boolean _doneReceiving

    _keyBuffers

    java.util.List<E> _keyBuffers

    _readMode

    boolean _readMode

    _valueBuffers

    java.util.List<E> _valueBuffers

    Class ptolemy.actor.ptalon.lib.MapWorker extends TypedAtomicActor implements Serializable

    Serialized Fields

    classNameForMap

    StringParameter classNameForMap
    The qualifed class name for a Java class containing a method with signature:

    public static List<String[]> map(String key, String value)

    Each element of each returned list should be a length two array of Strings.


    inputKey

    TypedIOPort inputKey
    A String input key.


    inputValue

    TypedIOPort inputValue
    A String input value.


    outputKey

    TypedIOPort outputKey
    A String output key. For each pair of inputKey, inputValue tokens read in, a possibly empty list of outputKey, outputValue pairs will be outputs.


    outputValue

    TypedIOPort outputValue
    A String output value. For each pair of inputKey, inputValue tokens read in, a possibly empty list of outputKey, outputValue pairs will be outputs.


    _algorithm

    MapReduceAlgorithm _algorithm

    Class ptolemy.actor.ptalon.lib.ReduceWorker extends TypedAtomicActor implements Serializable

    Serialized Fields

    classNameForReduce

    StringParameter classNameForReduce
    The qualifed class name for a Java class containing a method with signature:

    public static List<String[]> map(String key, String value)

    Each element of each returned list should be a length two array of Strings.


    doneReading

    TypedIOPort doneReading
    A boolean input. When this input is true, the actor is done reading values, and it may output tokens for each key it recieved.


    inputKey

    TypedIOPort inputKey
    A String input key.


    inputValue

    TypedIOPort inputValue
    A String input value.


    outputKey

    TypedIOPort outputKey
    A String output key.


    outputValue

    TypedIOPort outputValue
    A String output value.


    _doneReading

    boolean _doneReading

    _readMode

    boolean _readMode

    _reduceClass

    java.lang.Class<T> _reduceClass

    _runningAlgorithms

    java.util.Map<K,V> _runningAlgorithms
    Each key is a distinct key for a reduce call, and each value is a MapReduceAlgorithm to reduce a set of values.

    Class ptolemy.actor.ptalon.lib.SplitReader extends Source implements Serializable

    Serialized Fields

    blockSize

    Parameter blockSize
    This number of lines to output to each port when this actor is fired.


    endOfFile

    TypedIOPort endOfFile
    An output port that produces false until the end of file is reached, at which point it produces true. The type is boolean.


    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    numberOfLinesToSkip

    Parameter numberOfLinesToSkip
    The number of lines to skip at the beginning of the file or URL. This parameter contains an IntToken, initially with value 0. The value of this parameter must be non-negative.


    numberOfOutputs

    Parameter numberOfOutputs
    The number of output actors to write to. This parameter contains an IntToken, initially with value 1. The value must be greater than zero.


    _currentLines

    java.lang.String[][] _currentLines
    Cache of most recently read data.


    _reader

    java.io.BufferedReader _reader
    The current reader for the input file.


    _firedSinceWrapup

    boolean _firedSinceWrapup
    Indicator that the fire() method has been called, but wrapup has not. That is, we are in the middle of a run.


    _previousFileOrURL

    java.lang.String _previousFileOrURL
    Previous value of fileOrURL parameter.


    _reachedEOF

    boolean _reachedEOF
    Indicator that we have reached the end of file.

    Class ptolemy.actor.ptalon.lib.StringToKeyValue extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    key

    TypedIOPort key
    The key output port.


    value

    TypedIOPort value
    The value output port.


    Package ptolemy.actor.sched

    Class ptolemy.actor.sched.FixedPointDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    iterations

    Parameter iterations
    The number of times that postfire may be called before it returns false. The type must be int, and the value defaults to zero. If the value is less than or equal to zero, then the execution will never return false in postfire, and thus the execution can continue forever.


    synchronizeToRealTime

    Parameter synchronizeToRealTime
    Specify whether the execution should synchronize to the real time. This parameter has type boolean and defaults to false. If set to true, then this director stalls in the prefire() method until the elapsed real real time matches the current time. If the period parameter has value 0.0 (the default), then changing this parameter to true has no effect. Note that in this base class, there is no period parameter and time is never advanced, so this will have no effect. It has effect in derived classes.


    _index

    int _index
    The current index of the model.


    _receivers

    java.util.List<E> _receivers
    List of all receivers this director has created.


    _actorsAllowedToFire

    java.util.Set<E> _actorsAllowedToFire
    The set of actors that have returned true in their prefire() methods in the current iteration. This is used only to check monotonicity constraints.


    _actorsFinishedFiring

    java.util.Set<E> _actorsFinishedFiring
    The set of actors that have been fired in this iteration with all inputs known.


    _actorsFired

    java.util.Set<E> _actorsFired
    Actors that were fired in the most recent invocation of the fire() method.


    _cachedAllInputsKnown

    java.util.Set<E> _cachedAllInputsKnown
    The set of actors that have all inputs known in the given iteration.


    _cachedFunctionalProperty

    boolean _cachedFunctionalProperty
    The cache of the functional property of the container of this director.


    _currentNumberOfKnownReceivers

    int _currentNumberOfKnownReceivers
    The current number of receivers with known state.


    _currentIteration

    int _currentIteration
    The count of iterations executed.


    _lastNumberOfKnownReceivers

    int _lastNumberOfKnownReceivers
    The number of receivers with known state on the last phase of actor firings.


    _realStartTime

    long _realStartTime
    The real time at which the model begins executing.

    Class ptolemy.actor.sched.FixedPointScheduler extends Scheduler implements Serializable

    Class ptolemy.actor.sched.NotSchedulableException extends InvalidStateException implements Serializable

    Class ptolemy.actor.sched.Scheduler extends Attribute implements Serializable

    Serialized Fields

    _valid

    boolean _valid

    _cachedGetSchedule

    Schedule _cachedGetSchedule

    Class ptolemy.actor.sched.StaticSchedulingDirector extends Director implements Serializable

    Serialized Fields

    _postfireReturns

    boolean _postfireReturns
    The value that the postfire method will return.


    _scheduler

    Scheduler _scheduler
    The scheduler.


    Package ptolemy.actor.util

    Class ptolemy.actor.util.DependencyDeclaration extends Attribute implements Serializable

    Serialized Fields

    _dependents

    java.util.List<E> _dependents

    Package ptolemy.backtrack.automatic.ptolemy.actor.lib

    Class ptolemy.backtrack.automatic.ptolemy.actor.lib.Accumulator extends Transformer implements Serializable

    Serialized Fields

    lowerBound

    Parameter lowerBound
    The lower bound. If this is set, then its type must be the same as that of the init parameter, and the output will be constrained to never drop below the lower bound. By default, this is not set, so there is no lower bound.


    init

    Parameter init
    The value produced by the actor on its first iteration. The default value of this parameter is the integer 0.


    reset

    TypedIOPort reset
    If this port receives a True token on any channel, then the accumulator state will be reset to the initial value. This is a multiport and has type boolean.


    upperBound

    Parameter upperBound
    The upper bound. If this is set, then its type must be the same as that of the init parameter, and the output will be constrained to never rise above the upper bound. By default, this is not set, so there is no upper bound.


    _sum

    Token _sum
    The running sum.


    _latestSum

    Token _latestSum
    The latest sum, prior to a state commit.

    Class ptolemy.backtrack.automatic.ptolemy.actor.lib.ArrayPeakSearch extends TypedAtomicActor implements Serializable

    Serialized Fields

    dip