Serialized Form


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 ptolemy.copernicus.gui

Class ptolemy.copernicus.gui.GeneratorTableau extends Tableau implements Serializable

Class ptolemy.copernicus.gui.GeneratorTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.copernicus.gui.GeneratorTableau.GeneratorFrame extends PtolemyFrame implements Serializable

Class ptolemy.copernicus.gui.GeneratorTableauAttribute extends GeneratorAttribute implements Serializable


Package ptolemy.copernicus.kernel

Class ptolemy.copernicus.kernel.GeneratorAttribute extends SingletonAttribute implements Serializable

Serialized Fields

initialParametersURL

StringParameter initialParametersURL
MoML file that contains other parameters. The default value is the string "ptolemy/copernicus/kernel/Generator.xml".


_initialized

boolean _initialized


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.

 


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

_layoutTarget

LayoutTarget _layoutTarget
The layout target that this layout will be performed on.


_graph

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


_nameMap

java.util.HashMap _nameMap
Mapping from layout name to layout object.


_configMap

java.util.HashMap _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

diva.gui.toolbox.JPanner.ScrollListener _listener
The scrolling listener;


_scaleMouseListener

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


_p

java.awt.Point _p

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 _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 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

_channels

int _channels

_haveASample

boolean _haveASample

_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

_curElement

int _curElement

_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.LiveSoundActor extends TypedAtomicActor implements Serializable

Serialized Fields

sampleRate

Parameter sampleRate
The desired sample rate to use, in Hz. The default value is an IntToken equal to 8000.

An exception will be occur if this parameter is set to an unsupported sample rate.


bitsPerSample

Parameter bitsPerSample
The number desired number of bits per sample. The default value is an IntToken equal to 16.

An exception will occur if this parameter is set to an unsupported bit resolution.


channels

Parameter channels
The number of audio channels to use. The default value is an IntToken equal to 1.

An exception will occur if this parameter is set to an an unsupported channel number.


transferSize

Parameter transferSize
The number of samples that will be transferred to the audio driver together. The default is 128.


_channels

int _channels

_transferSize

int _transferSize

_isExecuting

boolean _isExecuting


Package ptolemy.actor.lib

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

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

Serialized Fields

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.


_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.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.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

Parameter 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.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.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

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


_control

boolean _control

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 BooleanToken.


input

TypedIOPort input
The input port. The type can be anything.


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 _methodTable

_instance

java.lang.Object _instance

_class

java.lang.Class _class

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

Serialized Fields

numberOfCycles

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


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

Parameter period
The period of the output waveform. This parameter must contain a DoubleToken, and it 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

output_tokenProductionRate

Parameter output_tokenProductionRate
The parameter controlling the output port production rate. This parameter contains an IntToken, initially with a value of 0.


_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.Const extends Source 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

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.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.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

input_tokenConsumptionRate

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


_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 TypedAtomicActor 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 an Expert mode parameter, so it is usually hidden. To edit it, right click on the actor, select 'Configure', then hit the 'Preferences' button and select 'Expert Mode'.

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 an Expert mode parameter, so it is usually hidden. To edit it, right click on the actor, select 'Configure', then hit the 'Preferences' button and select 'Expert Mode'.

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.

The port is an output port of type String.


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.


output

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

The port is an output port of type String.


_inputBufferedWriter

java.io.BufferedWriter _inputBufferedWriter

_errorGobbler

ptolemy.actor.lib.Exec._StreamReaderThread _errorGobbler

_outputGobbler

ptolemy.actor.lib.Exec._StreamReaderThread _outputGobbler

_process

java.lang.Process _process

_stopFireRequested

boolean _stopFireRequested

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

ptolemy.actor.lib.Expression.VariableScope _scope

_tokenMap

java.util.Map _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

Parameter mean
The mean of the random number. This parameter contains a DoubleToken, initially with value 0.


standardDeviation

Parameter standardDeviation
The standard deviation of the random number. This parameter contains a DoubleToken, initially with value 1.


_current

double _current

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

_backward

double[] _backward

_backwardCache

double[] _backwardCache

_forward

double[] _forward

_forwardCache

double[] _forwardCache

_reflectionCoefficients

double[] _reflectionCoefficients

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.Limiter extends Transformer implements Serializable

Serialized Fields

bottom

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


top

Parameter top
The top of the limiting range. This is a double 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
The function to compute. This is a string-valued attribute that defaults to "exp".


firstOperand

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


secondOperand

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


output

TypedIOPort output
Output port The port has type BaseType.DOUBLE


_resultArray

DoubleToken[] _resultArray

_function

int _function

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.

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.


trainingMode

Parameter 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.


_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 _trainingTokens
List to store tokens for training mode.

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

Serialized Fields

inputA

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


inputB

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


output

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


recordedToken

ScalarToken recordedToken
The recorded token.


nextPort

TypedIOPort nextPort
The port from which to read next.


tentativeRecordedToken

ScalarToken tentativeRecordedToken
The tentative recorded token.


tentativeNextPort

TypedIOPort tentativeNextPort
The tentative port from which to read next.

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 TimedSource 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.


values

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

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. 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

seed

Parameter seed
The seed that controls the random number generation. 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. This parameter contains a LongToken, initially with value 0.


_random

java.util.Random _random

Class ptolemy.actor.lib.Reader 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
Refresh between each readings. Default is false.


_reader

java.io.BufferedReader _reader

_source

java.lang.String _source

_data

double[] _data

_dataSize

int _dataSize

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.

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 _records

_latest

Token[] _latest

_timeRecord

java.util.List _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

_reflectionCoefs

double[] _reflectionCoefs

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.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.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.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 _pending

_sequenceNumberOfInput

int _sequenceNumberOfInput

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

Serialized Fields

firingCountLimit

Parameter firingCountLimit
If greater than zero, 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.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

input

TypedIOPort input
The input port.


variableName

StringAttribute variableName
The name of the variable in the container to set.

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

Parameter sleepTime
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.


_wasSleepCalledInFireYet

boolean _wasSleepCalledInFireYet

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

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.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.TimedSource extends Source implements Serializable

Serialized Fields

stopTime

Parameter stopTime
If greater than zero, then this parameter gives the time at which postfire() should return false.


_executing

boolean _executing

_stopTime

double _stopTime

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.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.Uniform extends RandomSource implements Serializable

Serialized Fields

lowerBound

Parameter lowerBound
The lower bound. This parameter contains a DoubleToken, initially with value 0.0.


upperBound

Parameter upperBound
The upper bound. This parameter contains a DoubleToken, initially with value 0.0.


_current

double _current

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

_source

java.lang.String _source

_refreshFlag

boolean _refreshFlag

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

Serialized Fields

periodControl

TypedIOPort periodControl
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

_wasSleepCalledInFireYet

boolean _wasSleepCalledInFireYet

_sleepTime

long _sleepTime

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

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.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.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

_inputRate

Parameter _inputRate

_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.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.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.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.


_myFrame

ptolemy.actor.lib.gui.ArrowKeySensor.MyFrame _myFrame
The JFrame


_upKeyPressed

boolean _upKeyPressed
The flags indicating which keys have been pressed or released 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.


_leftKeyPressed

boolean _leftKeyPressed

_rightKeyPressed

boolean _rightKeyPressed

_downKeyPressed

boolean _downKeyPressed

_upKeyReleased

boolean _upKeyReleased

_leftKeyReleased

boolean _leftKeyReleased

_rightKeyReleased

boolean _rightKeyReleased

_downKeyReleased

boolean _downKeyReleased

Class ptolemy.actor.lib.gui.BarGraph extends ArrayPlotter implements Serializable

Class ptolemy.actor.lib.gui.Display extends Sink implements Serializable

Serialized Fields

columnsDisplayed

Parameter columnsDisplayed
The horizontal size of the display, in columns. This contains an integer, and defaults to 40.


rowsDisplayed

Parameter rowsDisplayed
The vertical size of the display, in rows. This contains an integer, and defaults to 10.


title

StringAttribute title
The title to put on top.


_container

java.awt.Container _container

_frame

TextEditor _frame

_previousNumColumns

int _previousNumColumns

_previousNumRows

int _previousNumRows

_scrollPane

javax.swing.JScrollPane _scrollPane

_windowProperties

WindowPropertiesAttribute _windowProperties

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.


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 _outputValues
The list of strings to send to the output.


_returnFalseInPostfire

boolean _returnFalseInPostfire
Flag indicating that "exit" or "quit" has been entered.


_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 Sink implements Serializable

Serialized Fields

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.


_frame

ptolemy.actor.lib.gui.MatrixViewer.DisplayWindow _frame
The frame, if one is used.


_pane

MatrixPane _pane
Pane with the matrix display.


_paneSize

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


_tableau

TokenTableau _tableau
The tableau with the display, if any.


_width

int _width
Width of the matrix viewer in pixels.


_windowProperties

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


_height

int _height
Height 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

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().


_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 _configureBases

_configureSources

java.util.List _configureSources

_configureTexts

java.util.List _configureTexts

_configureSource

java.lang.String _configureSource

Class ptolemy.actor.lib.gui.PlotterBase.PlotterPlotFrame extends PlotTableauFrame implements Serializable

Class ptolemy.actor.lib.gui.PlotterBase.PlotWindowTableau extends PlotTableau implements Serializable

Serialized Fields

frame

PlotterBase.PlotterPlotFrame 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.

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

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.


slider

javax.swing.JSlider slider
The slider that controls the output of this actor.


title

StringAttribute title
The title to put on top.


_panel

javax.swing.JPanel _panel

_container

java.awt.Container _container

_val

int _val

_outputVal

IntToken _outputVal

_frame

javax.swing.JFrame _frame

Class ptolemy.actor.lib.gui.TimedPlotter extends Plotter implements Serializable

Serialized Fields

input

TypedIOPort input
Input port, which has type DoubleToken.

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.io

Class ptolemy.actor.lib.io.DirectoryListing extends Source implements Serializable

Serialized Fields

directoryOrURL

FileParameter directoryOrURL
The directory name or URL from which to read. This is a string with any form accepted by FileParameter.

See Also:
FileParameter

directoryOrURLPort

TypedIOPort directoryOrURLPort
An input port for optionally providing a directory name. This has type string.


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.


_data

java.lang.String[] _data

_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 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

fileOrURLPort

TypedIOPort fileOrURLPort
An input port for optionally providing a file name. This has type string.

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

FileParameter fileName
The file name to which to write. This is a string with any form accepted by FileParameter. The default value is "System.out".

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.


_writer

java.io.PrintWriter _writer
The current writer.


_previousFileName

java.lang.String _previousFileName
Previous value of fileName parameter.


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

_negate

boolean _negate


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 _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 "claudius"


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"

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.


_initializeKeyStoreNeeded

boolean _initializeKeyStoreNeeded

_url

java.net.URL _url

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 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.


replaceAll

Parameter replaceAll
When the boolean value is true, replace all instances that match the pattern, and when false, replace the first instance.


replacement

PortParameter replacement
The replacement string that replaces any matched instance of the pattern. It is an empty string by default.


_pattern

java.util.regex.Pattern _pattern

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.xslt

Class ptolemy.actor.lib.xslt.XSLTransformer extends Transformer 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

_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.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.PortParameter extends Parameter implements Serializable

Serialized Fields

_port

ParameterPort _port
The associated port.


_settingName

boolean _settingName


Package ptolemy.domains.ct.kernel

Class ptolemy.domains.ct.kernel.CTBaseIntegrator extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This is a single port of type double.


output

TypedIOPort output
The output port. This is a single port of type double.


initialState

Parameter initialState
The initial state of type DoubleToken. The default value is 0.0


_history

CTBaseIntegrator.History _history
The history states and their derivative. This variable is needed by Linear Multistep (LMS) methods, like Trapezoidal rule and backward differential formula. This variable is protected so that derived classes may access it directly.


_successful

boolean _successful

_auxVariables

double[] _auxVariables

_state

double _state

_derivative

double _derivative

_tentativeState

double _tentativeState

_tentativeDerivative

double _tentativeDerivative

_storedState

double _storedState

Class ptolemy.domains.ct.kernel.CTCompositeActor extends TypedCompositeActor implements Serializable

Class ptolemy.domains.ct.kernel.CTDirector extends StaticSchedulingDirector implements Serializable

Serialized Fields

errorTolerance

Parameter errorTolerance
ODE solving error tolerance, only effective in variable step size methods. The default value is 1e-4, of type DoubleToken.


initStepSize

Parameter initStepSize
User's hint for the initial integration step size. The default value is 0.1, of type DoubleToken.


maxIterations

Parameter maxIterations
The maximum number of iterations in looking for a fixed-point. The default value is 20, of type IntToken.


maxStepSize

Parameter maxStepSize
User's guide for the maximum integration step size. The default value is 1.0, of type DoubleToken.


minStepSize

Parameter minStepSize
User's guide for the minimum integration step size. The default value is 1e-5, of type DoubleToken.


startTime

Parameter startTime
Starting time of the simulation. The default value is 0.0, of type DoubleToken.


stopTime

Parameter stopTime
Stop time of the simulation. The default value is Double.MAX_VALUE, of type DoubleToken.


synchronizeToRealTime

Parameter synchronizeToRealTime
Indicate whether the execution will synchronize to real time. The default value is false.


timeResolution

Parameter timeResolution
The resolution in comparing time. The default value is 1e-10, of type DoubleToken.


valueResolution

Parameter valueResolution
Value resolution in looking for a fixed-point. The default value is 1e-6, of type DoubleToken.


_postfireReturns

boolean _postfireReturns
This flag will be set to false if any actor returns false to postfire() during the fire() phase of the director.


_refireActors

java.util.LinkedList _refireActors
A list of actors that requested to refire at the current time.


_currentSolver

ODESolver _currentSolver

_prefiredActors

java.util.Set _prefiredActors
Collection of actors that have been prefired().


_startTime

double _startTime

_stopTime

double _stopTime

_initStepSize

double _initStepSize

_minStepSize

double _minStepSize

_maxStepSize

double _maxStepSize

_maxIterations

int _maxIterations

_errorTolerance

double _errorTolerance

_valueResolution

double _valueResolution

_timeBase

long _timeBase

_breakpointIteration

boolean _breakpointIteration

_currentStepSize

double _currentStepSize

_suggestedNextStepSize

double _suggestedNextStepSize

_breakPoints

TotallyOrderedSet _breakPoints

_iterationBeginTime

double _iterationBeginTime

_discretePhase

boolean _discretePhase

Class ptolemy.domains.ct.kernel.CTEmbeddedDirector extends CTMultiSolverDirector implements Serializable

Serialized Fields

_outsideStepSize

double _outsideStepSize

_outputAcceptable

boolean _outputAcceptable

_stateAcceptable

boolean _stateAcceptable

_outsideTime

double _outsideTime

Class ptolemy.domains.ct.kernel.CTMixedSignalDirector extends CTMultiSolverDirector implements Serializable

Serialized Fields

runAheadLength

Parameter runAheadLength
Parameter of the run ahead length. The default value is 1.0.


_Nroll

int _Nroll
The number of rollbacks. Used for statistics.


_hasDiscreteEvents

boolean _hasDiscreteEvents

_secondPrefire

boolean _secondPrefire

_mutationVersion

long _mutationVersion

_isTop

boolean _isTop

_knownGoodTime

double _knownGoodTime

_outsideTime

double _outsideTime

_runAheadLength

double _runAheadLength

_iterationEndTime

double _iterationEndTime

Class ptolemy.domains.ct.kernel.CTMultiSolverDirector extends CTDirector implements Serializable

Serialized Fields

ODESolver

Parameter ODESolver
The name of the normal ODE solver used in nonbreakpoint iterations. The default is a String "ptolemy.domains.ct.kernel.solver.ExplicitRK23Solver"


breakpointODESolver

Parameter breakpointODESolver
The name of the ODE solver that is used in the iterations just after the breakpoint. The default is "ptolemy.domains.ct.kernel.solver.DerivativeResolver"


_solverClassName

java.lang.String _solverClassName
Indicate whether this is the first iteration.


_defaultSolver

ODESolver _defaultSolver

_breakpointSolverClassName

java.lang.String _breakpointSolverClassName

_breakpointSolver

ODESolver _breakpointSolver

Class ptolemy.domains.ct.kernel.CTReceiver.SignalType extends java.lang.Object implements Serializable

Class ptolemy.domains.ct.kernel.CTScheduler extends Scheduler implements Serializable

Serialized Fields

_signalTypeMap

ptolemy.domains.ct.kernel.CTScheduler.SignalTypeMap _signalTypeMap

Class ptolemy.domains.ct.kernel.NumericalNonconvergeException extends InvalidStateException implements Serializable

Class ptolemy.domains.ct.kernel.ODESolver extends NamedObj implements Serializable

Serialized Fields

_container

Director _container

_round

int _round


Package ptolemy.domains.ct.kernel.solver

Class ptolemy.domains.ct.kernel.solver.BackwardEulerSolver extends FixedStepSolver implements Serializable

Serialized Fields

_converge

boolean _converge
True if all the votes are true.

Class ptolemy.domains.ct.kernel.solver.DerivativeResolver extends ODESolver implements Serializable

Class ptolemy.domains.ct.kernel.solver.ExplicitRK23Solver extends ODESolver implements Serializable

Class ptolemy.domains.ct.kernel.solver.FixedStepSolver extends ODESolver implements Serializable

Class ptolemy.domains.ct.kernel.solver.ForwardEulerSolver extends FixedStepSolver implements Serializable

Class ptolemy.domains.ct.kernel.solver.ImpulseBESolver extends BackwardEulerSolver implements Serializable

Class ptolemy.domains.ct.kernel.solver.TrapezoidalRuleSolver extends ODESolver implements Serializable

Serialized Fields

_converge

boolean _converge
True if all the votes are true.


Package ptolemy.domains.ct.lib

Class ptolemy.domains.ct.lib.ContinuousClock extends Clock implements Serializable

Serialized Fields

defaultValue

Parameter defaultValue
The default value used after the clock stops. In the triggered continuous clock, which extends this class and has a start trigger, the default value is used as output before the clock starts. This parameter must contain a token, and it defaults to 0.


_tMinus

boolean _tMinus

_tPlus

boolean _tPlus

Class ptolemy.domains.ct.lib.ContinuousTransferFunction extends TypedCompositeActor implements Serializable

Serialized Fields

input

TypedIOPort input
Single input port.


output

TypedIOPort output
Single output port.


numerator

Parameter numerator
The coefficients of the numerator, containing an array of DoubleTokens. The default value is {1.0}.


denominator

Parameter denominator
The coefficients of the denominator, containing an array of DoubleTokens. The array must have a length greater than or equal to the length of the numerator. The default value is {1.0}.


_opaque

boolean _opaque

Class ptolemy.domains.ct.lib.CTPeriodicSampler extends Transformer implements Serializable

Serialized Fields

samplePeriod

Parameter samplePeriod
The parameter for the sampling period; the type is double; the default value is 1.0.


_samplePeriod

double _samplePeriod

_hasCurrentEvent

boolean _hasCurrentEvent

_nextSamplingTime

double _nextSamplingTime

Class ptolemy.domains.ct.lib.CTRateLimiter extends Transformer implements Serializable

Serialized Fields

risingSlewRate

Parameter risingSlewRate
The rising slew rate. The parameter has type double and default value 1.0.


fallingSlewRate

Parameter fallingSlewRate
The rising slew rate. The parameter has type double and default value -1.0.


_lastTime

double _lastTime

_lastToken

Token _lastToken

_newToken

Token _newToken

Class ptolemy.domains.ct.lib.CTTriggeredSampler extends Transformer implements Serializable

Serialized Fields

trigger

TypedIOPort trigger
The input port for triggering. The port has a generic type. Only the presents of a token matters.

Class ptolemy.domains.ct.lib.DifferentialSystem extends TypedCompositeActor implements Serializable

Serialized Fields

stateVariableNames

Parameter stateVariableNames
The names of the state variables, in an array of strings. The default is an ArrayToken of an empty String.


initialStates

Parameter initialStates
The initial condition for the state variables. This must be a vector (double matrix with only one row) whose default value is empty.


_opaque

boolean _opaque

Class ptolemy.domains.ct.lib.EventSource extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. The type of this port is determined by from the values parameter.


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

Parameter period
The period of the output events. This parameter must contain a DoubleToken, and defaults to 2.0.


values

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

Class ptolemy.domains.ct.lib.FirstOrderHold extends Transformer implements Serializable

Serialized Fields

derivative

TypedIOPort derivative
The input port that takes the derivative. The type is double.


defaultDerivative

Parameter defaultDerivative
Default input derivative before receiving ay inputs. The default is an integer with value 0. The type of the output is set to at least this type.


defaultValue

Parameter defaultValue
Default output before any input has received. The default is an integer with value 0. The type of the output is set to at least this type.


_value

double _value

_derivative

double _derivative

_time

double _time

Class ptolemy.domains.ct.lib.Integrator extends CTBaseIntegrator implements Serializable

Class ptolemy.domains.ct.lib.LevelCrossingDetector extends Transformer implements Serializable

Serialized Fields

trigger

TypedIOPort trigger
The trigger port. Single port with type double.


errorTolerance

Parameter errorTolerance
The parameter of error tolerance of type double. By default, it contains a DoubleToken of 1e-4.


level

Parameter level
The parameter that specifies the level threshold. By default, it contains a DoubleToken of value 0.0. Note, a change of this parameter at run time will not be applied until the next iteration.


defaultEventValue

Parameter defaultEventValue
The parameter that specifies the default output event value if the input port is not connected to any thing. If the input is connected, this value is ignored. By default, it contains a DoubleToken of value 0.0.


useEventValue

Parameter useEventValue
The parameter that indicates whether to use the default event value.


_level

double _level

_errorTolerance

double _errorTolerance

_eventMissed

boolean _eventMissed

_refineStep

double _refineStep

_lastTrigger

double _lastTrigger

_thisTrigger

double _thisTrigger

_enabled

boolean _enabled

_eventNow

boolean _eventNow

_first

boolean _first

_inputToken

Token _inputToken

_levelChanged

boolean _levelChanged

Class ptolemy.domains.ct.lib.LinearStateSpace extends TypedCompositeActor implements Serializable

Serialized Fields

input

TypedIOPort input
Multi-input port.


output

TypedIOPort output
Multi-output port.


stateOutput

TypedIOPort stateOutput
State output multiport.


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 equal to the number of rows of the A matrix. The number of columns must equal to the width of the input port. The default value is [[1.0]].


C

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


D

Parameter D
The D matrix in the state-space representation. The number of columns must equal to the width of the input port. The number of rows must equal to the width of the output port. The default value is [[0.0]].


initialStates

Parameter initialStates
The initial condition for the state variables. This must be a vector (double matrix with only one row) whose length equals to the number of state variables. The default value is [0.0].


_opaque

boolean _opaque

_requestInitialization

boolean _requestInitialization

Class ptolemy.domains.ct.lib.ThresholdMonitor extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port, single port with type double.


output

TypedIOPort output
The output port, single port with type boolean.


thresholdWidth

Parameter thresholdWidth
The parameter for the width of the threshold.


thresholdCenter

Parameter thresholdCenter
The parameter for the center of the threshold.


_thWidth

double _thWidth

_thCenter

double _thCenter

_first

boolean _first

_accurate

boolean _accurate

_upperBound

double _upperBound

_lowerBound

double _lowerBound

_lastInput

double _lastInput

_thisInput

double _thisInput

Class ptolemy.domains.ct.lib.TriggeredContinuousClock extends ContinuousClock 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.domains.ct.lib.ZeroCrossingDetector extends LevelCrossingDetector implements Serializable

Class ptolemy.domains.ct.lib.ZeroOrderHold extends Transformer implements Serializable

Serialized Fields

defaultValue

Parameter defaultValue
Default output before any input has received. The default is an integer with value 0. The type of the output is set to at least this type.


_lastToken

Token _lastToken


Package ptolemy.domains.dt.kernel

Class ptolemy.domains.dt.kernel.DTDirector extends SDFDirector implements Serializable

Serialized Fields

period

Parameter period
The period of the model. This parameter must contain a DoubleToken. Its default value is 1.0 . For homogeneous hierarchical DT (i.e. DT inside DT) , the period of the inside director cannot be set explicitly by the user. Instead, it will have a fixed value: "outsidePeriod / repetitions ", where 'outsidePeriod' is the period of the outside director; and 'repetitions' is the firing count of the composite actor that contains the inside director. For heterogeneous hierarchical DT (i.e. DT inside DE or CT), the period parameter is used to determine how often the fireAt() method is called to request firing from the outside director.


_actorTable

java.util.ArrayList _actorTable

_receiverTable

java.util.ArrayList _receiverTable

_allActorsTable

java.util.Hashtable _allActorsTable

_formerValidTimeFired

double _formerValidTimeFired

_formerTimeFired

double _formerTimeFired

_isFiringAllowed

boolean _isFiringAllowed

_outputPortTable

java.util.ArrayList _outputPortTable

_shouldDoInternalTransferOutputs

boolean _shouldDoInternalTransferOutputs

_inputTokensAvailable

boolean _inputTokensAvailable

_shouldTransferOutputs

java.util.Map _shouldTransferOutputs


Package ptolemy.domains.fsm.kernel

Class ptolemy.domains.fsm.kernel.AbstractActionsAttribute extends Action implements Serializable

Serialized Fields

_numbers

java.util.List _numbers

_destinations

java.util.List _destinations

_destinationNames

java.util.List _destinationNames

_destinationsListVersion

long _destinationsListVersion

_parseTrees

java.util.List _parseTrees

_parseTreeEvaluator

ParseTreeEvaluator _parseTreeEvaluator

_scope

ParserScope _scope

Class ptolemy.domains.fsm.kernel.Action extends StringAttribute implements Serializable

Class ptolemy.domains.fsm.kernel.CommitActionsAttribute extends AbstractActionsAttribute implements Serializable

Class ptolemy.domains.fsm.kernel.FSMActor extends CompositeEntity implements Serializable

Serialized Fields

finalStateNames

StringAttribute finalStateNames
Attribute specifying the names of the final states of this actor. The names are separated by commas. Space characters at the beginning, the end, and around commas are ignored. Space characters within a name are preserved. For example, the value " final, my state 5" designates states "final" and "my state 5" as final.


initialStateName

StringAttribute initialStateName
Attribute specifying the name of the initial state of this actor.


_currentState

State _currentState

_inputTokenMap

java.util.Map _inputTokenMap

_lastChosenTransition

Transition _lastChosenTransition

_stopRequested

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


_connectionMaps

java.util.Map _connectionMaps

_connectionMapsVersion

long _connectionMapsVersion

_currentConnectionMap

java.util.Map _currentConnectionMap

_initialState

State _initialState

_initialStateVersion

long _initialStateVersion

_identifierToPort

java.util.HashMap _identifierToPort

_inputVariableVersion

long _inputVariableVersion

_finalStateNames

java.util.HashSet _finalStateNames

_reachedFinalState

boolean _reachedFinalState

_HDFFSMActor

boolean _HDFFSMActor

_newIteration

boolean _newIteration

_hdfArrays

java.util.Hashtable _hdfArrays

_functionDependency

FunctionDependency _functionDependency

Class ptolemy.domains.fsm.kernel.FSMDirector extends Director implements Serializable

Serialized Fields

controllerName

StringAttribute controllerName
Attribute specifying the name of the mode controller in the container of this director. This director must have a mode controller that has the same container as this director, otherwise an IllegalActionException will be thrown when action methods of this director are called.


_currentLocalReceiverMap

java.util.Map _currentLocalReceiverMap

_enabledRefinements

java.util.List _enabledRefinements

_firstFire

boolean _firstFire

_fireRefinement

boolean _fireRefinement

_localReceiverMaps

java.util.Map _localReceiverMaps

_controller

FSMActor _controller

_controllerVersion

long _controllerVersion

_localReceiverMapsVersion

long _localReceiverMapsVersion

_enabledTransition

Transition _enabledTransition

Class ptolemy.domains.fsm.kernel.HSDirector extends FSMDirector implements Serializable

Serialized Fields

_ctrl

FSMActor _ctrl

_st

State _st

_transitionAccurate

boolean _transitionAccurate

_distanceToBoundary

double _distanceToBoundary

_lastDistanceToBoundary

double _lastDistanceToBoundary

_lastStepSize

double _lastStepSize

_enabledTransition

Transition _enabledTransition

_lastTransitionAccurate

boolean _lastTransitionAccurate

Class ptolemy.domains.fsm.kernel.InterfaceAutomaton extends FSMActor implements Serializable

Serialized Fields

NAME_CONNECTOR

java.lang.String NAME_CONNECTOR
See Also:
Constant Field Values

_inputNames

java.util.Set _inputNames

_outputNames

java.util.Set _outputNames

_internalNames

java.util.Set _internalNames

_illegalStates

java.util.Set _illegalStates

Class ptolemy.domains.fsm.kernel.InterfaceAutomatonTransition extends Transition implements Serializable

Serialized Fields

label

StringAttribute label
The label of this transition. Must ends with "?" or "!" or ";"

Class ptolemy.domains.fsm.kernel.MultipleEnabledTransitionsException extends IllegalActionException implements Serializable

Class ptolemy.domains.fsm.kernel.OutputActionsAttribute extends AbstractActionsAttribute implements Serializable

Class ptolemy.domains.fsm.kernel.RelationList extends Attribute implements Serializable

Serialized Fields

_maximumDifferenceIndex

int _maximumDifferenceIndex

_relationList

java.util.LinkedList _relationList

Class ptolemy.domains.fsm.kernel.State extends ComponentEntity implements Serializable

Serialized Fields

incomingPort

ComponentPort incomingPort
The port linking incoming transitions.


outgoingPort

ComponentPort outgoingPort
The port linking outgoing transitions.


refinementName

StringAttribute refinementName
Attribute specifying one or more names of refinements. The refinements must be instances of TypedActor and have the same container as the FSMActor containing this state, otherwise an exception will be thrown when getRefinement() is called. Usually, the refinement is a single name. However, if a comma-separated list of names is provided, then all the specified refinements will be executed. This attribute has a null expression or a null string as expression when the state is not refined.


_nonpreemptiveTransitionList

java.util.List _nonpreemptiveTransitionList

_preemptiveTransitionList

java.util.List _preemptiveTransitionList

_refinement

TypedActor[] _refinement

_refinementVersion

long _refinementVersion

_transitionListVersion

long _transitionListVersion

Class ptolemy.domains.fsm.kernel.Transition extends ComponentRelation implements Serializable

Serialized Fields

exitAngle

Parameter exitAngle
Attribute the exit angle of a visual rendition. This parameter contains a DoubleToken, initially with value PI/5. It must lie between -PI and PI. Otherwise, it will be truncated to lie within this range.


gamma

Parameter gamma
Attribute giving the orientation of a self-loop. This is equal to the tangent at the midpoint (more or less). This parameter contains a DoubleToken, initially with value 0.0.


guardExpression

StringAttribute guardExpression
Attribute specifying the guard expression.


outputActions

OutputActionsAttribute outputActions
The action commands that produce outputs when the transition is taken.


preemptive

Parameter preemptive
Parameter specifying whether this transition is preemptive.


reset

Parameter reset
Parameter specifying whether the refinement of the destination state is reset when the transition is taken.


setActions

CommitActionsAttribute setActions
The action commands that set parameters when the transition is taken.


triggerExpression

StringAttribute triggerExpression
Attribute specifying the trigger expression.


refinementName

StringAttribute refinementName
Attribute specifying one or more names of refinements. The refinements must be instances of TypedActor and have the same container as the FSMActor containing this state, otherwise an exception will be thrown when getRefinement() is called. Usually, the refinement is a single name. However, if a comma-separated list of names is provided, then all the specified refinements will be executed. This attribute has a null expression or a null string as expression when the state is not refined.


_actionListsVersion

long _actionListsVersion

_choiceActionList

java.util.List _choiceActionList

_commitActionList

java.util.List _commitActionList

_destinationState

State _destinationState

_exeDirectorIsHSDirector

boolean _exeDirectorIsHSDirector

_guardParseTree

ASTPtRootNode _guardParseTree

_preemptive

boolean _preemptive

_sourceState

State _sourceState

_stateVersion

long _stateVersion

_triggerParseTree

ASTPtRootNode _triggerParseTree

_refinement

TypedActor[] _refinement

_refinementVersion

long _refinementVersion

_relationList

RelationList _relationList

_parseTreeEvaluator

ParseTreeEvaluator _parseTreeEvaluator


Package ptolemy.domains.fsm.modal

Class ptolemy.domains.fsm.modal.ModalController extends FSMActor implements Serializable

Serialized Fields

_mirrorDisable

boolean _mirrorDisable
Indicator that we are processing a newPort request.

Class ptolemy.domains.fsm.modal.ModalModel extends CTCompositeActor implements Serializable

Serialized Fields

directorClass

StringAttribute directorClass
A director className string, configured using a ChoiceStyle attribute.


modalDirectorClassNames

java.lang.String[] modalDirectorClassNames
Class names of directors compatible with this ModalModel. Derived classes should override this if they desire additional or different directors.


_controller

FSMActor _controller
The FSM controller.


_directorChanged

boolean _directorChanged

_functionDependency

FunctionDependencyOfModalModel _functionDependency

Class ptolemy.domains.fsm.modal.ModalPort extends TypedIOPort implements Serializable

Class ptolemy.domains.fsm.modal.Refinement extends CTCompositeActor implements Serializable

Serialized Fields

_mirrorDisable

boolean _mirrorDisable
Indicator that we are processing a newPort request.

Class ptolemy.domains.fsm.modal.RefinementPort extends TypedIOPort implements Serializable

Serialized Fields

_mirrorDisable

boolean _mirrorDisable
If false, then changes the port are mirrored in the container's container.

Class ptolemy.domains.fsm.modal.TransitionRefinement extends Refinement implements Serializable

Class ptolemy.domains.fsm.modal.TransitionRefinementPort extends RefinementPort implements Serializable

Serialized Fields

_hasSibling

boolean _hasSibling
Flag indicating if this port has a sibling, should be set for all output ports and their associated input port siblings


Package ptolemy.domains.sdf.kernel

Class ptolemy.domains.sdf.kernel.BaseSDFScheduler extends Scheduler implements Serializable

Class ptolemy.domains.sdf.kernel.SDFDirector extends StaticSchedulingDirector implements Serializable

Serialized Fields

allowDisconnectedGraphs

Parameter allowDisconnectedGraphs
A parameter representing whether disconnected graphs are permitted. A model may have two or more graphs of actors that are not connected. The schedule can jump from one graph to another among the disconnected graphs. There is nothing to force the scheduler to finish executing all actors on one graph before firing actors on another graph. However, the order of execution within an graph should be correct. Usually, disconnected graphs in an SDF model indicates an error. The default value is a BooleanToken with the value false.


allowRateChanges

Parameter allowRateChanges
A parameter representing whether dynamic rate changes are permitted. An SDF model may constructed such that the values of rate parameters are modified during the execution of the system. If this parameter is false, then such models are valid and this class dynamically computes a new schedule at runtime. If this parameter is true, then the SDF domain performs a static check to disallow such models. Note that in order to generate code from an SDF model, this parameter must be set to true. The default value is a BooleanToken with the value true.


iterations

Parameter iterations
A Parameter representing the number of times that postfire may be called before it returns false. 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. Note that the amount of data processed by the SDF model is a function of both this parameter and the value of parameter vectorizationFactor, since vectorizationFactor can influence the choice of schedule. The default value is an IntToken with the value zero.


vectorizationFactor

Parameter vectorizationFactor
A Parameter representing the requested vectorization factor. The director will attempt to construct a schedule where each actor fires vectorizationFactor times more often than it would in a minimal schedule. This can allow actor executions to be grouped together, resulting in faster execution. This is more likely to be possible in graphs without tight feedback. This parameter must be a positive integer. The default value is an IntToken with the value one.


_iterationCount

int _iterationCount

Class ptolemy.domains.sdf.kernel.SDFIOPort extends TypedIOPort implements Serializable

Serialized Fields

tokenConsumptionRate

Parameter tokenConsumptionRate
Deprecated. 
The number of tokens consumed on this port each firing.


tokenInitProduction

Parameter tokenInitProduction
Deprecated. 
The number of tokens produced on this port during initialization.


tokenProductionRate

Parameter tokenProductionRate
Deprecated. 
The number of tokens produced on this port each firing.

Class ptolemy.domains.sdf.kernel.SDFScheduler extends BaseSDFScheduler implements Serializable

Serialized Fields

_firingVector

java.util.Map _firingVector

_firingVectorValid

boolean _firingVectorValid

_minusOne

Fraction _minusOne

_externalRates

java.util.Map _externalRates

_rateVariables

java.util.List _rateVariables


Package ptolemy.domains.sdf.lib

Class ptolemy.domains.sdf.lib.ArrayToSequence extends SDFTransformer implements Serializable

Serialized Fields

arrayLength

Parameter arrayLength
The size of the input array. This is an integer that defaults to 1.


enforceArrayLength

Parameter enforceArrayLength
If true, then enforce the arrayLength parameter by throwing an exception if it is violated. This is a boolean that defaults to true.

Class ptolemy.domains.sdf.lib.Autocorrelation extends SDFTransformer implements Serializable

Serialized Fields

biased

Parameter biased
If true, the estimate will be biased. This is a boolean with default value false.


numberOfInputs

Parameter numberOfInputs
Number of input samples to average. This is an integer with default value 256.


numberOfLags

Parameter numberOfLags
Number of autocorrelation lags to output. This is an integer with default value 64.


symmetricOutput

Parameter symmetricOutput
If true, then the output from each firing will have 2*numberOfLags + 1 samples (an odd number) whose values are symmetric about the midpoint. If false, then the output from each firing will have 2*numberOfLags samples (an even number) by omitting one of the endpoints (the last one). This is a boolean with default value false.


_numberOfInputs

int _numberOfInputs

_numberOfLags

int _numberOfLags

_lengthOfOutput

int _lengthOfOutput

_symmetricOutput

boolean _symmetricOutput

_outputs

Token[] _outputs

Class ptolemy.domains.sdf.lib.BitsToInt extends SDFConverter implements Serializable

Serialized Fields

numberOfBits

Parameter numberOfBits
The number of bits that is converted to the output integer. It should be a positive integer no more than 32.

Class ptolemy.domains.sdf.lib.Chop extends SDFTransformer implements Serializable

Serialized Fields

numberToRead

Parameter numberToRead
The number of input tokens to read. This is an integer, with default 128.


numberToWrite

Parameter numberToWrite
The number of tokens to write to the output. This is an integer, with default 64.


offset

Parameter offset
Start of output block relative to start of input block. This is an integer, with default 0.


usePastInputs

Parameter usePastInputs
If offset is greater than 0, specify whether to use previously read inputs (otherwise use zeros). This is a boolean, with default true.


_highLimit

int _highLimit

_inputIndex

int _inputIndex

_lowLimit

int _lowLimit

_numberToRead

int _numberToRead

_numberToWrite

int _numberToWrite

_offsetValue

int _offsetValue

_buffer

Token[] _buffer

_pastBuffer

Token[] _pastBuffer

_usePast

boolean _usePast

_pastNeedsInitializing

boolean _pastNeedsInitializing

Class ptolemy.domains.sdf.lib.CountTrues extends SDFTransformer implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of input tokens to read before outputting a count. The input is of type integer and has a default value of 1.

Class ptolemy.domains.sdf.lib.DelayLine extends SDFTransformer implements Serializable

Serialized Fields

initialValues

Parameter initialValues
The initial values of the delay line. This parameter must contain an ArrayToken. The default value is an array that contains 4 integer tokens. Changes to this parameter after initialize() has been invoked are ignored until the next execution of the model.


_delayLine

Token[] _delayLine

Class ptolemy.domains.sdf.lib.DotProduct extends TypedAtomicActor implements Serializable

Serialized Fields

input1

TypedIOPort input1
The first input port. This has type ArrayToken. The elements of the ArrayToken must be of type ScalarToken.


input2

TypedIOPort input2
The second input port. This has type ArrayToken. The elements of the ArrayToken must be of type ScalarToken.


output

TypedIOPort output
The output port, which has type ScalarToken.

Class ptolemy.domains.sdf.lib.DoubleToMatrix extends SDFConverter implements Serializable

Serialized Fields

columns

Parameter columns
Deprecated. 
The number of columns. It is of type integer and has a default value of 2. It must be greater than zero.


rows

Parameter rows
Deprecated. 
The number of rows. It is of type integer and has a default value of 2. It must be greater than zero.


_rows

int _rows
Deprecated. 

_columns

int _columns
Deprecated. 

Class ptolemy.domains.sdf.lib.DownSample extends SDFTransformer implements Serializable

Serialized Fields

factor

Parameter factor
The number of input tokens to read per output token produced. This is an integer that defaults to 2 and must be greater than zero.


phase

Parameter phase
The phase of the output with respect to the input. This is an integer that defaults to 0 and must be between 0 and factor-1. If phase = 0, the most recent sample is the output, while if phase = factor-1 the oldest sample is the output.

Class ptolemy.domains.sdf.lib.FFT extends SDFTransformer implements Serializable

Serialized Fields

order

Parameter order
The order of the FFT. The type is IntToken, and the value should be greater than zero. The default value is an IntToken with value 8.


_transformSize

int _transformSize

_orderValue

int _orderValue

_inComplexArray

Complex[] _inComplexArray

_outTokenArray

ComplexToken[] _outTokenArray

Class ptolemy.domains.sdf.lib.FIR extends SDFTransformer implements Serializable

Serialized Fields

decimation

Parameter decimation
The decimation ratio of the filter. This must contain an IntToken, and by default it has value one.


decimationPhase

Parameter decimationPhase
The decimation phase of the filter. This must contain an IntToken, and by default it has value zero.


interpolation

Parameter interpolation
The interpolation ratio of the filter. This must contain an IntToken, and by default it has value one.


taps

Parameter taps
The taps of the filter. This has a type of ArrayToken. By default, it contains an array with a single integer one, meaning that the output of the filter is the same as the input.


_data

Token[] _data
The delay line.


_mostRecent

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


_phaseLength

int _phaseLength
The phaseLength is ceiling(length/interpolation), where length is the number of taps.


_decimationValue

int _decimationValue
Decimation value.


_interpolationValue

int _interpolationValue
Interpolation value.


_decimationPhaseValue

int _decimationPhaseValue
DecimationPhase value.


_reinitializeNeeded

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


_taps

Token[] _taps
Local cache of the tap values.


_zero

Token _zero
Local cache of the zero token.


_outToken

Token _outToken

_tapItem

Token _tapItem

_dataItem

Token _dataItem

Class ptolemy.domains.sdf.lib.IFFT extends SDFTransformer implements Serializable

Serialized Fields

order

Parameter order
The order of the IFFT. The type is IntToken, and the value should be greater than zero. The default value is an IntToken with value 8.


_transformSize

int _transformSize

_orderValue

int _orderValue

_outTokenArray

ComplexToken[] _outTokenArray

_inComplexArray

Complex[] _inComplexArray

Class ptolemy.domains.sdf.lib.IntToBits extends SDFConverter implements Serializable

Serialized Fields

numberOfBits

Parameter numberOfBits
The number of Boolean tokens that the input integer is coverted to.

Class ptolemy.domains.sdf.lib.LineCoder extends SDFTransformer implements Serializable

Serialized Fields

table

Parameter table
The code table. Its value is a token of type ArrayToken. The array provides the symbol values to produce on the output. The number of values in this array must be at least 2wordLength, or an exception will be thrown. The number of tokens consumed by this actor when it fires is log2(tableSize), where tableSize is the length of the table. If all of these values are false, then the first array entry is produced as an output. If only the first one is true, then then second array value is produced. In general, the N inputs consumed are taken to be a binary digit that indexes the array, where the first input is taken to be the low-order bit of the array. The default code table has two entries, -1.0 and 1.0, so that input false values are mapped to -1.0, and input true values are mapped to +1.0.


wordLength

Parameter wordLength
The word length is the number of boolean inputs that are consumed to construct an index into the table. Its value is an IntToken, with default value one.


_wordLength

int _wordLength

_table

Token[] _table

Class ptolemy.domains.sdf.lib.LMSAdaptive extends FIR implements Serializable

Serialized Fields

error

TypedIOPort error
The error input port. The type of this port must match that of the input port.


errorDelay

Parameter errorDelay
The number of samples of delay in the feedback loop that brings the error back. This has a type integer, and defaults to 1.


initialTaps

Parameter initialTaps
The initial taps of the filter. This has a type of ArrayToken. By default, it contains the array {1.0, 0.0, 0.0, 0.0}, meaning that the output of the filter is initially the same as the input, and that the adaptive filter has four taps.


stepSize

Parameter stepSize
The adaptation step size. This must have a type that can be multiplied by the input. It defaults to 0.01, a double.


tapValues

TypedIOPort tapValues
The output of tap values. This has the same type as the initialTaps.

Class ptolemy.domains.sdf.lib.MatrixToDouble extends SDFConverter implements Serializable

Serialized Fields

columns

Parameter columns
Deprecated. 
The number of columns. It is of type integer and has a default value of 2. It must be greater than zero. This information is only used if the actor is under the control of an SDFDirector.


rows

Parameter rows
Deprecated. 
The number of rows. It is of type integer and has a default value of 2. It must be greater than zero. This information is only used if the actor is under the control of an SDFDirector.


_rows

int _rows
Deprecated. 

_columns

int _columns
Deprecated. 

Class ptolemy.domains.sdf.lib.MatrixToSequence extends SDFTransformer implements Serializable

Serialized Fields

rows

Parameter rows
The number of rows in the input. This is an integer that defaults to 1.


columns

Parameter columns
The number of columns in the input. This is an integer that defaults to 1.


enforceMatrixSize

Parameter enforceMatrixSize
If true, then enforce the rows and columns parameters by throwing an exception if it is violated. This is a boolean that defaults to true.

Class ptolemy.domains.sdf.lib.RaisedCosine extends FIR implements Serializable

Serialized Fields

excessBW

Parameter excessBW
The excess bandwidth. This contains a DoubleToken, and by default it has value 1.0.


length

Parameter length
The length of the pulse. This contains an IntToken, and by default it has value 64.


root

Parameter root
If true, use the square root of the raised cosine instead of the raised cosine. This contains a BooleanToken, and by default it has value false.


symbolInterval

Parameter symbolInterval
The symbol interval, which is the number of samples to the first zero crossing on each side of the main lobe. Its value is an IntToken, and by default it has value 16.

Class ptolemy.domains.sdf.lib.Repeat extends SDFTransformer implements Serializable

Serialized Fields

numberOfTimes

Parameter numberOfTimes
The repetition factor. It is of type integer and has a default value of 2. It must be greater than zero.


blockSize

Parameter blockSize
The number of tokens in a block. It is of type integer and has a default value of 1. It must be greater than zero.

Class ptolemy.domains.sdf.lib.SampleDelay extends SDFTransformer implements Serializable

Serialized Fields

initialOutputs

Parameter initialOutputs
The values that will be produced in the initialize method. This parameter must contain an ArrayToken. It defaults to contain a single zero-valued integer token. Changes to this parameter after initialize() has been invoked are ignored until the next execution of the model.


_outputsArray

ArrayToken _outputsArray

Class ptolemy.domains.sdf.lib.SDFConverter extends SDFTransformer implements Serializable

Class ptolemy.domains.sdf.lib.SDFTransformer 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.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The rate parameter for the input port.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input.


output_tokenProductionRate

Parameter output_tokenProductionRate
The rate parameter for the output port.


output_tokenInitProduction

Parameter output_tokenInitProduction
The rate parameter for the output port that declares the initial production.

Class ptolemy.domains.sdf.lib.SequenceToArray extends SDFTransformer implements Serializable

Serialized Fields

arrayLength

PortParameter arrayLength
The size of the output array. This is an integer that defaults to 1.

Class ptolemy.domains.sdf.lib.SequenceToMatrix extends SDFTransformer implements Serializable

Serialized Fields

rows

Parameter rows
The number of rows in the output. This is an integer that defaults to 1.


columns

Parameter columns
The number of columns in the output. This is an integer that defaults to 1.

Class ptolemy.domains.sdf.lib.UpSample extends SDFTransformer implements Serializable

Serialized Fields

factor

Parameter factor
The number of output tokens to produced per input token read. This is an integer that defaults to 2 and must be greater than zero.


phase

Parameter phase
The phase of the output with respect to the input. This is an integer that defaults to factor-1 and must be between 0 and factor-1. If phase = 0, the input is the first output, while if phase = factor-1 then the input is the last output.

Class ptolemy.domains.sdf.lib.VariableFIR extends FIR implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of inputs that use each each coefficient set is the value of this parameter multiplied by the value of the decimation parameter. This is an integer that defaults to 1.


newTaps

TypedIOPort newTaps
The input for new tap values. This is an array.

Class ptolemy.domains.sdf.lib.VariableLattice extends Lattice implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of inputs that use each each coefficient set. This is an integer that defaults to 1.


newCoefficients

TypedIOPort newCoefficients
The input for new coefficient values. This is an array of doubles.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter that gives the number of tokens consumed by the input port. This is set equal to blockSize.


output_tokenProductionRate

Parameter output_tokenProductionRate
The parameter that gives the number of tokens produces by the output port. This is set equal to blockSize.


_blockSizeValue

int _blockSizeValue

Class ptolemy.domains.sdf.lib.VariableRecursiveLattice extends RecursiveLattice implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of inputs that use each each coefficient set. This is an integer that defaults to 1.


newCoefficients

TypedIOPort newCoefficients
The input for new coefficient values. The type is an array of doubles.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The number of tokens consumed from the input port.


output_tokenProductionRate

Parameter output_tokenProductionRate
The number of tokens produced from the output port.


_blockSizeValue

int _blockSizeValue


Package ptolemy.domains.sdf.lib.vq

Class ptolemy.domains.sdf.lib.vq.HTVQEncode extends Transformer implements Serializable

Serialized Fields

codeBook

Parameter codeBook
A Parameter of type String, giving the location of the codebook data file relative to the root classpath.


blockCount

Parameter blockCount
The number of blocks to be encoded during each firing. The default value is one, which will always work, but using a higher number (such as the number of blocks in a frame) will speed things up.


blockWidth

Parameter blockWidth
The width, in pixels, of the block to encode.


blockHeight

Parameter blockHeight
The width, in pixels, of the block to encode.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The input rate


output_tokenProductionRate

Parameter output_tokenProductionRate
The output rate


ipbuf_encodep1

int[][] ipbuf_encodep1

ipbuf_encodep2

int[][] ipbuf_encodep2

_codeBook

int[][][] _codeBook

_lookupTable

int[][] _lookupTable

_codewords

IntToken[] _codewords

_blocks

Token[] _blocks

_blockCount

int _blockCount

_blockWidth

int _blockWidth

_blockHeight

int _blockHeight

Class ptolemy.domains.sdf.lib.vq.ImageContrast extends Transformer implements Serializable

Serialized Fields

colorHistogram

int[] colorHistogram

Class ptolemy.domains.sdf.lib.vq.ImageDisplay extends Sink implements Serializable

Serialized Fields

_picture

Picture _picture

_frame

javax.swing.JFrame _frame

_container

java.awt.Container _container

_oldXSize

int _oldXSize

_oldYSize

int _oldYSize

_RGBbuffer

int[] _RGBbuffer

Class ptolemy.domains.sdf.lib.vq.ImagePartition extends Transformer implements Serializable

Serialized Fields

imageColumns

Parameter imageColumns
The width of the input matrices


imageRows

Parameter imageRows
The height of the input matrices


partitionColumns

Parameter partitionColumns
The width of the input partitions


partitionRows

Parameter partitionRows
The height of the input partitions


output_tokenProductionRate

Parameter output_tokenProductionRate
The output rate


_partitions

IntMatrixToken[] _partitions

_part

int[][] _part

_imageColumns

int _imageColumns

_imageRows

int _imageRows

_partitionColumns

int _partitionColumns

_partitionRows

int _partitionRows

Class ptolemy.domains.sdf.lib.vq.ImageSequence extends Source implements Serializable

Serialized Fields

imageURLTemplate

Parameter imageURLTemplate
The image filename templates.


imageColumns

Parameter imageColumns
The number of columns in each image.


imageRows

Parameter imageRows
The number of rows in each image.


startFrame

Parameter startFrame
The starting frame number.


endFrame

Parameter endFrame
The ending frame number.


_frameCount

int _frameCount

_images

IntMatrixToken[] _images

_frameBytes

byte[] _frameBytes

_frameInts

int[][] _frameInts

_imageURLTemplate

int _imageURLTemplate

_imageColumns

int _imageColumns

_imageRows

int _imageRows

_startFrame

int _startFrame

_endFrame

int _endFrame

_frameNumber

int _frameNumber

Class ptolemy.domains.sdf.lib.vq.ImageUnpartition extends Transformer implements Serializable

Serialized Fields

imageColumns

Parameter imageColumns
The width of the input matrices


imageRows

Parameter imageRows
The height of the input matrices


partitionColumns

Parameter partitionColumns
The width of the input partitions


partitionRows

Parameter partitionRows
The height of the input partitions


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The input rate


_image

int[][] _image

_imageColumns

int _imageColumns

_imageRows

int _imageRows

_partitionColumns

int _partitionColumns

_partitionRows

int _partitionRows

_partitionCount

int _partitionCount

Class ptolemy.domains.sdf.lib.vq.PSNR extends TypedAtomicActor implements Serializable

Serialized Fields

signal

TypedIOPort signal
The input signal.


distortedSignal

TypedIOPort distortedSignal
A distorted version of the input signal.


output

TypedIOPort output
The calculated PSNR between the two inputs.

Class ptolemy.domains.sdf.lib.vq.VQDecode extends Transformer implements Serializable

Serialized Fields

codeBook

Parameter codeBook
A Parameter of type String, giving the location of the codebook data file relative to the root classpath.


blockCount

Parameter blockCount
The number of blocks to be decoded during each firing. The default value is one, which will always work, but using a higher number (such as the number of blocks in a frame) will speed things up. This should contain an integer.


blockWidth

Parameter blockWidth
The width, in integer pixels, of the block to decode.


blockHeight

Parameter blockHeight
The width, in integer pixels, of the block to decode.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The input rate


output_tokenProductionRate

Parameter output_tokenProductionRate
The output rate


_codebook

int[][][][] _codebook

_codewords

Token[] _codewords

_blocks

IntMatrixToken[] _blocks

_blockCount

int _blockCount

_blockWidth

int _blockWidth

_blockHeight

int _blockHeight


Package ptolemy.hsif

Class ptolemy.hsif.HSIFEffigyFactory extends EffigyFactory implements Serializable

Serialized Fields

_inCreateEffigy

boolean _inCreateEffigy


Package ptolemy.util

Class ptolemy.util.CancelException extends java.lang.Exception implements Serializable


Package ptolemy.vergil.fsm.modal

Class ptolemy.vergil.fsm.modal.HierarchicalStateControllerFactory extends NodeControllerFactory implements Serializable

Class ptolemy.vergil.fsm.modal.ModalTableauFactory extends TableauFactory implements Serializable


Package ptolemy.domains.de.kernel

Class ptolemy.domains.de.kernel.DEActor extends TypedAtomicActor implements Serializable

Class ptolemy.domains.de.kernel.DEDirector extends Director implements Serializable

Serialized Fields

startTime

Parameter startTime
The start time of model. This parameter must contain a DoubleToken. The value defaults to 0.0.


stopTime

Parameter stopTime
The stop time of the model. This parameter must contain a DoubleToken. The value defaults to MaxDouble.


stopWhenQueueIsEmpty

Parameter stopWhenQueueIsEmpty
Specify whether the execution stops when the queue is empty. This parameter must contain a BooleanToken. If this parameter is true, the execution of the model will be stopped when the queue is empty. The value defaults to true.


synchronizeToRealTime

Parameter synchronizeToRealTime
Specify whether the execution should synchronize to the real time. This parameter must contain a BooleanToken. If this parameter is true, then do not process events until the elapsed real time matches the time stamp of the events. The value defaults to false.


isCQAdaptive

Parameter isCQAdaptive
Specify whether the calendar queue adjusts its bin number at run time. This parameter must contain a BooleanToken. If this parameter is true, the calendar queue will adapt its bin number with respect to the distribution of events. Changes to this parameter are ignored when the model is running. The value defaults to true.


minBinCount

Parameter minBinCount
The minimum (initial) number of bins in the calendar queue. This parameter must contain an IntToken. Changes to this parameter are ignored when the model is running. The value defaults to 2.


binCountFactor

Parameter binCountFactor
The factor when adjusting the bin number. This parameter must contain an IntToken. Changes to this parameter are ignored when the model is running. The value defaults to 2.


timeResolution

Parameter timeResolution
The resolution in comparing time. The default value is 1e-10, of type DoubleToken.


_eventQueue

DEEventQueue _eventQueue
The queue used for sorting events.


_noMoreActorsToFire

boolean _noMoreActorsToFire
Set to true when it is time to end the execution.


_disabledActors

java.util.Set _disabledActors

_microstep

int _microstep

_exceedStopTime

boolean _exceedStopTime

_realStartTime

long _realStartTime

_stopWhenQueueIsEmpty

boolean _stopWhenQueueIsEmpty

_synchronizeToRealTime

boolean _synchronizeToRealTime

_sortValid

long _sortValid

_actorToDepth

java.util.Hashtable _actorToDepth

Class ptolemy.domains.de.kernel.DEIOPort extends TypedIOPort implements Serializable

Serialized Fields

_delayToSet

java.util.Set _delayToSet

_delay

double _delay

_useDelay

boolean _useDelay

Class ptolemy.domains.de.kernel.DEThreadActor extends DEActor implements Serializable

Serialized Fields

_isWaiting

boolean _isWaiting

_thread

PtolemyThread _thread


Package ptolemy.domains.de.lib

Class ptolemy.domains.de.lib.DETransformer extends DEActor implements Serializable

Serialized Fields

input

DEIOPort 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

DEIOPort output
The output port. By default, the type of this port is constrained to be at least that of the input.

Class ptolemy.domains.de.lib.EventButton extends Source implements Serializable

Serialized Fields

text

StringAttribute text
The text to put on the button.


_button

javax.swing.JButton _button

_buttonPressed

boolean _buttonPressed

_container

java.awt.Container _container

_frame

javax.swing.JFrame _frame

_self

EventButton _self

Class ptolemy.domains.de.lib.EventFilter extends DETransformer implements Serializable

Class ptolemy.domains.de.lib.Inhibit extends DETransformer implements Serializable

Serialized Fields

inhibit

TypedIOPort inhibit
The inhibit port, which has type Token. If this port does not receive a token, then the most recent token from the input port will be emitted on the output port.

Class ptolemy.domains.de.lib.Merge extends DETransformer implements Serializable

Class ptolemy.domains.de.lib.PreemptableTask extends DETransformer implements Serializable

Serialized Fields

interrupt

TypedIOPort interrupt
The interrupt port, which has type BooleanToken. If this input port receives a token with the value true, then the task is "preempted." When this port receives a token with the value false, the task resumes execution.


executionTime

Parameter executionTime
The executionTime parameter indicates the time it takes to execute the task. Note: In a future version of this actor, perhaps we want to use a parameter expression to compute the execution time based on the token value.


_executionTimeValue

double _executionTimeValue

_executing

boolean _executing

_interruptTime

double _interruptTime

_interrupted

boolean _interrupted

_outputTime

double _outputTime

_tokenList

java.util.LinkedList _tokenList

Class ptolemy.domains.de.lib.Previous extends Transformer implements Serializable

Serialized Fields

initialValue

Parameter initialValue
The initial output value. If this is set, it specifies the first output value produced when the first input arrives. If it is not set, then no output is produced on the first firing.


_previous

Token _previous

Class ptolemy.domains.de.lib.Queue extends DETransformer implements Serializable

Serialized Fields

trigger

TypedIOPort trigger
The trigger port, which has undeclared type. If this port receives a token, then the oldest token in the queue will be emitted on the output port.


_queue

FIFOQueue _queue

Class ptolemy.domains.de.lib.QueueWithNextOut extends DETransformer implements Serializable

Serialized Fields

trigger

TypedIOPort trigger
The trigger port, which has undeclared type. If this port receives a token, then the oldest token in the queue will be emitted on the output port.


nextOut

TypedIOPort nextOut
The nextOut port, which has type Token. Gives a preview of the next token that will come out of the queue. Produces an output only when a new token is next up in the queue.


_queue

FIFOQueue _queue

Class ptolemy.domains.de.lib.Sampler extends DETransformer 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.


initialValue

Parameter initialValue
The value that is output when no input has yet been received. The type should be the same as the input port.

See Also:
Sampler.typeConstraintList()

_lastInputs

Token[] _lastInputs

Class ptolemy.domains.de.lib.Server extends DETransformer implements Serializable

Serialized Fields

newServiceTime

DEIOPort newServiceTime
A port to supply new service times. This port has type DoubleToken.


serviceTime

Parameter serviceTime
The service time. This parameter must contain a DoubleToken with a non-negative value, or an exception will be thrown when it is set.


_currentInput

Token _currentInput

_nextTimeFree

double _nextTimeFree

Class ptolemy.domains.de.lib.SingleEvent extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. The type of this port is linked to the type of the value parameter.


time

Parameter time
The time at which to produce the output. This has type double, with default value 0.0. If the value is negative, then no output will be produced.


value

Parameter value
The value produced at the output. This can have any type, and it defaults to a boolean token with value true.

Class ptolemy.domains.de.lib.TimedDelay extends DETransformer implements Serializable

Serialized Fields

delay

Parameter delay
The amount of delay. This parameter must contain a DoubleToken with a non-negative value, or an exception will be thrown when it is set.


_currentInput

Token _currentInput

Class ptolemy.domains.de.lib.TimeGap extends DETransformer implements Serializable

Serialized Fields

_previousTime

double _previousTime

Class ptolemy.domains.de.lib.Timer extends DETransformer implements Serializable

Serialized Fields

value

Parameter value
The value produced at the output. This can have any type, and it defaults to a boolean token with value true.


_currentInput

Token _currentInput

Class ptolemy.domains.de.lib.VariableDelay extends DETransformer implements Serializable

Serialized Fields

delay

PortParameter delay
The amount specifying delay.


_currentInput

Token _currentInput

_delay

double _delay

Class ptolemy.domains.de.lib.WaitingTime extends DEActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output, which is always a DoubleToken representing the that a waiter waited for an input at the waitee input.


waiter

TypedIOPort waiter
An input event here waits for the next event at the waitee input. The type of this port is undeclared, so any input is acceptable.


waitee

TypedIOPort waitee
An input event here triggers an output event for each waiter input that arrived since the last input here. The type of this port is undeclared, so any input is acceptable.


_waiting

java.util.Vector _waiting


Package thales.actor.gui

Class thales.actor.gui.NavigableEffigy extends PtolemyEffigy implements Serializable

Serialized Fields

_navigModel

NavigationTreeModel _navigModel

_lieAtNumberOfOpendTableaux

boolean _lieAtNumberOfOpendTableaux

Class thales.actor.gui.NavigableEffigy.Factory extends EffigyFactory implements Serializable

Serialized Fields

_tagToCheck

java.lang.String _tagToCheck

Class thales.actor.gui.NavigableEffigy.FactoryWithoutNew extends NavigableEffigy.Factory implements Serializable

Class thales.actor.gui.SingleWindowConfiguration extends Configuration implements Serializable

Class thales.actor.gui.SingleWindowHTMLViewer extends HTMLViewer implements Serializable

Serialized Fields

startPanel

javax.swing.JPanel startPanel
Main panel


_viewsTabbedPane

javax.swing.JTabbedPane _viewsTabbedPane

_originalMenuBar

javax.swing.JMenuBar _originalMenuBar

_configuration

Configuration _configuration

Class thales.actor.gui.SingleWindowHTMLViewerTableau extends Tableau implements Serializable

Serialized Fields

url

StringAttribute url
The URL to display.

Class thales.actor.gui.SingleWindowHTMLViewerTableau.Factory extends TableauFactory implements Serializable


Package thales.vergil.navigable

Class thales.vergil.navigable.NavigableActorGraphFrame extends ActorGraphFrame implements Serializable

Serialized Fields

_tabbedPalette

javax.swing.JTabbedPane _tabbedPalette

_upAction

NavigableActorGraphFrame.UpAction _upAction

_controller

ActorEditorGraphController _controller

_lastDelayTime

long _lastDelayTime

_tree

NavigationPTree _tree

Class thales.vergil.navigable.NavigableActorGraphFrame.UpAction extends javax.swing.AbstractAction implements Serializable

Class thales.vergil.navigable.NavigableActorGraphTableau extends Tableau implements Serializable

Class thales.vergil.navigable.NavigableActorGraphTableau.Factory extends TableauFactory implements Serializable

Class thales.vergil.navigable.NavigationPTree extends PTree implements Serializable


Package ptolemy.domains.wireless.kernel

Class ptolemy.domains.wireless.kernel.AtomicWirelessChannel extends TypedAtomicActor implements Serializable

Serialized Fields

defaultProperties

Parameter defaultProperties
The default properties for transmission. In this base class, the type and contents are left undefined. Derived classes will define this to be a record. The fields of the record determine what properties are seen by the receiver. Any fields that are not in this parameter value will be discarded before properties are delivered to the receiver. FIXME: need a mechanism to deal with empty record tokens.


_receiversInRangeCacheValid

boolean _receiversInRangeCacheValid
Flag indicating that the cached list of receivers in range is valid. This gets set to false whenever a location for some object whose location has been obtained by _locationOf() has changed since the last time this cached list was constructed. In addition, subclasses may invalidate this if anything else that affects whether a receiver is in range changes (such as the transmit properties of a port).


_listeningInputPorts

java.util.List _listeningInputPorts

_listeningInputPortsVersion

long _listeningInputPortsVersion

_listeningOutputPorts

java.util.List _listeningOutputPorts

_listeningOutputPortsVersion

long _listeningOutputPortsVersion

_propertyTransformers

java.util.Set _propertyTransformers
The property transformers that have been registered without specifying a port.


_propertyTransformersByPort

java.util.HashMap _propertyTransformersByPort
The property transformers that have been registered to operate on transmissions from a particular port, indexed by port.


_receiversInRangeCache

java.util.HashMap _receiversInRangeCache

_receiversInRangeCacheVersion

java.util.HashMap _receiversInRangeCacheVersion

_sendingInputPorts

java.util.List _sendingInputPorts

_sendingInputPortsVersion

long _sendingInputPortsVersion

_sendingOutputPorts

java.util.List _sendingOutputPorts

_sendingOutputPortsVersion

long _sendingOutputPortsVersion

_channelPort

ChannelPort _channelPort
Dummy port used to reduce the type constraints to 2N rather than N^2. This port is returned by instances of WirelessIOPort when asked for sink ports. Do not send data to this port, however. Instead, use the transmit() method.

Class ptolemy.domains.wireless.kernel.ChannelPort extends WirelessIOPort implements Serializable

Serialized Fields

_sourcePortList

java.util.List _sourcePortList

_sourcePortListVersion

long _sourcePortListVersion

_sinkPortList

java.util.List _sinkPortList

_sinkPortListVersion

long _sinkPortListVersion

Class ptolemy.domains.wireless.kernel.WirelessComposite extends TypedCompositeActor implements Serializable

Class ptolemy.domains.wireless.kernel.WirelessDirector extends DEDirector implements Serializable

Class ptolemy.domains.wireless.kernel.WirelessIOPort extends TypedIOPort implements Serializable

Serialized Fields

insideChannel

StringParameter insideChannel
The name of the inside channel. This is a string that defaults to the empty string, indicating that communication is not wireless.


insideTransmitProperties

Parameter insideTransmitProperties
The transmit properties of this port for inside transmissions. This field may be used by the channel to determine transmission range or other properties of the transmission. By default, this has no value, which indicates to channels to use their default properties, whatever those might be. When its value is set, it is required to be a record type.


outsideChannel

StringParameter outsideChannel
The name of the outside channel. This is a string that defaults to the empty string, indicating that communication is not wireless.


outsideTransmitProperties

Parameter outsideTransmitProperties
The transmit properties of this port for outside transmissions. This field may be used by the channel to determine transmission range or other properties of the transmission. By default, this has no value, which indicates to channels to use their default properties, whatever those might be. When its value is set, it is required to be a record type.


_receivers

Receiver[][] _receivers

_insideReceivers

Receiver[][] _insideReceivers

_insideChannel

WirelessChannel _insideChannel

_insideChannelVersion

long _insideChannelVersion

_outsideChannel

WirelessChannel _outsideChannel

_outsideChannelVersion

long _outsideChannelVersion


Package ptolemy.domains.wireless.lib

Class ptolemy.domains.wireless.lib.CollisionDetector extends TypedAtomicActor implements Serializable

Serialized Fields

message

TypedIOPort message
The input port for the message. This has undeclared type.


power

TypedIOPort power
The input port for power. This has type double, and is typically a power density, in units such as watts per square meter.


duration

TypedIOPort duration
The input port for the time that a message transmission takes. This has type double.


received

TypedIOPort received
The output port that produces messages that are successfully received. This has the same type as the message input.


collided

TypedIOPort collided
The output port that produces messages that cannot be received because of a collision. This has the same type as the message input.


SNRThresholdInDB

Parameter SNRThresholdInDB
The threshold for the signal to be recognized from interference. It is specified in decibels (10 * log10(r), where r is the power ratio. This is a double that defaults to Infinity, which indicates that all overlapping messages are lost to collisions.


powerThreshold

Parameter powerThreshold
The power threshold above which the signal can be detected at the receiver. Any message with a received power below this number is ignored. This has type double and defaults to 0.0, which indicates that all messages (with nonzero power) will be received.


_powerThreshold

double _powerThreshold

_SNRThresholdInDB

double _SNRThresholdInDB

_totalPower

double _totalPower

_receptions

java.util.List _receptions

Class ptolemy.domains.wireless.lib.DelayChannel extends ErasureChannel implements Serializable

Serialized Fields

propagationSpeed

Parameter propagationSpeed
The propagation speed. This determines the delay between transmission and reception. This is a double that defaults to Infinity, which means that there is no delay.


_receptions

java.util.HashMap _receptions

Class ptolemy.domains.wireless.lib.ErasureChannel extends AtomicWirelessChannel implements Serializable

Serialized Fields

lossProbability

Parameter lossProbability
The probability that a call to transmit() will fail to deliver the token to a receiver that is in range. This is a double that defaults to 0.0, which means that no loss occurs.


seed

Parameter seed
The seed that controls the random number generation. 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. This parameter contains a LongToken, initially with value 0.


distance

Variable distance
A variable that is set to the distance between the transmitter and the receiver before the powerLossFactor expression is evaluated.


_random

java.util.Random _random
A random number generator.

Class ptolemy.domains.wireless.lib.GetProperties extends TypedAtomicActor implements Serializable

Serialized Fields

trigger

TypedIOPort trigger
Port that triggers execution.


output

TypedIOPort output
Port that transmits the properties received on the input port.

Class ptolemy.domains.wireless.lib.GraphicalLocator extends Locator implements Serializable

Serialized Fields

outputRange

Parameter outputRange
The output signal range. This is a double that defaults to 100.0. The icon for this sensor node includes a circle with this as its radius.


_circle

EllipseAttribute _circle
Icon indicating the communication region.

Class ptolemy.domains.wireless.lib.LimitedRangeChannel extends DelayChannel implements Serializable

Class ptolemy.domains.wireless.lib.Locator extends TypedAtomicActor implements Serializable

Serialized Fields

input

WirelessIOPort input
Port that receives a trigger input that causes transmission of location and time information on the output port.


inputChannelName

StringParameter inputChannelName
Name of the input channel. This is a string that defaults to "InputChannel".


output

WirelessIOPort output
Port that transmits the current location and the time of the event on the input port. This has type {location={double}, time=double}, a record token.


outputChannelName

StringParameter outputChannelName
Name of the output channel. This is a string that defaults to "OutputChannel".

Class ptolemy.domains.wireless.lib.NodeRandomizer extends TypedAtomicActor implements Serializable

Serialized Fields

randomizeInPreinitialize

Parameter randomizeInPreinitialize
If set to true, randomly distribute nodes in preinitialize(). The default value is false.


range

Parameter range
The range of values for locations to be set when randomizing. This is an array of arrays that defaults to {{0.0, 500.0}, {0.0, 500.0}}, indicating that the X and Y values are uniformly distributed between 0.0 and 500.0.


seed

Parameter seed
The seed that controls the random number generation to use when randomizing. 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. This parameter contains a LongToken, initially with value 0.


trigger

TypedIOPort trigger
A trigger input to cause this actor to fire in domains that require a trigger. This has undeclared type.


_random

java.util.Random _random

Class ptolemy.domains.wireless.lib.PowerLossChannel extends LimitedRangeChannel implements Serializable

Serialized Fields

powerPropagationFactor

Parameter powerPropagationFactor
The default formula for the power loss factor. This value, when multiplied by the transmit power, yields the power density (per unit area) at a receiver. It can be an expression that depends on a variable "distance," which has the value of the distance between a transmitter and receiver when this parameter is evaluated. This is a double that defaults to "1.0 / (distance * distance))".

Class ptolemy.domains.wireless.lib.SetProperties extends TypedAtomicActor implements Serializable

Serialized Fields

payload

TypedIOPort payload
Input port that receives the payload to be transmitted.


output

TypedIOPort output
Output port that output the received payload. This has the same type as the payload port.


properties

TypedIOPort properties
Input port that receives the properties to be used for transmission on the connected wireless output port. The type of this port is a record type.

Class ptolemy.domains.wireless.lib.TerrainProperty extends TypedAtomicActor implements Serializable

Serialized Fields

channelName

StringParameter channelName
The name of the channel. The default name is "TerrainChannel".


xyPoints

Parameter xyPoints
The x/y coordinates of ? (FIXME) The default value is an array of integer pairs: {{0, 0}, {0, 5}, {20, 5}, {20, 0}} FIXME: need more info


_channel

WirelessChannel _channel

_xPoints

int[] _xPoints

_yPoints

int[] _yPoints

_icon

EditorIcon _icon

_terrain

FilledShapeAttribute _terrain

_numberOfPoints

int _numberOfPoints

_number

int _number

_offset

double[] _offset

_channelName

java.lang.String _channelName

Class ptolemy.domains.wireless.lib.TransmitPropertyTransformer extends LifeCycleManager implements Serializable

Serialized Fields

input

TypedIOPort input
Port that receives the data to be transmitted on the output port. The type is unconstrained.


output

TypedIOPort output
Port that sends data to a wireless output. The type is constrained to be the same as the input.


senderLocation

Parameter senderLocation
The location of the sender. This is a double array with default value {0.0, 0.0}.


receiverLocation

Parameter receiverLocation
The location of the receiver. This is a double array with default value {0.0, 0.0}.


properties

Parameter properties
The properties to be transformed. This is a record token with value {power = 0.0, range = 0.0}.


_inputWirelessChannel

WirelessChannel _inputWirelessChannel
The wireless channel for the connected input port found in preinitialize().


_wirelessInputPort

WirelessIOPort _wirelessInputPort
The connected wireless input port found in preinitialize().


_outputWirelessChannel

WirelessChannel _outputWirelessChannel
The wireless channel for the connected output port found in preinitialize().


_wirelessOutputPort

WirelessIOPort _wirelessOutputPort
The connected wireless output port found in preinitialize().

Class ptolemy.domains.wireless.lib.Triangulator extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port for an event detection, which is a record containing the location of a sensor that has detected the event and the time at which the sensor detected the event. This has type {location = {double}, time = double} The location is assumed to have two entries.


output

TypedIOPort output
The output producing the calculated event location. This has type {double}, a double array with two entries.


signalPropagationSpeed

Parameter signalPropagationSpeed
Speed of propagation of the signal to be used for triangulation. This is a double that defaults to 344.0 (the speed of sound in air at room temperature, in meters per second).


timeWindow

Parameter timeWindow
Time window within which observations are assumed to come from the same sound event. This is a double that defaults to 0.5 (in seconds).


_locationsX

double[] _locationsX

_locationsY

double[] _locationsY

_times

double[] _times

Class ptolemy.domains.wireless.lib.WiredToWireless extends TypedAtomicActor implements Serializable

Serialized Fields

payload

TypedIOPort payload
Input port that receives the payload to be transmitted on the output port.


output

WirelessIOPort output
Port that sends a wireless output. This has the same type as the payload port.


outputChannelName

StringParameter outputChannelName
Name of the output channel. This is a string that defaults to "AtomicWirelessChannel".


properties

TypedIOPort properties
input port that receives the properties to be used for transmission on the output port. The type of this port is a record type.

Class ptolemy.domains.wireless.lib.WirelessToWired extends TypedAtomicActor implements Serializable

Serialized Fields

payload

TypedIOPort payload
Output port that transmits the payload received on the input port. This has the same type as the input port.


input

WirelessIOPort input
Input port that receives a wireless input.


inputChannelName

StringParameter inputChannelName
Name of the input channel. This is a string that defaults to "AtomicWirelessChannel".


properties

TypedIOPort properties
Output port that transmits the properties received on the input port. The type of this port is a record type.


Package jni

Class jni.Argument extends AbstractSettableAttribute implements Serializable

Serialized Fields

_isInput

boolean _isInput
A boolean that specified if the argument is an Input


_isOutput

boolean _isOutput
A boolean that specified if the argument is an Output


_isReturn

boolean _isReturn
A boolean that specified if the argument is a return


_cType

java.lang.String _cType
A String that specified the argument type, in C language.


_value

java.lang.String _value
A String that is the argument value, ie its expression


_container

GenericJNIActor _container
The entity that contains this entity.

Class jni.ArgumentConfigurer extends Query implements Serializable

Serialized Fields

_changed

java.util.Set _changed

_object

GenericJNIActor _object

_optionsArray

java.lang.String[] _optionsArray

Class jni.ArgumentConfigurerDialog extends ComponentDialog implements Serializable

Serialized Fields

_configuration

Configuration _configuration
The configuration.


_owner

java.awt.Frame _owner
The owner window.


_query

Query _query
The query window for adding arguments.


_target

GenericJNIActor _target
The target object whose arguments are being configured.


_optionsArray

java.lang.String[] _optionsArray
Possible configurations.

Class jni.GenericJNIActor extends TypedAtomicActor implements Serializable

Serialized Fields

libraryDirectory

Parameter libraryDirectory
The directory that contains the native library, which under Windows should include a dll, an h file and a lib file. The default value of thie parameter is the string "jni" + File.separator + "lib"


nativeFunction

Parameter nativeFunction
The name of the native library. The default value of this parameter is the String "nativeFunction"


nativeLibrary

Parameter nativeLibrary
The name of the native library. The default value of this parameter is the String "nativeLibrary"


_argumentsList

NamedList _argumentsList

_class

java.lang.Class _class

_methodIndex

int _methodIndex

_methods

java.lang.reflect.Method[] _methods

Class jni.ThalesGraphFrame extends ActorGraphFrame implements Serializable

Serialized Fields

_jniMenu

javax.swing.JMenu _jniMenu
Jni menu for this frame.


_lastDelayTime

long _lastDelayTime
The delay time specified that last time animation was set.

Class jni.ThalesGraphTableau extends ActorGraphTableau implements Serializable

Class jni.ThalesGraphTableau.Factory extends TableauFactory implements Serializable


Package ptolemy.plot

Class ptolemy.plot.CmdLineArgException extends java.lang.Exception implements Serializable

Class ptolemy.plot.EditablePlot extends Plot implements Serializable

Serialized Fields

_editSpecX

int[] _editSpecX

_editSpecY

int[] _editSpecY

_editSpecSet

boolean[] _editSpecSet

_currentEditX

int _currentEditX

_currentEditY

int _currentEditY

_dataset

int _dataset

_undoStack

java.util.Stack _undoStack

_redoStack

java.util.Stack _redoStack

_editListeners

java.util.Vector _editListeners

Class ptolemy.plot.Histogram extends PlotBox implements Serializable

Serialized Fields

_currentdataset

int _currentdataset
The current dataset.

_points

java.util.Vector _points
A vector of datasets.

_histogram

java.util.Vector _histogram
A vector of histogram data.

_barwidth

double _barwidth
The width of a bar.

_baroffset

double _baroffset
The offset between bars.

_binWidth

double _binWidth
The width of a bin.

_binOffset

double _binOffset
The offset between bins.

_filename

java.lang.String _filename
Last filename seen in command-line arguments.

_showing

boolean _showing
Set by _drawPlot(), and reset by clear().

Class ptolemy.plot.HistogramApplet extends PlotApplet implements Serializable

Class ptolemy.plot.Plot extends PlotBox implements Serializable

Serialized Fields

_currentdataset

int _currentdataset
The current dataset.

_points

java.util.Vector _points
A vector of datasets.

_marks

int _marks
An indicator of the marks style. See _parseLine method for interpretation.

_pointsPersistence

int _pointsPersistence
Number of points to persist for.

_xPersistence

double _xPersistence
Persistence in units of the horizontal axis.

_bars

boolean _bars
True if this is a bar plot.

barWidth

double barWidth
Width of a bar in x axis units.

_barOffset

double _barOffset
Offset per dataset in x axis units.

_connected

boolean _connected
True if the points are connected.

_impulses

boolean _impulses
True if this is an impulse plot.

_maxDataset

int _maxDataset
The highest data set used.

_reuseDatasets

boolean _reuseDatasets
True if we saw 'reusedatasets: on' in the file.

_firstInSet

boolean _firstInSet
Is this the first datapoint in a set?

_sawFirstDataSet

boolean _sawFirstDataSet
Have we seen a DataSet line in the current data file?

_radius

int _radius
Give the radius of a point for efficiency.

_diameter

int _diameter
Give the diameter of a point for efficiency.

_prevx

java.util.Vector _prevx
Information about the previously plotted point.

_prevy

java.util.Vector _prevy
Information about the previously plotted point.

_xyInvalid

boolean _xyInvalid
Flag indicating validity of _xBottom, _xTop, _yBottom, and _yTop.

_filename

java.lang.String _filename
Last filename seen in command-line arguments.

_showing

boolean _showing
Set by _drawPlot(), and reset by clear().

_formats

java.util.Vector _formats
Format information on a per data set basis.

Class ptolemy.plot.PlotApplet extends javax.swing.JApplet implements Serializable

Class ptolemy.plot.PlotApplication extends PlotFrame implements Serializable

Class ptolemy.plot.PlotBox extends javax.swing.JPanel implements Serializable

Serialized Fields

_padding

double _padding
The factor we pad by so that we don't plot points on the axes.


_xlowgiven

double _xlowgiven
The given X and Y ranges. If they have been given the top and bottom of the x and y ranges. This is different from _xMin and _xMax, which actually represent the range of data that is plotted. This represents the range specified (which may be different due to zooming).

_xhighgiven

double _xhighgiven
The given X and Y ranges. If they have been given the top and bottom of the x and y ranges. This is different from _xMin and _xMax, which actually represent the range of data that is plotted. This represents the range specified (which may be different due to zooming).

_ylowgiven

double _ylowgiven
The given X and Y ranges. If they have been given the top and bottom of the x and y ranges. This is different from _xMin and _xMax, which actually represent the range of data that is plotted. This represents the range specified (which may be different due to zooming).

_yhighgiven

double _yhighgiven
The given X and Y ranges. If they have been given the top and bottom of the x and y ranges. This is different from _xMin and _xMax, which actually represent the range of data that is plotted. This represents the range specified (which may be different due to zooming).

_xBottom

double _xBottom
The minimum X value registered so for, for auto ranging.

_xTop

double _xTop
The maximum X value registered so for, for auto ranging.

_yBottom

double _yBottom
The minimum Y value registered so for, for auto ranging.

_yTop

double _yTop
The maximum Y value registered so for, for auto ranging.

_xlog

boolean _xlog
Whether to draw the axes using a logarithmic scale.

_ylog

boolean _ylog
Whether to draw the axes using a logarithmic scale.

_grid

boolean _grid
Whether to draw a background grid.

_wrap

boolean _wrap
Whether to wrap the X axis.

_wrapHigh

double _wrapHigh
The high range of the X axis for wrapping.

_wrapLow

double _wrapLow
The low range of the X axis for wrapping.

_background

java.awt.Color _background
Color of the background, settable from HTML.

_foreground

java.awt.Color _foreground
Color of the foreground, settable from HTML.

_topPadding

int _topPadding
Top padding. Derived classes can increment these to make space around the plot.

_bottomPadding

int _bottomPadding
Bottom padding. Derived classes can increment these to make space around the plot.

_rightPadding

int _rightPadding
Right padding. Derived classes can increment these to make space around the plot.

_leftPadding

int _leftPadding
Left padding. Derived classes can increment these to make space around the plot.

_ulx

int _ulx
The x value of the upper left corner of the plot rectangle in pixels.


_uly

int _uly
The y value of the upper left corner of the plot rectangle in pixels.


_lrx

int _lrx
The x value of the lower right corner of the plot rectangle in pixels.


_lry

int _lry
The y value of the lower right corner of the plot rectangle in pixels.


_specifiedPlotRectangle

java.awt.Rectangle _specifiedPlotRectangle
User specified plot rectangle, null if none specified.

See Also:
PlotBox.setPlotRectangle(Rectangle)

_yscale

double _yscale
Scaling used for the vertical axis in plotting points. The units are pixels/unit, where unit is the units of the Y axis.


_xscale

double _xscale
Scaling used for the horizontal axis in plotting points. The units are pixels/unit, where unit is the units of the X axis.


_usecolor

boolean _usecolor
Indicator whether to use _colors.

_width

int _width
Width and height of component in pixels.

_height

int _height
Width and height of component in pixels.

_preferredWidth

int _preferredWidth
Width and height of component in pixels.

_preferredHeight

int _preferredHeight
Width and height of component in pixels.

_sizeHasBeenSet

boolean _sizeHasBeenSet
Indicator that size has been set.

_documentBase

java.net.URL _documentBase
The document base we use to find the _filespec. NOTE: Use of this variable is deprecated. But it is made available to derived classes for backward compatibility. FIXME: Sun's appletviewer gives an exception if this is protected. Why?? So we make it temporarily public.

_actionsDeferred

boolean _actionsDeferred
Indicator of whether actions are deferred.

_deferredActions

java.util.List _deferredActions
List of deferred actions.

_filespec

java.lang.String _filespec
The file to be opened.

_ytickMax

double _ytickMax
The range of the plot as labeled (multiply by 10^exp for actual range.

_ytickMin

double _ytickMin
The range of the plot as labeled (multiply by 10^exp for actual range.

_xtickMax

double _xtickMax
The range of the plot as labeled (multiply by 10^exp for actual range.

_xtickMin

double _xtickMin
The range of the plot as labeled (multiply by 10^exp for actual range.

_yExp

int _yExp
The power of ten by which the range numbers should be multiplied.

_xExp

int _xExp
The power of ten by which the range numbers should be multiplied.

_ytickscale

double _ytickscale
Scaling used in making tick marks.

_xtickscale

double _xtickscale
Scaling used in making tick marks.

_labelFont

java.awt.Font _labelFont
Font information.

_superscriptFont

java.awt.Font _superscriptFont
Font information.

_titleFont

java.awt.Font _titleFont
Font information.

_labelFontMetrics

java.awt.FontMetrics _labelFontMetrics
FontMetric information.

_superscriptFontMetrics

java.awt.FontMetrics _superscriptFontMetrics
FontMetric information.

_titleFontMetrics

java.awt.FontMetrics _titleFontMetrics
FontMetric information.

_xlabel

java.lang.String _xlabel
The title and label strings.

_ylabel

java.lang.String _ylabel
The title and label strings.

_title

java.lang.String _title
The title and label strings.

_legendStrings

java.util.Vector _legendStrings
Legend information.

_legendDatasets

java.util.Vector _legendDatasets
Legend information.

_xticks

java.util.Vector _xticks
If XTicks or YTicks are given/

_xticklabels

java.util.Vector _xticklabels
If XTicks or YTicks are given/

_yticks

java.util.Vector _yticks
If XTicks or YTicks are given/

_yticklabels

java.util.Vector _yticklabels
If XTicks or YTicks are given/

_originalXRangeGiven

boolean _originalXRangeGiven

_originalYRangeGiven

boolean _originalYRangeGiven

_originalXlow

double _originalXlow

_originalXhigh

double _originalXhigh

_originalYlow

double _originalYlow

_originalYhigh

double _originalYhigh

Class ptolemy.plot.PlotFormatter extends javax.swing.JPanel implements Serializable

Serialized Fields

_plot

PlotBox _plot
The plot object controlled by this formatter.

_wideQuery

Query _wideQuery

_narrowQuery

Query _narrowQuery

_originalTitle

java.lang.String _originalTitle

_originalXLabel

java.lang.String _originalXLabel

_originalYLabel

java.lang.String _originalYLabel

_originalMarks

java.lang.String _originalMarks

_originalXTicksSpec

java.lang.String _originalXTicksSpec

_originalYTicksSpec

java.lang.String _originalYTicksSpec

_originalXRange

double[] _originalXRange

_originalYRange

double[] _originalYRange

_originalXTicks

java.util.Vector[] _originalXTicks

_originalYTicks

java.util.Vector[] _originalYTicks

_originalGrid

boolean _originalGrid

_originalStems

boolean _originalStems

_originalColor

boolean _originalColor

_originalConnected

boolean[][] _originalConnected

_originalPoints

PlotPoint[][] _originalPoints

Class ptolemy.plot.PlotFrame extends javax.swing.JFrame implements Serializable

Serialized Fields

plot

PlotBox plot
The plot object held by this frame.

_menubar

javax.swing.JMenuBar _menubar
Menubar for this frame.

_editMenu

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

_fileMenu

javax.swing.JMenu _fileMenu
File 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.plot.PlotLive extends Plot implements Serializable

Serialized Fields

_plotLiveThread

java.lang.Thread _plotLiveThread
Thread of this plotter

_plotting

boolean _plotting
True if we are actually plotting.

_paused

boolean _paused
True if we are paused.

_startButton

javax.swing.JButton _startButton
Start and Stop Buttons.

_stopButton

javax.swing.JButton _stopButton
Start and Stop Buttons.

Class ptolemy.plot.PlotLiveApplet extends PlotApplet implements Serializable

Class ptolemy.plot.PlotPoint extends java.lang.Object implements Serializable

Serialized Fields

connected

boolean connected
True if this point is connected to the previous point by a line.


errorBar

boolean errorBar
True if the yLowEB and yHighEB fields are valid.


originalx

double originalx
Original value of x before wrapping.


x

double x
X value after wrapping (if any).


y

double y
Y value.


yLowEB

double yLowEB
Error bar Y low value.


yHighEB

double yHighEB
Error bar Y low value.


Package ptolemy.plot.plotml

Class ptolemy.plot.plotml.EditablePlotMLApplet extends PlotMLApplet implements Serializable

Serialized Fields

_choice

javax.swing.JComboBox _choice

Class ptolemy.plot.plotml.EditablePlotMLApplication extends PlotMLApplication implements Serializable

Class ptolemy.plot.plotml.HistogramMLApplet extends PlotMLApplet implements Serializable

Class ptolemy.plot.plotml.HistogramMLApplication extends PlotMLApplication implements Serializable

Class ptolemy.plot.plotml.PlotMLApplet extends PlotApplet implements Serializable

Class ptolemy.plot.plotml.PlotMLApplication extends PlotApplication implements Serializable

Class ptolemy.plot.plotml.PlotMLFrame extends PlotFrame implements Serializable


Package ptolemy.plot.compat

Class ptolemy.plot.compat.PxgraphApplet extends PlotApplet implements Serializable

Serialized Fields

_parser

PxgraphParser _parser

Class ptolemy.plot.compat.PxgraphApplication extends PlotApplication implements Serializable

Serialized Fields

_parser

PxgraphParser _parser


Package ptolemy.kernel

Class ptolemy.kernel.ComponentEntity extends Entity implements Serializable

Serialized Fields

_container

CompositeEntity _container
The container.

Class ptolemy.kernel.ComponentPort extends Port implements Serializable

Class ptolemy.kernel.ComponentRelation extends Relation implements Serializable

Serialized Fields

_container

CompositeEntity _container
The entity that contains this entity.

Class ptolemy.kernel.CompositeEntity extends ComponentEntity implements Serializable

Serialized Fields

_containedEntities

NamedList _containedEntities
List of contained entities.


_containedRelations

NamedList _containedRelations
List of contained ports.

_levelCrossingConnectAllowed

boolean _levelCrossingConnectAllowed
Flag indicating whether level-crossing connect is permitted.

Class ptolemy.kernel.Entity extends InstantiableNamedObj implements Serializable

Serialized Fields

_portList

NamedList _portList
A list of Ports owned by this Entity.

Class ptolemy.kernel.InstantiableNamedObj extends NamedObj implements Serializable

Serialized Fields

_children

java.util.List _children
List of weak references to children for which this object is the parent.


_parent

InstantiableNamedObj _parent
Parent to which this object defers its definition to, or null if there is none.


_isClassDefinition

boolean _isClassDefinition
Indicator of whether this is a class definition.

Class ptolemy.kernel.Port extends NamedObj implements Serializable

Serialized Fields

_insideLinks

CrossRefList _insideLinks
The list of inside relations for this port.


_relationsList

CrossRefList _relationsList
The list of relations for this port.


_container

Entity _container
The entity that contains this port.

Class ptolemy.kernel.Relation extends NamedObj implements Serializable

Serialized Fields

_portList

CrossRefList _portList
The CrossRefList of Ports which are connected to this Relation.


Package ptolemy.kernel.attributes

Class ptolemy.kernel.attributes.FileAttribute extends StringAttribute implements Serializable

Serialized Fields

_baseDirectory

java.net.URI _baseDirectory
Deprecated. 
The base directory to use for relative file names.


_reader

java.io.BufferedReader _reader
Deprecated. 
The current reader for the input file.


_writer

java.io.Writer _writer
Deprecated. 
The current writer for the output file.

Class ptolemy.kernel.attributes.IDAttribute extends SingletonAttribute implements Serializable

Serialized Fields

author

StringAttribute author
The author of the class.


baseClass

StringAttribute baseClass
The base class of the containing class or entity.


isClass

StringAttribute isClass
A boolean indicating whether the container is a class or an instance. This is a string that must have value "true" or "false".


lastUpdated

StringAttribute lastUpdated
The date that this model was last updated.


name

StringAttribute name
The name of the containing class or entity.

Class ptolemy.kernel.attributes.RequireVersion extends VersionAttribute implements Serializable

Class ptolemy.kernel.attributes.URIAttribute extends SingletonAttribute implements Serializable

Serialized Fields

_value

java.net.URI _value

Class ptolemy.kernel.attributes.VersionAttribute extends StringAttribute implements Serializable

Serialized Fields

_tupleList

java.util.List _tupleList


Package ptolemy.kernel.undo

Class ptolemy.kernel.undo.UndoStackAttribute extends SingletonAttribute implements Serializable

Serialized Fields

_inRedo

int _inRedo

_inUndo

int _inUndo

_redoEntries

java.util.Stack _redoEntries

_undoEntries

java.util.Stack _undoEntries


Package ptolemy.kernel.util

Class ptolemy.kernel.util.AbstractSettableAttribute extends Attribute implements Serializable

Serialized Fields

_default

java.lang.String _default
The default value.

Class ptolemy.kernel.util.Attribute extends NamedObj implements Serializable

Serialized Fields

_container

NamedObj _container
Container of this attribute.

Class ptolemy.kernel.util.ConfigurableAttribute extends Attribute implements Serializable

Serialized Fields

_base

java.net.URL _base

_configureSource

java.lang.String _configureSource

_configureText

java.lang.String _configureText

_defaultText

java.lang.String _defaultText

_valueListeners

java.util.List _valueListeners

_visibility

Settable.Visibility _visibility

Class ptolemy.kernel.util.CrossRefList extends java.lang.Object implements Serializable

Serialized Fields

_listVersion

long _listVersion
Version number is incremented each time the list is modified. This is used to make sure that elements accessed via an enumeration are valid. This is inspired by a similar mechanism in Doug Lea's Java Collections.

_size

int _size
The code ensures that if this is non-zero, then _headNode is non-null.

_headNode

CrossRefList.CrossRef _headNode
Head Node

_lastNode

CrossRefList.CrossRef _lastNode
Last Node

_container

java.lang.Object _container
NOTE: In jdk 1.2 or higher, this could be made final to prohibit what is called "reference reseating" (not resetting), i.e. to make the variable immutable.

Class ptolemy.kernel.util.CrossRefList.CrossRef extends java.lang.Object implements Serializable

Serialized Fields

_far

CrossRefList.CrossRef _far
The far CrossRef.


_next

CrossRefList.CrossRef _next

_previous

CrossRefList.CrossRef _previous

Class ptolemy.kernel.util.IllegalActionException extends KernelException implements Serializable

Class ptolemy.kernel.util.InternalErrorException extends KernelRuntimeException implements Serializable

Class ptolemy.kernel.util.InvalidStateException extends KernelRuntimeException implements Serializable

Class ptolemy.kernel.util.KernelException extends java.lang.Exception implements Serializable

Serialized Fields

_message

java.lang.String _message

_cause

java.lang.Throwable _cause

Class ptolemy.kernel.util.KernelRuntimeException extends java.lang.RuntimeException implements Serializable

Serialized Fields

_message

java.lang.String _message

_cause

java.lang.Throwable _cause

Class ptolemy.kernel.util.Location extends SingletonAttribute implements Serializable

Serialized Fields

_default

java.lang.String _default

_expression

java.lang.String _expression

_expressionSet

boolean _expressionSet

_location

double[] _location

_valueListeners

java.util.List _valueListeners

_visibility

Settable.Visibility _visibility

Class ptolemy.kernel.util.NamedList extends java.lang.Object implements Serializable

Serialized Fields

_container

Nameable _container
The container (owner) of this list.

_namedList

java.util.LinkedList _namedList
A LinkedList containing the elements.

Class ptolemy.kernel.util.NamedObj extends java.lang.Object implements Serializable

Serialized Fields

_changeListeners

java.util.List _changeListeners
A list of weak references to change listeners.


_changeLock

java.lang.Object _changeLock
Object for locking accesses to change request list and status. NOTE: We could have used _changeRequests or _changeListeners, but those lists are only created when needed. A simple Object here is presumably cheaper than a list, but it is truly unfortunate to have to carry this in every NamedObj.


_changeRequests

java.util.List _changeRequests
A list of pending change requests.


_debugging

boolean _debugging
Flag that is true if there are debug listeners.


_debugListeners

java.util.LinkedList _debugListeners
The list of DebugListeners 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.


_elementName

java.lang.String _elementName
The MoML element name. This defaults to "entity". Subclasses that wish this to be different should set it in their constructor, or override getElementName() to return the desired value.


_isPersistent

java.lang.Boolean _isPersistent
Boolean variable to indicate the persistence of the object. If this is null (the default), then instances of NamedObj are persistent unless they are inferrable through propagation. We use Boolean here rather than boolean because a null value is used to indicate that no persistence has been specified.


_workspace

Workspace _workspace
The workspace for this object. This should be set by the constructor and never changed.


_attributes

NamedList _attributes
The Attributes attached to this object.


_className

java.lang.String _className
The class name for MoML exports.


_fullNameCache

java.lang.String _fullNameCache

_fullNameVersion

long _fullNameVersion

_derivedLevel

int _derivedLevel

_modelErrorHandler

ModelErrorHandler _modelErrorHandler

_name

java.lang.String _name
The name


_override

java.util.List _override
List indicating whether and how this derived object has been modified.


_source

java.lang.String _source
The value for the source MoML attribute.

Class ptolemy.kernel.util.NameDuplicationException extends KernelException implements Serializable

Class ptolemy.kernel.util.NoSuchItemException extends KernelException implements Serializable

Class ptolemy.kernel.util.Settable.Visibility extends java.lang.Object implements Serializable

Class ptolemy.kernel.util.SingletonAttribute extends Attribute implements Serializable

Class ptolemy.kernel.util.SingletonConfigurableAttribute extends ConfigurableAttribute implements Serializable

Class ptolemy.kernel.util.StringAttribute extends AbstractSettableAttribute implements Serializable

Serialized Fields

_value

java.lang.String _value

_valueListeners

java.util.List _valueListeners

_visibility

Settable.Visibility _visibility

Class ptolemy.kernel.util.TransientSingletonConfigurableAttribute extends ConfigurableAttribute implements Serializable

Class ptolemy.kernel.util.Workspace extends java.lang.Object implements Serializable

Serialized Fields

_directory

java.util.LinkedList _directory
List of contained objects.

_name

java.lang.String _name
The name.

_version

long _version
Version number.

_waitingWriteRequests

int _waitingWriteRequests
The number of pending write requests.

_writeDepth

int _writeDepth
The number of active write permissions (all to the same thread).

_numReaders

long _numReaders
The number of readers. The use of this field is to increment it every time we have a new reader and decrement it whenever a reader relinquishes ALL its read access.


Package ptolemy.actor

Class ptolemy.actor.AtomicActor extends ComponentEntity implements Serializable

Serialized Fields

_stopRequested

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


_functionDependency

FunctionDependencyOfAtomicActor _functionDependency

Class ptolemy.actor.CompositeActor extends CompositeEntity implements Serializable

Serialized Fields

_stopRequested

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


_director

Director _director

_inConnectionsChanged

boolean _inConnectionsChanged

_manager

Manager _manager

_functionDependency

FunctionDependencyOfCompositeActor _functionDependency

Class ptolemy.actor.Director extends Attribute implements Serializable

Serialized Fields

_currentTime

double _currentTime
The current time of the model.


_stopRequested

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


_timeResolution

double _timeResolution
The time resolution of the model.

Class ptolemy.actor.InvariantViolationException extends IllegalActionException implements Serializable

Class ptolemy.actor.IOPort extends ComponentPort implements Serializable

Serialized Fields

_isInput

boolean _isInput

_isOutput

boolean _isOutput

_isInputOutputStatusSet

boolean _isInputOutputStatusSet

_isMultiport

boolean _isMultiport

_localReceiversTable

java.util.HashMap _localReceiversTable

Class ptolemy.actor.IORelation extends ComponentRelation implements Serializable

Serialized Fields

_width

int _width

Class ptolemy.actor.Manager extends NamedObj implements Serializable

Serialized Fields

_actorsToInitialize

java.util.List _actorsToInitialize

_container

CompositeActor _container

_executionListeners

java.util.List _executionListeners

_exitAfterWrapup

boolean _exitAfterWrapup

_finishRequested

boolean _finishRequested

_iterationCount

int _iterationCount

_nameToAnalysis

java.util.HashMap _nameToAnalysis

_pauseRequested

boolean _pauseRequested

_resumeNotifyWaiting

boolean _resumeNotifyWaiting

_state

Manager.State _state

_thread

PtolemyThread _thread

_typesResolved

boolean _typesResolved

_writeAccessNeeded

boolean _writeAccessNeeded

_writeAccessVersion

long _writeAccessVersion

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 _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

ptolemy.actor.TypedIOPort.TypeTerm _typeTerm

_typeListeners

java.util.List _typeListeners

_constraints

java.util.List _constraints

Class ptolemy.actor.TypedIORelation extends IORelation implements Serializable


Package ptolemy.actor.gui

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

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 _closeListeners

_object

NamedObj _object

_originalValues

java.util.HashMap _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

_query

Query _query

_target

NamedObj _target

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

_modifiable

boolean _modifiable

_modifiableURI

boolean _modifiableURI

_modified

boolean _modified

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

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.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

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.

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.MoMLApplet extends PtolemyApplet implements Serializable

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 _changed
Deprecated. 

_object

Entity _object
Deprecated. 

_optionsArray

java.lang.String[] _optionsArray
Deprecated. 

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

Serialized Fields

_hideAllPorts

boolean _hideAllPorts

_portLocationComboBox

javax.swing.JComboBox _portLocationComboBox

_portTable

javax.swing.JTable _portTable

_portTableModel

PortConfigurerDialog.PortTableModel _portTableModel

_jth

javax.swing.table.JTableHeader _jth

_ports

java.util.Vector _ports

_selectedRow

int _selectedRow

_showAllNames

boolean _showAllNames

_units

boolean _units

_applyButton

javax.swing.JButton _applyButton

_commitButton

javax.swing.JButton _commitButton

_addButton

javax.swing.JButton _addButton

_removeButton

javax.swing.JButton _removeButton

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

_debug

boolean _debug

_helpButton

javax.swing.JButton _helpButton

_cancelButton

javax.swing.JButton _cancelButton

_contents

javax.swing.JComponent _contents

_dirty

boolean _dirty

_owner

java.awt.Frame _owner

_dialogTableau

DialogTableau _dialogTableau

_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

_model

NamedObj _model

_query

Query _query

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

Serialized Fields

_dialog

ComponentDialog _dialog

_handler

NamedObj _handler

_ignoreChangeNotifications

boolean _ignoreChangeNotifications

_isOpenErrorWindow

boolean _isOpenErrorWindow

_attributes

java.util.Map _attributes

_query

PtolemyQuery _query

_revertValue

java.util.Map _revertValue

_savedErrorHandler

ErrorHandler _savedErrorHandler

_varToListOfEntries

java.util.Map _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

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

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 _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 _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.UnitConstraintsDialog extends PtolemyDialog implements Serializable

Serialized Fields

_addButton

javax.swing.JButton _addButton

_applyButton

javax.swing.JButton _applyButton

_commitButton

javax.swing.JButton _commitButton

_removeButton

javax.swing.JButton _removeButton

_rowSelectionListener

javax.swing.event.ListSelectionListener _rowSelectionListener

_selectedRow

int _selectedRow

_unitsTable

javax.swing.JTable _unitsTable

_unitsTableModel

UnitConstraintsDialog.UnitsTableModel _unitsTableModel

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

Serialized Fields

_controller

GraphController _controller

_defaultSelectionRenderer

SelectionRenderer _defaultSelectionRenderer

_entities

java.util.Vector _entities

_fullSolutionResult

javax.swing.JLabel _fullSolutionResult

_setToSelectedButton

javax.swing.JButton _setToSelectedButton

_showComponentsButton

javax.swing.JButton _showComponentsButton

_model

TypedCompositeActor _model

_selectionModel

SelectionModel _selectionModel

_graphModel

AbstractBasicGraphModel _graphModel

_relations

java.util.Vector _relations

_selectionInteractor

SelectionInteractor _selectionInteractor

_solutions

java.util.Vector _solutions

_solutionsList

javax.swing.JList _solutionsList

_solutionsListModel

UnitSolverDialog.SolutionListModel _solutionsListModel

_runMinimalSpanSolverButton

javax.swing.JButton _runMinimalSpanSolverButton

_runFullSolverButton

javax.swing.JButton _runFullSolverButton

_tableau

Tableau _tableau

_uConstraints

UnitConstraints _uConstraints

Class ptolemy.actor.gui.UnitSolverDialog.SolutionListModel extends javax.swing.AbstractListModel implements Serializable

Serialized Fields

_solutions

java.util.Vector _solutions

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.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.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.PasswordStyle extends ParameterEditorStyle implements Serializable

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

Serialized Fields

_object

NamedObj _object

_originalExpertMode

boolean _originalExpertMode

_originalValues

java.util.Map _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.process

Class ptolemy.actor.process.CompositeProcessDirector extends ProcessDirector implements Serializable

Serialized Fields

_onFirstIteration

boolean _onFirstIteration

_inputBranchController

BranchController _inputBranchController

_outputBranchController

BranchController _outputBranchController

_inputControllerIsBlocked

boolean _inputControllerIsBlocked

_outputControllerIsBlocked

boolean _outputControllerIsBlocked

_blockedReceivers

java.util.LinkedList _blockedReceivers

_branchControllerLock

java.lang.Object _branchControllerLock

Class ptolemy.actor.process.ProcessDirector extends Director implements Serializable

Serialized Fields

_notDone

boolean _notDone

_activeActorCount

long _activeActorCount

_blockedActorCount

int _blockedActorCount

_stoppedActorCount

int _stoppedActorCount

_stopFireRequested

boolean _stopFireRequested

_actorThreadList

java.util.LinkedList _actorThreadList

_newActorThreadList

java.util.LinkedList _newActorThreadList

Class ptolemy.actor.process.TerminateProcessException extends java.lang.RuntimeException implements Serializable

Serialized Fields

_message

java.lang.String _message


Package ptolemy.actor.lib.hoc

Class ptolemy.actor.lib.hoc.AbstractCase extends TypedCompositeActor implements Serializable

Serialized Fields

_director

Director _director
My director.

Class ptolemy.actor.lib.hoc.Case extends AbstractCase implements Serializable

Serialized Fields

_entityIterator

java.util.Iterator _entityIterator

Class ptolemy.actor.lib.hoc.LifeCycleManager 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:
  • "run in calling thread" (the default)
  • "run in a new thread"
  • "do nothing".


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

FileParameter modelFileOrURL
The file name or URL of the model that this actor represents.


postfireAction

StringParameter postfireAction
The value of this string attribute determines what happens in the postfire() method. The recognized values are:
  • "do nothing" (the default)
  • "stop executing"
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.


_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.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.


_isMasterCopy

boolean _isMasterCopy

_scopeExtendingAttributeName

java.lang.String _scopeExtendingAttributeName

Class ptolemy.actor.lib.hoc.RunCompositeActor extends LifeCycleManager 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

ptolemy.actor.lib.net.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.sched

Class ptolemy.actor.sched.NotSchedulableException extends InvalidStateException implements Serializable

Class ptolemy.actor.sched.Scheduler extends Attribute implements Serializable

Serialized Fields

_container

StaticSchedulingDirector _container

_valid

boolean _valid

_cachedGetSchedule

Schedule _cachedGetSchedule

Class ptolemy.actor.sched.StaticSchedulingDirector extends Director implements Serializable

Serialized Fields

_scheduler

Scheduler _scheduler

_postfireReturns

boolean _postfireReturns


Package ptolemy.actor.util

Class ptolemy.actor.util.DependencyDeclaration extends Attribute implements Serializable

Serialized Fields

_dependents

java.util.List _dependents


Package ptolemy.caltrop

Class ptolemy.caltrop.CalIOException extends java.lang.RuntimeException implements Serializable


Package ptolemy.caltrop.actors

Class ptolemy.caltrop.actors.CalInterpreter extends TypedAtomicActor implements Serializable

Serialized Fields

calCode

StringAttribute calCode
The CAL source to be interpreted.


_actor

caltrop.interpreter.ast.Actor _actor

_ddi

DDI _ddi

_env

caltrop.interpreter.environment.Environment _env

_lastGeneratedActorName

java.lang.String _lastGeneratedActorName


Package ptolemy.caltrop.ddi

Class ptolemy.caltrop.ddi.DDIException extends java.lang.RuntimeException implements Serializable


Package ptolemy.domains.ci.kernel

Class ptolemy.domains.ci.kernel.CIActor extends Transformer implements Serializable

Serialized Fields

_director

CIDirector _director

Class ptolemy.domains.ci.kernel.CIDirector extends Director implements Serializable

Serialized Fields

_pauseRequested

boolean _pauseRequested
If true, pause the execution of the model.


_interval

long _interval
The default interval between iterations of active actors.


_actorManagers

java.util.HashSet _actorManagers

_asyncPushedActors

java.util.LinkedList _asyncPushedActors

_asyncPulledActors

java.util.LinkedList _asyncPulledActors

_actorsToFire

java.util.LinkedList _actorsToFire

_pulledActors

java.util.HashSet _pulledActors

_receivers

java.util.LinkedList _receivers

_iteratingStarted

boolean _iteratingStarted


Package ptolemy.domains.ci.lib

Class ptolemy.domains.ci.lib.BackDropQueue extends CIActor implements Serializable

Serialized Fields

length

TypedIOPort length

dropped

TypedIOPort dropped

capacity

Parameter capacity

_queue

java.util.LinkedList _queue

Class ptolemy.domains.ci.lib.BinarySwitch extends TypedAtomicActor implements Serializable

Serialized Fields

q1_len

TypedIOPort q1_len

q2_len

TypedIOPort q2_len

pkt_in

TypedIOPort pkt_in

q1_out

TypedIOPort q1_out

q2_out

TypedIOPort q2_out

_q1len

int _q1len

_q2len

int _q2len

Class ptolemy.domains.ci.lib.FrontDropQueue extends CIActor implements Serializable

Serialized Fields

length

TypedIOPort length

dropped

TypedIOPort dropped

capacity

Parameter capacity

_queue

java.util.LinkedList _queue

Class ptolemy.domains.ci.lib.Queue extends CIActor implements Serializable

Serialized Fields

length

TypedIOPort length

_queue

java.util.LinkedList _queue


Package ptolemy.domains.csp.kernel

Class ptolemy.domains.csp.kernel.CSPActor extends TypedAtomicActor implements Serializable

Serialized Fields

_cancelDelay

boolean _cancelDelay

_conditionalBranchController

ConditionalBranchController _conditionalBranchController

_delayed

boolean _delayed

_internalLock

java.lang.Object _internalLock

Class ptolemy.domains.csp.kernel.CSPDirector extends CompositeProcessDirector implements Serializable

Serialized Fields

_actorsDelayed

int _actorsDelayed

_delayedActorList

java.util.List _delayedActorList

_inWrapup

boolean _inWrapup


Package ptolemy.domains.csp.lib

Class ptolemy.domains.csp.lib.CSPBuffer extends CSPActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port for this actor.


output

TypedIOPort output
The output port for this actor.


depth

Parameter depth
The Parameter storing the depth of the buffer.


_buffer

Token[] _buffer

_size

int _size

_writeTo

int _writeTo

_readFrom

int _readFrom

Class ptolemy.domains.csp.lib.CSPMultiSink extends CSPActor implements Serializable

Serialized Fields

input

TypedIOPort input
This actor's input port.


_branchCount

int[] _branchCount

Class ptolemy.domains.csp.lib.CSPMultiSource extends CSPActor implements Serializable

Serialized Fields

output

TypedIOPort output
This actor's output port.


tokenLimit

Parameter tokenLimit
The number of tokens produced by this actor. If this limit is set to -1, then produce output tokens indefinitely. The default value of this parameter is -1.


_branchCount

int[] _branchCount

Class ptolemy.domains.csp.lib.CSPSieve extends CSPActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port


output

TypedIOPort output
The output port


_prime

int _prime

Class ptolemy.domains.csp.lib.CSPSink extends AtomicActor implements Serializable

Serialized Fields

input

IOPort input
The input port.


tokenLimit

Parameter tokenLimit
The number of tokens produced by this actor. If this limit is set to -1, then produce output tokens indefinitely. The default value of this parameter is -1.

Class ptolemy.domains.csp.lib.CSPSource extends AtomicActor implements Serializable

Serialized Fields

output

IOPort output
The output port.


tokenLimit

Parameter tokenLimit
The number of tokens produced by this actor. If this limit is set to -1, then produce output tokens indefinitely. The default value of this parameter is -1.


_value

int _value


Package ptolemy.domains.dde.kernel

Class ptolemy.domains.dde.kernel.DDEActor extends TypedAtomicActor implements Serializable

Serialized Fields

_lastPort

TypedIOPort _lastPort

Class ptolemy.domains.dde.kernel.DDEDirector extends CompositeProcessDirector implements Serializable

Serialized Fields

stopTime

Parameter stopTime
The stopTime parameter specifies the completion time of a model's execution. During the initialize() method the value of this parameter is passed to all receivers governed by this director. The default value of stopTime is PrioritizedTimedQueue.ETERNITY indicating that execution will continue indefinitely.


_completionTime

double _completionTime

_pendingMutations

boolean _pendingMutations

_writeBlockedQueues

java.util.LinkedList _writeBlockedQueues

_initialTimeTable

java.util.Hashtable _initialTimeTable

Class ptolemy.domains.dde.kernel.DDEIOPort extends TypedIOPort implements Serializable

Class ptolemy.domains.dde.kernel.FeedBackDelay extends DDEActor implements Serializable

Serialized Fields

delay

Parameter delay

input

TypedIOPort input

nullDelay

Parameter nullDelay
The boolean parameter that indicates whether a delay value will be added to the time stamp of null tokens that are produced by this actor. This parameter defaults to true.


output

TypedIOPort output

realDelay

Parameter realDelay
The boolean parameter that indicates whether a delay value will be added to the time stamp of real tokens that are produced by this actor. This parameter defaults to false.

Class ptolemy.domains.dde.kernel.NullToken extends Token implements Serializable


Package ptolemy.domains.dde.lib

Class ptolemy.domains.dde.lib.DDESink extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port.


numTokens

Parameter numTokens
Indicate the integer valued number of real tokens that this actor should consume. If this value is negative, then there is no limit on the number of tokens that this actor will consume. The default value of this parameter is -1.


_count

int _count

_continue

boolean _continue

Class ptolemy.domains.dde.lib.DoubleFork extends TypedAtomicActor implements Serializable

Serialized Fields

output1

TypedIOPort output1
The first output port.


output2

TypedIOPort output2
The second output port.


input

TypedIOPort input
The input port.


_continueIterations

boolean _continueIterations

Class ptolemy.domains.dde.lib.TimeAdvance extends DDEActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port.


input

TypedIOPort input
The input port.


outputValue

Parameter outputValue
A parameter used to specify the value of the DoubleTokens that are produced as outputs of this actor.


_continueIterations

boolean _continueIterations

Class ptolemy.domains.dde.lib.Wire extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port.


input

TypedIOPort input
The input port.


_continueIterations

boolean _continueIterations


Package ptolemy.domains.hde.kernel

Class ptolemy.domains.hde.kernel.HDEDirector extends DEDirector implements Serializable


Package ptolemy.domains.hde.lib

Class ptolemy.domains.hde.lib.ArrayMemory extends TypedAtomicActor implements Serializable

Serialized Fields

index

TypedIOPort index
The index into the input array. This is an integer that is required to be less than or equal to the length of the input array.


read

TypedIOPort read
The read input


write

TypedIOPort write
The write input


serialOrParallel

TypedIOPort serialOrParallel
The ser/par control for reading and writing


dataInSerial

TypedIOPort dataInSerial
The serial data input


dataOutSerial

TypedIOPort dataOutSerial
The serial data output


dataOutParallel

TypedIOPort dataOutParallel
The parallel data output


dataInParallel

TypedIOPort dataInParallel
The parallel input data


length

Parameter length
The length of the input array. This is an integer that defaults to 1;


_index

int _index

_read

BooleanToken _read

_write

BooleanToken _write

_serialOrParallel

boolean _serialOrParallel

_memory

Token[] _memory

_arrayLength

int _arrayLength

Class ptolemy.domains.hde.lib.StateSampler extends DETransformer implements Serializable

Serialized Fields

trigger

TypedIOPort trigger
The trigger port, which has type Token. If this port receives a token, then the most recent token from the input port will be emitted on the output port.


_lastInputs

Token[] _lastInputs


Package ptolemy.domains.giotto.kernel

Class ptolemy.domains.giotto.kernel.GiottoCodeGenerator extends Attribute implements Serializable

Serialized Fields

_endLine

java.lang.String _endLine

Class ptolemy.domains.giotto.kernel.GiottoCodeGenerator.GiottoEditorFactory extends EditorFactory implements Serializable

Class ptolemy.domains.giotto.kernel.GiottoDirector extends StaticSchedulingDirector implements Serializable

Serialized Fields

iterations

Parameter iterations
The number of times that postfire may be called before it returns false. 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. The default value is an IntToken with the value zero.


period

Parameter period
The period of an iteration. This is a double that defaults to 0.1.


synchronizeToRealTime

Parameter synchronizeToRealTime
Specify whether the execution should synchronize to the real time. This parameter must contain a BooleanToken. If this parameter is true, then do not process events until the elapsed real time matches the time stamp of the events. The value defaults to false.


timeResolution

Parameter timeResolution
The resolution in comparing time. The default value is 1e-10, of type DoubleToken.


_iterationCount

int _iterationCount

_unitTimeIncrement

double _unitTimeIncrement

_expectedNextIterationTime

double _expectedNextIterationTime

_periodValue

double _periodValue

_realStartTime

long _realStartTime

_receivers

java.util.LinkedList _receivers

_schedule

Schedule _schedule

_synchronizeToRealTime

boolean _synchronizeToRealTime

_unitIndex

int _unitIndex

Class ptolemy.domains.giotto.kernel.GiottoScheduler extends Scheduler implements Serializable

Serialized Fields

_lcm

int _lcm

_gcd

int _gcd

_giottoSchedulerTime

int _giottoSchedulerTime


Package ptolemy.domains.pn.kernel

Class ptolemy.domains.pn.kernel.PNDirector extends CompositeProcessDirector implements Serializable

Serialized Fields

initialQueueCapacity

Parameter initialQueueCapacity
The initial size of the queues for each communication channel. This is an integer that defaults to 1.


maximumQueueCapacity

Parameter maximumQueueCapacity
The maximum size of the queues for each communication channel. This is an integer that defaults to 65536. To specify unbounded queues, set this to 0.


_readBlockCount

int _readBlockCount
The count of processes blocked on a read from a receiver.


_writeBlockCount

int _writeBlockCount
The count of processes blocked on a write to a receiver.


_writeBlockedQueues

java.util.LinkedList _writeBlockedQueues
The list of receivers blocked on a write to a receiver.


_processListeners

java.util.LinkedList _processListeners

Class ptolemy.domains.pn.kernel.TimedPNDirector extends PNDirector implements Serializable

Serialized Fields

_eventQueue

CalendarQueue _eventQueue
The priority queue that stores the list of processes waiting for time to advance. These processes are sorted by the time they want to resume at.


_delayBlockCount

int _delayBlockCount
The number of time-blocked processes.


Package ptolemy.domains.petrinet.kernel

Class ptolemy.domains.petrinet.kernel.PetriNetActor extends TypedCompositeActor implements Serializable

Class ptolemy.domains.petrinet.kernel.PetriNetDirector extends Director implements Serializable

Class ptolemy.domains.petrinet.kernel.Place extends Transformer implements Serializable

Serialized Fields

initialMarking

Parameter initialMarking
The number of initial tokens in the place. This is an integer.


_currentMarking

int _currentMarking

_temporaryMarking

int _temporaryMarking


Package ptolemy.domains.psdf.kernel

Class ptolemy.domains.psdf.kernel.PSDFDirector extends SDFDirector implements Serializable

Serialized Fields

_postfirereturns

boolean _postfirereturns

Class ptolemy.domains.psdf.kernel.PSDFScheduler extends BaseSDFScheduler implements Serializable

Serialized Fields

_bufferSizeMap

java.util.HashMap _bufferSizeMap

_debugFlag

boolean _debugFlag

_parseTreeEvaluator

ParseTreeEvaluator _parseTreeEvaluator

_parserScope

ParserScope _parserScope


Package ptolemy.domains.sr.kernel

Class ptolemy.domains.sr.kernel.IllegalOutputException extends KernelRuntimeException implements Serializable

Class ptolemy.domains.sr.kernel.SRDirector 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 IntToken, 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.


scheduler

Parameter scheduler
The name of the scheduler to be used. The default is a String "ptolemy.domains.sr.kernel.SRRandomizedScheduler". The only other valid value is "ptolemy.domains.sr.kernel.SROptimizedScheduler".


_actorsNotAllowedToIterate

java.util.Set _actorsNotAllowedToIterate

_actorsAllowedToFire

java.util.Set _actorsAllowedToFire

_actorsFired

java.util.Set _actorsFired

_cachedAllInputsKnown

java.util.Set _cachedAllInputsKnown

_cachedAllOutputsKnown

java.util.Set _cachedAllOutputsKnown

_currentNumberOfKnownReceivers

int _currentNumberOfKnownReceivers

_currentIteration

int _currentIteration

_lastNumberOfActorsAllowedToFire

int _lastNumberOfActorsAllowedToFire

_lastNumberOfKnownReceivers

int _lastNumberOfKnownReceivers

_receivers

java.util.List _receivers

_realCost

int _realCost

_roughCost

int _roughCost

_schedulerClassName

java.lang.String _schedulerClassName

_updateScheduler

boolean _updateScheduler

Class ptolemy.domains.sr.kernel.SROptimizedScheduler extends Scheduler implements Serializable

Class ptolemy.domains.sr.kernel.SRRandomizedScheduler extends Scheduler implements Serializable

Class ptolemy.domains.sr.kernel.UnknownTokenException extends KernelRuntimeException implements Serializable


Package ptolemy.domains.sr.lib

Class ptolemy.domains.sr.lib.Absent extends Undefined implements Serializable

Class ptolemy.domains.sr.lib.AbsentToken extends Token implements Serializable

Class ptolemy.domains.sr.lib.ButtonTime extends WallClockTime implements Serializable

Serialized Fields

text

StringAttribute text
The text to put on the button.


_button

javax.swing.JButton _button

_buttonPressed

boolean _buttonPressed

_container

java.awt.Container _container

_frame

javax.swing.JFrame _frame

_placeCalled

boolean _placeCalled

_self

ButtonTime _self

Class ptolemy.domains.sr.lib.InstantaneousDialogGenerator extends TypedAtomicActor implements Serializable

Serialized Fields

dataInput

TypedIOPort dataInput
Input port for data from a server.


dataOutput

TypedIOPort dataOutput
Output port for data. The type is the same as dataInput.


indexOutput

TypedIOPort indexOutput
Output port for data indices. The type is integer.


_index

int _index

Class ptolemy.domains.sr.lib.Latch extends Transformer implements Serializable

Serialized Fields

_lastInputs

Token _lastInputs

Class ptolemy.domains.sr.lib.NonStrictDelay extends Transformer implements Serializable

Serialized Fields

initialValue

Parameter initialValue
Initial token value. Can be of any type.

See Also:
NonStrictDelay.typeConstraintList()

_previousToken

Token _previousToken

_currentToken

Token _currentToken

Class ptolemy.domains.sr.lib.NonStrictDisplay extends Display implements Serializable

Class ptolemy.domains.sr.lib.NonStrictLogicFunction extends LogicFunction implements Serializable

Class ptolemy.domains.sr.lib.NonStrictThreeBitAdder extends TypedAtomicActor implements Serializable

Serialized Fields

inputBits

TypedIOPort inputBits
Inputs for bits to be added. The types are integer, and only ones and zeros are expected.


highBit

TypedIOPort highBit
Output for the high bit. The type is integer, and only ones and zeros will be sent.


lowBit

TypedIOPort lowBit
Output for the low bit. The type is integer, and only ones and zeros will be sent.

Class ptolemy.domains.sr.lib.NonStrictTokenToExpression extends TokenToExpression implements Serializable

Class ptolemy.domains.sr.lib.SingleTokenCommutator extends Transformer implements Serializable

Serialized Fields

_currentInputPosition

int _currentInputPosition

Class ptolemy.domains.sr.lib.SingleTokenDistributor extends Transformer implements Serializable

Serialized Fields

_currentOutputPosition

int _currentOutputPosition

Class ptolemy.domains.sr.lib.Undefined extends Source implements Serializable

Serialized Fields

outputType

StringAttribute outputType
The type for the output port. This is a string-valued attribute that defaults to "int".


Package ptolemy.domains.tm.kernel

Class ptolemy.domains.tm.kernel.SchedulePlotter extends Attribute implements Serializable

Serialized Fields

plot

Plot plot

_taskMap

java.util.HashMap _taskMap

_taskState

java.util.ArrayList _taskState

Class ptolemy.domains.tm.kernel.TMDirector extends Director implements Serializable

Serialized Fields

preemptive

Parameter preemptive
Indicating whether the execution of the actors is preemptable. The default value is false, of type boolean.


defaultTaskExecutionTime

Parameter defaultTaskExecutionTime
The default execution time of a task (i.e. actor). If an actor (or its ports) does not specify its execution time, then this number will be used. The default value is 0.0, of type double, meaning that the task takes no time to execute (similar to the synchrony assumption in Synchronous/Reactive models).


stopTime

Parameter stopTime
The stop time of the model, only effective when this director is at the top level. This parameter is of type double. The value defaults to Double.MAX_VALUE.


synchronizeToRealTime

Parameter synchronizeToRealTime
Indicating whether the execution synchronizes to the real time. This parameter has default value false, of type boolean. If this parameter is true, then the director does not process events until the elapsed real time matches the time stamp of the events.


_scheduleListeners

java.util.LinkedList _scheduleListeners
The list of schedule listeners registered with this object.

_eventQueue

CalendarQueue _eventQueue

_interruptQueue

DECQEventQueue _interruptQueue

_preemptive

boolean _preemptive

_synchronizeToRealTime

boolean _synchronizeToRealTime

_disabledActors

java.util.Set _disabledActors

_outsideTime

double _outsideTime

_nextIterationTime

double _nextIterationTime

_realStartTime

long _realStartTime


Package ptolemy.domains.tm.lib

Class ptolemy.domains.tm.lib.PeriodicTrigger extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port.


period

Parameter period
The execution period, in terms of Hz. Default is 2.0.


_period

long _period

_triggerThread

java.lang.Thread _triggerThread

Class ptolemy.domains.tm.lib.TMCompositeFacade extends TypedCompositeActor implements Serializable

Serialized Fields

executionTime

Parameter executionTime
The default execution time.


priority

Parameter priority
Priority of the background process.


_idle

boolean _idle

_executionTime

double _executionTime

_directorThread

PtolemyThread _directorThread

_priority

int _priority


Package ptolemy.data

Class ptolemy.data.AbstractConvertibleToken extends Token implements Serializable

Class ptolemy.data.AbstractNotConvertibleToken extends Token implements Serializable

Class ptolemy.data.ActorToken extends Token implements Serializable

Serialized Fields

_entity

Entity _entity

Class ptolemy.data.ActorToken.ActorType extends java.lang.Object implements Serializable

Class ptolemy.data.ArrayToken extends AbstractNotConvertibleToken implements Serializable

Serialized Fields

_value

Token[] _value

Class ptolemy.data.AWTImageToken extends ImageToken implements Serializable

Serialized Fields

_value

java.awt.Image _value
The java.awt.Image

Class ptolemy.data.BooleanMatrixToken extends MatrixToken implements Serializable

Serialized Fields

_value

boolean[][] _value

_rowCount

int _rowCount

_columnCount

int _columnCount

Class ptolemy.data.BooleanToken extends AbstractConvertibleToken implements Serializable

Serialized Fields

_value

boolean _value

Class ptolemy.data.ComplexMatrixToken extends MatrixToken implements Serializable

Serialized Fields

_value

Complex[][] _value

_rowCount

int _rowCount

_columnCount

int _columnCount

Class ptolemy.data.ComplexToken extends ScalarToken implements Serializable

Serialized Fields

_value

Complex _value

Class ptolemy.data.DoubleMatrixToken extends MatrixToken implements Serializable

Serialized Fields

_value

double[] _value

_rowCount

int _rowCount

_columnCount

int _columnCount

Class ptolemy.data.DoubleToken extends ScalarToken implements Serializable

Serialized Fields

_value

double _value

Class ptolemy.data.EventToken extends Token implements Serializable

Class ptolemy.data.FixMatrixToken extends MatrixToken implements Serializable

Serialized Fields

_value

FixPoint[][] _value

_precision

Precision _precision

_rowCount

int _rowCount

_columnCount

int _columnCount

Class ptolemy.data.FixToken extends ScalarToken implements Serializable

Serialized Fields

_value

FixPoint _value
The FixPoint value contained in this FixToken.

Class ptolemy.data.FunctionToken extends Token implements Serializable

Serialized Fields

_function

Function _function

_type

FunctionType _type

Class ptolemy.data.ImageToken extends Token implements Serializable

Class ptolemy.data.IntMatrixToken extends MatrixToken implements Serializable

Serialized Fields

_value

int[] _value

_rowCount

int _rowCount

_columnCount

int _columnCount

Class ptolemy.data.IntToken extends ScalarToken implements Serializable

Serialized Fields

_value

int _value

Class ptolemy.data.LongMatrixToken extends MatrixToken implements Serializable

Serialized Fields

_value

long[] _value

_rowCount

int _rowCount

_columnCount

int _columnCount

Class ptolemy.data.LongToken extends ScalarToken implements Serializable

Serialized Fields

_value

long _value

Class ptolemy.data.MatrixToken extends Token implements Serializable

Class ptolemy.data.ObjectToken extends Token implements Serializable

Serialized Fields

_value

java.lang.Object _value

Class ptolemy.data.RecordToken extends AbstractNotConvertibleToken implements Serializable

Serialized Fields

_fields

java.util.Map _fields

Class ptolemy.data.ScalarToken extends Token implements Serializable

Serialized Fields

_unitCategoryExponents

int[] _unitCategoryExponents
The unit category exponents. The unit system contains a set of base unit categories and derived categories. The base categories are customizable by the user. For example, the user may choose to use the SI unit system which has 7 base categories: length, mass, time, electric current, thermodynamic temperature, amount of substance, and luminous intensity. The customization is done by defining a MoML file to specify the categories and the units in each category. Each category has an index, assigned by the order the category appears in the MoML file. Derived units are recorded by the exponents of the category. For example, the category speed, which is length/time, is stored by an exponent of 1 for the length category, and an exponent of -1 for the time category. This array records the exponents of the base categories.

Class ptolemy.data.StringToken extends AbstractConvertibleToken implements Serializable

Serialized Fields

_value

java.lang.String _value

_toString

java.lang.String _toString

Class ptolemy.data.Token extends java.lang.Object implements Serializable

Class ptolemy.data.UnsignedByteToken extends ScalarToken implements Serializable

Serialized Fields

_value

byte _value

Class ptolemy.data.XMLToken extends Token implements Serializable

Serialized Fields

_doc

org.w3c.dom.Document _doc

_toString

java.lang.String _toString


Package ptolemy.data.expr

Class ptolemy.data.expr.ConcreteMatrixToken extends MatrixToken implements Serializable

Class ptolemy.data.expr.ConcreteScalarToken extends ScalarToken implements Serializable

Class ptolemy.data.expr.ExpertParameter extends Parameter implements Serializable

Class ptolemy.data.expr.FileParameter extends StringParameter 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.data.expr.GeneralToken extends Token implements Serializable

Class ptolemy.data.expr.Parameter extends Variable implements Serializable

Serialized Fields

_choices

java.util.List _choices

Class ptolemy.data.expr.ParseException extends java.lang.Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token following this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

java.lang.String eol
The end of line string for this machine.

Class ptolemy.data.expr.ScopeExtendingAttribute extends Attribute implements Serializable

Class ptolemy.data.expr.SingletonParameter extends Parameter implements Serializable

Class ptolemy.data.expr.StringParameter extends Parameter implements Serializable

Class ptolemy.data.expr.TokenMgrError extends java.lang.Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.

Class ptolemy.data.expr.UnknownResultException extends KernelRuntimeException implements Serializable

Class ptolemy.data.expr.UnknownToken extends Token implements Serializable

Class ptolemy.data.expr.Variable extends AbstractSettableAttribute implements Serializable

Serialized Fields

_currentExpression

java.lang.String _currentExpression
Stores the expression used to set this variable. It is null if the variable was set from a token.


_needsEvaluation

boolean _needsEvaluation
Flags that the expression needs to be evaluated when the value of this variable is queried.


_parserScope

ParserScope _parserScope
The instance of VariableScope.


_parseTreeValid

boolean _parseTreeValid
Indicator that the parse tree is valid.


_valueListeners

java.util.List _valueListeners
Listeners for changes in value.


_initialExpression

java.lang.String _initialExpression

_isLazy

boolean _isLazy

_isStringMode

boolean _isStringMode

_isTokenUnknown

boolean _isTokenUnknown

_noTokenYet

boolean _noTokenYet

_initialToken

Token _initialToken

_variablesDependentOn

java.util.HashMap _variablesDependentOn
Stores the variables that are referenced by this variable.


_varType

Type _varType

_parseTreeEvaluator

ParseTreeEvaluator _parseTreeEvaluator

_propagating

boolean _propagating

_token

Token _token

_constraints

java.util.List _constraints

_declaredType

Type _declaredType

_parseTree

ASTPtRootNode _parseTree

_typeAtMost

Type _typeAtMost

_typeTerm

ptolemy.data.expr.Variable.TypeTerm _typeTerm

_visibility

Settable.Visibility _visibility


Package ptolemy.data.type

Class ptolemy.data.type.BaseType extends java.lang.Object implements Serializable

Serialized Fields

_tokenClass

java.lang.Class _tokenClass

_name

java.lang.String _name

Class ptolemy.data.type.BaseType.BooleanType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.ComplexType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.DoubleType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.EventType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.GeneralType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.IntType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.LongType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.NumericalType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.ObjectType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.ScalarType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.StringType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.UnknownType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.UnsignedByteType extends BaseType implements Serializable

Class ptolemy.data.type.BaseType.XmlTokenType extends BaseType implements Serializable

Class ptolemy.data.type.FixType extends StructuredType implements Serializable

Class ptolemy.data.type.SizedMatrixType extends StructuredType implements Serializable

Serialized Fields

_tokenClass

java.lang.Class _tokenClass

_name

java.lang.String _name

_rows

int _rows

_columns

int _columns

Class ptolemy.data.type.SizedMatrixType.BooleanMatrixType extends SizedMatrixType implements Serializable

Class ptolemy.data.type.SizedMatrixType.ComplexMatrixType extends SizedMatrixType implements Serializable

Class ptolemy.data.type.SizedMatrixType.DoubleMatrixType extends SizedMatrixType implements Serializable

Class ptolemy.data.type.SizedMatrixType.FixMatrixType extends SizedMatrixType implements Serializable

Class ptolemy.data.type.SizedMatrixType.IntMatrixType extends SizedMatrixType implements Serializable

Class ptolemy.data.type.SizedMatrixType.LongMatrixType extends SizedMatrixType implements Serializable

Class ptolemy.data.type.TopMatrixType extends StructuredType implements Serializable

Class ptolemy.data.type.UnsizedMatrixType extends StructuredType implements Serializable

Serialized Fields

_tokenClass

java.lang.Class _tokenClass

_elementType

Type _elementType

_name

java.lang.String _name

Class ptolemy.data.type.UnsizedMatrixType.BooleanMatrixType extends UnsizedMatrixType implements Serializable

Class ptolemy.data.type.UnsizedMatrixType.ComplexMatrixType extends UnsizedMatrixType implements Serializable

Class ptolemy.data.type.UnsizedMatrixType.DoubleMatrixType extends UnsizedMatrixType implements Serializable

Class ptolemy.data.type.UnsizedMatrixType.FixMatrixType extends UnsizedMatrixType implements Serializable

Class ptolemy.data.type.UnsizedMatrixType.IntMatrixType extends UnsizedMatrixType implements Serializable

Class ptolemy.data.type.UnsizedMatrixType.LongMatrixType extends UnsizedMatrixType implements Serializable


Package ptolemy.data.unit

Class ptolemy.data.unit.BaseUnit extends Parameter implements Serializable

Serialized Fields

_token

Token _token

Class ptolemy.data.unit.ParseException extends java.lang.Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token following this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

java.lang.String eol
The end of line string for this machine.

Class ptolemy.data.unit.TokenMgrError extends java.lang.Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.

Class ptolemy.data.unit.UnitAttribute extends AbstractSettableAttribute implements Serializable

Serialized Fields

_visibility

Settable.Visibility _visibility

_valueListeners

java.util.List _valueListeners

_unitExpr

UnitExpr _unitExpr

_unitConstraints

UnitConstraints _unitConstraints

_type

int _type

Class ptolemy.data.unit.UnitCategory extends Attribute implements Serializable

Class ptolemy.data.unit.UnitSystem extends ScopeExtendingAttribute implements Serializable


Package ptolemy.graph

Class ptolemy.graph.GraphActionException extends IllegalActionException implements Serializable

Class ptolemy.graph.GraphConstructionException extends GraphException implements Serializable

Class ptolemy.graph.GraphElementException extends GraphException implements Serializable

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

Class ptolemy.graph.GraphStateException extends GraphException implements Serializable

Class ptolemy.graph.GraphTopologyException extends GraphException implements Serializable

Class ptolemy.graph.GraphWeightException extends GraphException implements Serializable


Package ptolemy.graph.analysis

Class ptolemy.graph.analysis.AnalysisException extends java.lang.RuntimeException implements Serializable

Class ptolemy.graph.analysis.InvalidAnalyzerException extends AnalysisException implements Serializable


Package ptolemy.gui

Class ptolemy.gui.BasicJApplet extends javax.swing.JApplet implements Serializable

Serialized Fields

_background

java.awt.Color _background

Class ptolemy.gui.CancelException extends java.lang.Exception implements Serializable

Class ptolemy.gui.ComponentDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

contents

java.awt.Component contents
The component contained by this dialog.


_buttonPressed

java.lang.String _buttonPressed

_doneHandleClosing

boolean _doneHandleClosing

_optionPane

javax.swing.JOptionPane _optionPane

_messageArea

javax.swing.JTextArea _messageArea

Class ptolemy.gui.JTextAreaExec extends javax.swing.JPanel implements Serializable

Serialized Fields

_clearListener

java.awt.event.ActionListener _clearListener

_interruptListener

java.awt.event.ActionListener _interruptListener

_startListener

java.awt.event.ActionListener _startListener

_cancelButton

javax.swing.JButton _cancelButton

_clearButton

javax.swing.JButton _clearButton

_commands

java.util.List _commands

_jTextArea

javax.swing.JTextArea _jTextArea

_process

java.lang.Process _process

_progressBar

javax.swing.JProgressBar _progressBar

_statusBar

javax.swing.JLabel _statusBar

_startButton

javax.swing.JButton _startButton

_worker

SwingWorker _worker

Class ptolemy.gui.Query extends javax.swing.JPanel implements Serializable

Serialized Fields

_background

java.awt.Color _background
The background color as set by setBackground(). This defaults to null, which indicates that the background is the same as the container.


_constraints

java.awt.GridBagConstraints _constraints
Standard constraints for use with _grid.


_grid

java.awt.GridBagLayout _grid
Layout control.


_listeners

java.util.Vector _listeners
List of registered listeners.


_columns

int _columns

_entries

java.util.Map _entries

_entryPanel

javax.swing.JPanel _entryPanel

_entryScrollPane

javax.swing.JScrollPane _entryScrollPane

_height

int _height

_labels

java.util.Map _labels

_leftPadding

java.awt.Insets _leftPadding

_messageArea

javax.swing.JTextArea _messageArea

_messageScrollPane

javax.swing.JScrollPane _messageScrollPane

_messageScrollPaneAdded

boolean _messageScrollPaneAdded

_noPadding

java.awt.Insets _noPadding

_previous

java.util.Map _previous

_widgetsHeight

int _widgetsHeight

_width

int _width

Class ptolemy.gui.ShellTextArea extends javax.swing.JPanel implements Serializable

Serialized Fields

mainPrompt

java.lang.String mainPrompt
Main prompt.


contPrompt

java.lang.String contPrompt
Prompt to use on continuation lines.


historyLength

int historyLength
Size of the history to keep.


_commandBuffer

java.lang.StringBuffer _commandBuffer

_jTextArea

javax.swing.JTextArea _jTextArea

_promptCursor

int _promptCursor

_historyCursor

int _historyCursor

_historyCommands

java.util.Vector _historyCommands

_initialMessage

java.lang.String _initialMessage

_interpreter

ShellInterpreter _interpreter

Class ptolemy.gui.StatusBar extends javax.swing.JPanel implements Serializable

Serialized Fields

_progress

javax.swing.JProgressBar _progress

_progressPanel

javax.swing.JPanel _progressPanel

_message

javax.swing.JTextField _message

Class ptolemy.gui.Top extends javax.swing.JFrame implements Serializable

Serialized Fields

_fileFilter

javax.swing.filechooser.FileFilter _fileFilter
The FileFilter that determines what files are displayed by the Open dialog and the Save As dialog The initial default is null, which causes no FileFilter to be applied, which results in all files being displayed.


_fileMenu

javax.swing.JMenu _fileMenu
File menu for this frame.


_fileMenuItems

javax.swing.JMenuItem[] _fileMenuItems
Items in the file menu.


_helpMenu

javax.swing.JMenu _helpMenu
Help menu for this frame.


_helpMenuItems

javax.swing.JMenuItem[] _helpMenuItems
Help menu items.


_menubar

javax.swing.JMenuBar _menubar
Menubar for this frame.


_statusBar

StatusBar _statusBar
The status bar.


_file

java.io.File _file

_lastURL

java.lang.String _lastURL

_menuPopulated

boolean _menuPopulated

_modified

boolean _modified

_centering

boolean _centering


Package ptolemy.math

Class ptolemy.math.Complex extends java.lang.Object implements Serializable

Serialized Fields

real

double real
The real part. This is a "blank final," which means that it can only be set in the constructor.


imag

double imag
The imaginary part. This is a "blank final," which means that it can only be set in the constructor.

Class ptolemy.math.FixPoint extends java.lang.Object implements Serializable

Serialized Fields

_value

java.math.BigInteger _value
The BigInteger comprising the logical floating point value multiplied by (1 << _frac_bits)


_frac_bits

int _frac_bits
The number of fraction bits within _value


_int_bits

int _int_bits
The number of integer bits within _value. This value is maintained to support FixType which relies on a value exemplar to define the full type characteristics. It only affects this class in so far as new instances may have a changed value, but this changed value is of limited utility since it just maintains backward compatibility. It is certainly wrong for cases such as the abs of max negative.


_error

FixPoint.Error _error
The obsolete error condition of the FixValue

Class ptolemy.math.FixPointQuantization extends Quantization implements Serializable

Serialized Fields

_precision

Precision _precision
The precision.

Class ptolemy.math.Overflow extends java.lang.Object implements Serializable

Serialized Fields

_name

java.lang.String _name

Class ptolemy.math.Overflow.General extends Overflow implements Serializable

Class ptolemy.math.Overflow.Grow extends Overflow implements Serializable

Class ptolemy.math.Overflow.Modulo extends Overflow implements Serializable

Class ptolemy.math.Overflow.Saturate extends Overflow implements Serializable

Class ptolemy.math.Overflow.ToZero extends Overflow implements Serializable

Class ptolemy.math.Overflow.Trap extends Overflow implements Serializable

Class ptolemy.math.Overflow.Unknown extends Overflow implements Serializable

Class ptolemy.math.Precision extends java.lang.Object implements Serializable

Serialized Fields

_length

int _length
The total number of bits.


_integerBits

int _integerBits
The number of bits in the integer part.


_fraction

int _fraction
The number of bits in the fractional part.

Class ptolemy.math.Quantization extends java.lang.Object implements Serializable

Serialized Fields

_overflow

Overflow _overflow
The overflow strategy.


_rounding

Rounding _rounding
The rounding strategy.

Class ptolemy.math.Rounding extends java.lang.Object implements Serializable

Serialized Fields

_name

java.lang.String _name

Class ptolemy.math.Rounding.General extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundCeiling extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundDown extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundFloor extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundHalfCeiling extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundHalfDown extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundHalfEven extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundHalfFloor extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundHalfUp extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundUnnecessary extends Rounding implements Serializable

Class ptolemy.math.Rounding.RoundUp extends Rounding implements Serializable

Class ptolemy.math.Rounding.Unknown extends Rounding implements Serializable


Package ptolemy.matlab

Class ptolemy.matlab.Expression extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port.


expression

StringParameter expression
The parameter that is evaluated to produce the output. Typically, this parameter evaluates an expression involving the inputs. To refer to parameters in scope within the expression, use $name or ${name}, where "name" is the name of the parameter.


get1x1asScalars

Parameter get1x1asScalars
If true (checked), 1x1 matrix results are converted to ScalarTokens instead of a 1x1 MatrixToken, default is true.


getIntegerMatrices

Parameter getIntegerMatrices
If true, all double-valued matrix results are checked to see if all elements represent integers, and if so, an IntMatrixToken is returned, default is false for performance reasons.


matlabEngine

Engine matlabEngine

engine

long[] engine

_iteration

Variable _iteration

_iterationCount

int _iterationCount

_addPathCommand

java.lang.String _addPathCommand

_previousPath

Token _previousPath

_dataParameters

Engine.ConversionParameters _dataParameters


Package ptolemy.media

Class ptolemy.media.AudioViewer extends PlotApplication implements Serializable

Serialized Fields

_dataInputStream

java.io.DataInputStream _dataInputStream

_sound

Audio _sound

_instream

java.io.ByteArrayInputStream _instream

Class ptolemy.media.Picture extends java.awt.Canvas implements Serializable

Serialized Fields

_width

int _width

_height

int _height

_pixels

int[] _pixels

_image

java.awt.Image _image

_imageSource

java.awt.image.MemoryImageSource _imageSource


Package ptolemy.moml

Class ptolemy.moml.Documentation extends StringAttribute implements Serializable

Class ptolemy.moml.EntityLibrary extends CompositeEntity implements Serializable

Serialized Fields

_base

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


_cloning

boolean _cloning
Indicate that we are cloning.


_configureDone

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


_populating

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


_configureSource

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


_configureText

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

Class ptolemy.moml.ImportAttribute extends Attribute implements Serializable

Serialized Fields

_source

java.lang.String _source
Deprecated. 

Class ptolemy.moml.LibraryAttribute extends ConfigurableAttribute implements Serializable

Serialized Fields

_library

CompositeEntity _library

_librarySet

boolean _librarySet

Class ptolemy.moml.MoMLAttribute extends Attribute implements Serializable

Serialized Fields

_momlDescription

java.util.List _momlDescription

Class ptolemy.moml.ParserAttribute extends SingletonAttribute implements Serializable

Serialized Fields

_parser

MoMLParser _parser

Class ptolemy.moml.Vertex extends Location implements Serializable

Serialized Fields

_linked

Vertex _linked

_ports

java.util.LinkedList _ports


Package ptolemy.vergil

Class ptolemy.vergil.MoMLViewerApplet extends MoMLApplet implements Serializable

Class ptolemy.vergil.TypeAnimatorApplet extends MoMLViewerApplet implements Serializable


Package ptolemy.vergil.actor

Class ptolemy.vergil.actor.ActorController.ListenToActorAction extends FigureAction implements Serializable

Serialized Fields

_configuration

Configuration _configuration

_controller

BasicGraphController _controller

_target

NamedObj _target

Class ptolemy.vergil.actor.ActorEditorGraphController.NewRelationAction extends FigureAction implements Serializable

Class ptolemy.vergil.actor.ActorGraphFrame extends ExtendedGraphFrame implements Serializable

Serialized Fields

_controller

ActorEditorGraphController _controller
The graph controller. This is created in _createGraphPane().


_debugMenu

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


_graphMenu

javax.swing.JMenu _graphMenu
The graph menu.


_createHierarchyAction

javax.swing.Action _createHierarchyAction
action for creating a level of hierarchy.


_layoutAction

javax.swing.Action _layoutAction

_saveInLibraryAction

javax.swing.Action _saveInLibraryAction

_importLibraryAction

javax.swing.Action _importLibraryAction

_instantiateEntityAction

javax.swing.Action _instantiateEntityAction

_lastClassName

java.lang.String _lastClassName
The most recent class name for instantiating a class.


_lastDelayTime

long _lastDelayTime

Class ptolemy.vergil.actor.ActorGraphTableau extends Tableau implements Serializable

Class ptolemy.vergil.actor.ActorGraphTableau.Factory extends TableauFactory implements Serializable


Package ptolemy.vergil.actor.lib

Class ptolemy.vergil.actor.lib.MonitorImage extends Sink implements Serializable

Serialized Fields

_icon

ImageIcon _icon

Class ptolemy.vergil.actor.lib.VisualModelReference extends ModelReference implements Serializable

Serialized Fields

openOnFiring

StringParameter openOnFiring
The value of this string parameter determines what open happens when the fire() method is invoked. The recognized values are:
  • "do not open" (the default)
  • "open in Vergil"
  • "open in Vergil (full screen)"
  • "open run control panel"


closeOnPostfire

StringParameter closeOnPostfire
The value of this string parameter determines what close action happens in the postfire() method. The recognized values are:
  • "do nothing" (the default)
  • "close Vergil graph"


_tableau

Tableau _tableau


Package ptolemy.vergil.basic

Class ptolemy.vergil.basic.BasicGraphController.OpenBaseClassAction extends FigureAction implements Serializable

Class ptolemy.vergil.basic.BasicGraphController.UnitSolverDialogAction extends javax.swing.AbstractAction implements Serializable

Class ptolemy.vergil.basic.BasicGraphFrame extends PtolemyFrame implements Serializable

Serialized Fields

_cutAction

javax.swing.Action _cutAction
The cut action.


_copyAction

javax.swing.Action _copyAction
The copy action.


_dropTarget

EditorDropTarget _dropTarget
The instance of EditorDropTarget associated with this object.


_editMenu

javax.swing.JMenu _editMenu
The edit menu.


_graphPanner

JCanvasPanner _graphPanner
The panner.


_jgraph

JGraph _jgraph
The instance of JGraph for this editor.


_library

javax.swing.JTree _library
The library display widget.


_libraryContextMenuCreator

PTreeMenuCreator _libraryContextMenuCreator
The library context menu creator.


_libraryModel

EntityTreeModel _libraryModel
The library model.


_libraryScrollPane

javax.swing.JScrollPane _libraryScrollPane
The library scroll pane.


_palettePane

javax.swing.JPanel _palettePane
The library display panel.


_pasteAction

javax.swing.Action _pasteAction
The paste action.


_splitPane

javax.swing.JSplitPane _splitPane
The split pane for library and editor.


_toolbar

javax.swing.JToolBar _toolbar
The toolbar.


_topLibrary

CompositeEntity _topLibrary
The library.


_redoAction

javax.swing.Action _redoAction
Action to redo the last undone MoML change.


_undoAction

javax.swing.Action _undoAction
Action to undo the last MoML change.


_zoomInAction

javax.swing.Action _zoomInAction
Action for zooming in.


_zoomResetAction

javax.swing.Action _zoomResetAction
Action for zoom reset.


_zoomFitAction

javax.swing.Action _zoomFitAction
Action for zoom fitting.


_zoomOutAction

javax.swing.Action _zoomOutAction
Action for zooming out.

Class ptolemy.vergil.basic.BasicGraphFrame.ZoomFitAction extends javax.swing.AbstractAction implements Serializable

Class ptolemy.vergil.basic.BasicGraphFrame.ZoomInAction extends javax.swing.AbstractAction implements Serializable

Class ptolemy.vergil.basic.BasicGraphFrame.ZoomOutAction extends javax.swing.AbstractAction implements Serializable

Class ptolemy.vergil.basic.BasicGraphFrame.ZoomResetAction extends javax.swing.AbstractAction implements Serializable

Class ptolemy.vergil.basic.EditorDropTarget extends java.awt.dnd.DropTarget implements Serializable

Serialized Fields

_dropIntoEnabled

boolean _dropIntoEnabled

Class ptolemy.vergil.basic.ExtendedGraphFrame extends BasicGraphFrame implements Serializable

Serialized Fields

_fullScreenAction

javax.swing.Action _fullScreenAction
Action for displaying in full-screen mode.


_previousDefaultContext

java.awt.Component _previousDefaultContext
Default context for dialogs before going to full-screen mode.


_screen

javax.swing.JDialog _screen
If we are in full-screen mode, this will be non-null.

Class ptolemy.vergil.basic.ExtendedGraphFrame.FullScreenAction extends javax.swing.AbstractAction implements Serializable

Class ptolemy.vergil.basic.NamedObjController.GetDocumentationAction extends FigureAction implements Serializable

Class ptolemy.vergil.basic.NodeControllerFactory extends SingletonAttribute implements Serializable

Class ptolemy.vergil.basic.WithIconGraphController.NewPortAction extends FigureAction implements Serializable

Serialized Fields

_prototype

IOPort _prototype


Package ptolemy.vergil.debugger

Class ptolemy.vergil.debugger.BreakpointConfigurer extends Query implements Serializable

Serialized Fields

_actor

Actor _actor

_actorProfile

DebugProfile _actorProfile

_graphController

BasicGraphController _graphController

Class ptolemy.vergil.debugger.BreakpointConfigurerDialog extends ComponentDialog implements Serializable

Class ptolemy.vergil.debugger.DebugController extends SingletonConfigurableAttribute implements Serializable

Serialized Fields

_debugRenderer

DebugRenderer _debugRenderer

_toDebug

java.util.Hashtable _toDebug


Package ptolemy.vergil.icon

Class ptolemy.vergil.icon.AttributeValueIcon extends XMLIcon implements Serializable

Serialized Fields

attributeName

StringAttribute attributeName
The name of the attribute of the container whose value to display.


displayWidth

Parameter displayWidth
The number of characters to display. This is an integer, with default value 6.

Class ptolemy.vergil.icon.BoxedValueIcon extends AttributeValueIcon implements Serializable

Class ptolemy.vergil.icon.BoxedValuesIcon extends XMLIcon implements Serializable

Serialized Fields

displayWidth

Parameter displayWidth
The number of characters to display. This is an integer, with default value 80.

Class ptolemy.vergil.icon.CopyCatIcon extends XMLIcon implements Serializable

Serialized Fields

_originalDescription

java.lang.String _originalDescription

Class ptolemy.vergil.icon.DynamicEditorIcon extends EditorIcon implements Serializable

Serialized Fields

_figures

java.util.List _figures

Class ptolemy.vergil.icon.EditIconFrame extends BasicGraphFrame implements Serializable

Serialized Fields

_controller

EditIconGraphController _controller

_lastDelayTime

long _lastDelayTime

_ZOOM_SCALE

double _ZOOM_SCALE

Class ptolemy.vergil.icon.EditIconTableau extends Tableau implements Serializable

Class ptolemy.vergil.icon.EditIconTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.vergil.icon.EditorIcon extends Attribute implements Serializable

Serialized Fields

_containerToBe

NamedObj _containerToBe
The container to be eventually the container for this icon.


_iconCache

javax.swing.Icon _iconCache
The cached Swing icon.

Class ptolemy.vergil.icon.ImageIcon extends DynamicEditorIcon implements Serializable

Serialized Fields

_height

int _height

_image

java.awt.Image _image

_scaledImage

java.awt.Image _scaledImage

_scalePercentage

double _scalePercentage

_width

int _width

Class ptolemy.vergil.icon.ResizableAttributeControllerFactory extends NodeControllerFactory implements Serializable

Class ptolemy.vergil.icon.ShapeIcon extends DynamicEditorIcon implements Serializable

Serialized Fields

_centered

boolean _centered

_defaultShape

java.awt.Shape _defaultShape

_fillColor

java.awt.Color _fillColor

_lineColor

java.awt.Color _lineColor

_lineWidth

float _lineWidth

_shape

java.awt.Shape _shape

_scalePercentage

double _scalePercentage

Class ptolemy.vergil.icon.SVGIcon extends EditorIcon implements Serializable

Serialized Fields

_description

ConfigurableAttribute _description

_smallIconDescription

ConfigurableAttribute _smallIconDescription

Class ptolemy.vergil.icon.TextIcon extends DynamicEditorIcon implements Serializable

Serialized Fields

_DEFAULT_TEXT

java.lang.String _DEFAULT_TEXT

_font

java.awt.Font _font

_ICON_TEXT

java.lang.String _ICON_TEXT

_textColor

java.awt.Color _textColor

_text

java.lang.String _text

Class ptolemy.vergil.icon.UpdatedValueIcon extends AttributeValueIcon implements Serializable

Serialized Fields

_associatedAttribute

Settable _associatedAttribute
The attribute whose value is being represented.

Class ptolemy.vergil.icon.ValueIcon extends XMLIcon implements Serializable

Class ptolemy.vergil.icon.XMLIcon extends DynamicEditorIcon implements Serializable

Serialized Fields

_paintedList

PaintedList _paintedList

_description

ConfigurableAttribute _description

_smallIconDescription

ConfigurableAttribute _smallIconDescription


Package ptolemy.vergil.fsm

Class ptolemy.vergil.fsm.FSMGraphController.NewStateAction extends FigureAction implements Serializable

Class ptolemy.vergil.fsm.FSMGraphFrame extends ExtendedGraphFrame implements Serializable

Serialized Fields

_controller

FSMGraphController _controller

_debugMenu

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


_graphMenu

javax.swing.JMenu _graphMenu
The graph menu.


_lastDelayTime

long _lastDelayTime

Class ptolemy.vergil.fsm.FSMGraphTableau extends Tableau implements Serializable

Class ptolemy.vergil.fsm.FSMGraphTableau.Factory extends TableauFactory implements Serializable


Package ptolemy.vergil.fsm.ia

Class ptolemy.vergil.fsm.ia.InterfaceAutomatonGraphController.ComposeWithAction extends javax.swing.AbstractAction implements Serializable

Class ptolemy.vergil.fsm.ia.InterfaceAutomatonGraphFrame extends FSMGraphFrame implements Serializable

Class ptolemy.vergil.fsm.ia.InterfaceAutomatonGraphTableau extends FSMGraphTableau implements Serializable

Class ptolemy.vergil.fsm.ia.InterfaceAutomatonGraphTableau.Factory extends TableauFactory implements Serializable


Package ptolemy.vergil.kernel.attributes

Class ptolemy.vergil.kernel.attributes.DocumentationAttribute extends Attribute implements Serializable

Class ptolemy.vergil.kernel.attributes.EllipseAttribute extends FilledShapeAttribute implements Serializable

Class ptolemy.vergil.kernel.attributes.FilledShapeAttribute extends ShapeAttribute implements Serializable

Serialized Fields

centered

Parameter centered
Indicator of whether the shape should be centered on the location. This is a boolean that defaults to false, which means that the location is the upper left corner.


fillColor

ColorAttribute fillColor
The line color. This is a string representing an array with four elements, red, green, blue, and alpha, where alpha is transparency. The default is "{0.0, 0.0, 0.0, 1.0}", which represents an opaque black.


height

Parameter height
The vertical extent. This is a double that defaults to 100.0.


width

Parameter width
The horizontal extent. This is a double that defaults to 100.0.


_centeredValue

boolean _centeredValue
Most recently set value of the centered parameter.


_heightValue

double _heightValue
Most recently set value of the height parameter.


_widthValue

double _widthValue
Most recently set value of the width parameter.

Class ptolemy.vergil.kernel.attributes.ImageAttribute extends Attribute implements Serializable

Serialized Fields

scale

Parameter scale
The scale, as a percentage. This is a double that defaults to 100.0.


source

FileParameter source
The source image file. This is a file name or URL, where the default is "$CLASSPATH/doc/img/ptIIplanetIcon.gif".


_icon

ImageIcon _icon

Class ptolemy.vergil.kernel.attributes.LineAttribute extends ShapeAttribute implements Serializable

Serialized Fields

x

Parameter x
The horizontal extent. This is a double that defaults to 100.0.


y

Parameter y
The y extent. This is a double that defaults to 0.0.

Class ptolemy.vergil.kernel.attributes.RectangleAttribute extends FilledShapeAttribute implements Serializable

Serialized Fields

rounding

Parameter rounding
The amount of rounding of the corners. This is a double that defaults to 0.0, which indicates no rounding.


_roundingValue

double _roundingValue
Most recent value of the rounding parameter.

Class ptolemy.vergil.kernel.attributes.ResizablePolygonAttribute extends FilledShapeAttribute implements Serializable

Serialized Fields

vertices

Parameter vertices
The amount of vertices of the corners. This is a double that defaults to 0.0, which indicates no vertices. The default value specifies a rhombus.

Class ptolemy.vergil.kernel.attributes.ShapeAttribute extends Attribute implements Serializable

Serialized Fields

lineColor

ColorAttribute lineColor
The line color. This is a string representing an array with four elements, red, green, blue, and alpha, where alpha is transparency. The default is "{0.0, 0.0, 0.0, 1.0}", which represents an opaque black.


lineWidth

Parameter lineWidth
The line width. This is a double that defaults to 1.0.


_icon

ShapeIcon _icon
The shape icon.


_none

Variable _none
A color parameter whose value is a fully transparent white (alpha = 0.0), which is interepreted as no color.

Class ptolemy.vergil.kernel.attributes.TextAttribute extends Attribute implements Serializable

Serialized Fields

bold

Parameter bold
A boolean indicating whether the font should be bold. This defaults to false.


fontFamily

StringParameter fontFamily
The font family. This is a string that defaults to "SansSerif".


italic

Parameter italic
A boolean indicating whether the font should be italic. This defaults to false.


text

StringAttribute text
The text. This is a string that defaults to "Double click to edit text."


textColor

ColorAttribute textColor
The text color. This is a string representing an array with four elements, red, green, blue, and alpha, where alpha is transparency. The default is "{0.0, 0.0, 0.0, 1.0}", which represents an opaque black.


textSize

Parameter textSize
The text size. This is an int that defaults to 14.


_icon

TextIcon _icon
The text icon.


_inAttributeChanged

boolean _inAttributeChanged


Package ptolemy.vergil.toolbox

Class ptolemy.vergil.toolbox.AnnotationEditorFactory extends EditorFactory implements Serializable

Serialized Fields

_container

NamedObj _container
Deprecated. 
The container.


_fontProperties

Query _fontProperties
Deprecated. 
Query box for font properties.


_fontSize

java.lang.String _fontSize
Deprecated. 
Font characteristic.


_fontFamily

java.lang.String _fontFamily
Deprecated. 

_fontColor

java.lang.String _fontColor
Deprecated. 

_iconDescription

ConfigurableAttribute _iconDescription
Deprecated. 
The attribute containing the icon description.


_textArea

javax.swing.JTextArea _textArea
Deprecated. 
The text area of the editor.

Class ptolemy.vergil.toolbox.AnnotationEditorFactory.AnnotationTextEditor extends javax.swing.JPanel implements Serializable

Class ptolemy.vergil.toolbox.ConfigureAction extends FigureAction implements Serializable

Class ptolemy.vergil.toolbox.EditIconAction extends FigureAction implements Serializable

Serialized Fields

_configuration

Configuration _configuration

Class ptolemy.vergil.toolbox.FigureAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

_figure

Figure _figure

_frame

java.awt.Frame _frame

_sourceType

FigureAction.SourceType _sourceType

_target

NamedObj _target

_x

int _x

_y

int _y

Class ptolemy.vergil.toolbox.FileEditorTableauFactory extends TableauFactory implements Serializable

Serialized Fields

attributeName

StringAttribute attributeName
The name of the file attribute giving the file name or URL.

Class ptolemy.vergil.toolbox.PtolemyListCellRenderer extends javax.swing.DefaultListCellRenderer implements Serializable

Class ptolemy.vergil.toolbox.PtolemyTransferable extends java.lang.Object implements Serializable

Serialized Fields

_flavors

java.awt.datatransfer.DataFlavor[] _flavors

_objectList

java.util.List _objectList

Class ptolemy.vergil.toolbox.RemoveIconAction extends FigureAction implements Serializable

Serialized Fields

_configuration

Configuration _configuration

Class ptolemy.vergil.toolbox.TextEditorConfigureFactory extends EditorFactory implements Serializable

Serialized Fields

attributeName

StringAttribute attributeName
The name of the string attribute that is to be edited.


columnsDisplayed

Parameter columnsDisplayed
The horizontal size of the display, in columns. This contains an integer, and defaults to 40.


rowsDisplayed

Parameter rowsDisplayed
The vertical size of the display, in rows. This contains an integer, and defaults to 10.


_editor

TextEditorForStringAttributes _editor

Class ptolemy.vergil.toolbox.TextEditorForStringAttributes extends TextEditor implements Serializable

Serialized Fields

_factory

TextEditorFactory _factory

_attributeToEdit

StringAttribute _attributeToEdit

Class ptolemy.vergil.toolbox.TextEditorTableauFactory extends TableauFactory implements Serializable

Serialized Fields

attributeName

StringAttribute attributeName
The name of the string attribute that is to be edited.


columnsDisplayed

Parameter columnsDisplayed
The horizontal size of the display, in columns. This contains an integer, and defaults to 40.


rowsDisplayed

Parameter rowsDisplayed
The vertical size of the display, in rows. This contains an integer, and defaults to 10.


_editor

TextEditorForStringAttributes _editor

Class ptolemy.vergil.toolbox.VisibleParameterEditorFactory extends EditorFactory implements Serializable

Serialized Fields

_oldExpression

java.lang.String _oldExpression


Package ptolemy.vergil.tree

Class ptolemy.vergil.tree.PtolemyTreeCellRenderer extends javax.swing.tree.DefaultTreeCellRenderer implements Serializable

Class ptolemy.vergil.tree.PTree extends javax.swing.JTree implements Serializable

Class ptolemy.vergil.tree.TreeEditor extends javax.swing.JFrame implements Serializable

Class ptolemy.vergil.tree.TreeEditorPanel extends javax.swing.JScrollPane implements Serializable

Serialized Fields

_parser

MoMLParser _parser
The parser being used for this model.


_toplevel

NamedObj _toplevel
The top-level entity of the model.

Class ptolemy.vergil.tree.TreeTableau extends Tableau implements Serializable

Class ptolemy.vergil.tree.TreeTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.vergil.tree.TreeTableau.TreeFrame extends PtolemyFrame implements Serializable