- Ptolemy II 0.2
Interface Summary Interface Description ActorAn Actor is an executable entity. ActorExecutionAspectAn interface for objects that can intervene in the execution of actors. ActorFiringListenerA FiringEventListener listens for events that are issued during AtomicActor's iterations. ApplicationConfigurerA marker interface indicating that a class is used to configure a Ptolemy IIapplication. CommunicationAspectAn interface for objects that can intervene in communication between actors. CommunicationAspectListenerThis interface defines a listener for communication aspects. ExecutableThis interface defines the action methods, which determine how an object can be invoked. ExecutionAspectListenerThis is an interface for an execution aspect. ExecutionListenerAn ExecutionListener listens for events that are issued during the execution of a model by a Manager. FiringsRecordableInterface for entities that can report FiringEvents. InitializableThis interface defines a subset of the action methods for initialization and wrapup. InstanceOpenerAn interface that is used to open an instance of a NamedObj. IOPortEventListenerListen for events that are issued during the send(), broadcast(), sendInside(), get(), getInside() function calls of an IOPort. LibrariableClasses that implement this interface are assumed to be in the actor library. QuasiTransparentDirectorThis is a marker interface for modal directors. ReceiverInterface for objects that can hold tokens. StateReceiverThis is a marker interface for receivers that have state semantics. SuperdenseTimeDirectorThis is an interface for directors that use a superdense model of time. TimedActorThis is a marker interface for actors that operate on time-based signals. TimeRegulatorThis interface is implemented by attributes that wish to be consulted when a director advances time. TokenGotListener Deprecated.Use IOPortEventListener instead. TokenSentListener Deprecated.Use IOPortEventListener instead. TypedActorA TypedActor is an actor whose ports have types. TypeListenerAn interface implemented by objects that are interested in being kept informed about type changes in a Typeable object.
Class Summary Class Description AbstractInitializableAttributeAn abstract base class for attributes that are preinitialized, initialized, and wrapped up during execution of a model. AbstractReceiverAn abstract implementation of the Receiver interface. AtomicActor<T extends IOPort>An AtomicActor is an executable entity that cannot itself contain other actors. CommunicationAspectAttributesAttributes for ports decorated by a communication aspect. CompositeActorA CompositeActor is an aggregation of actors. ConstantPublisherPortThis is a specialized output port that publishes constant data sent on the specified named channel. DesignPatternGetMoMLActionAn action that generates the Moml for a group of states to be used as a design pattern. DirectorA Director governs the execution within a CompositeActor. DoNothingDirectorA director that does nothing, for use in models that have no useful execution. ExecutionAspectHelperThis is a helper class for execution aspects used in AtomicExecutionAspect and CompositeExecutionAspect. ExecutionAttributesContainer for decorator attributes that are provided to actors by a ExecutionAspect. FiringEventAn event that is published by directors whenever an actor is activated. FiringEvent.FiringEventTypeA type of firing event that can be published. GraphReaderThis class provides methods for converting Ptolemy II models into generic graph representations. IntermediateReceiverA receiver that delegates to another receiver all method calls except
IntermediateReceiver.put(Token)(and its variants), for which it delegates to a communication aspect.
IOPortThis class supports exchanging data between entities via message passing. IOPortEventAn event that is published by an IOPort when a token or tokens are sent or received. IORelationThis class mediates connections between ports that can send data to one another via message passing. LazyTypedCompositeActorAn aggregation of typed actors with lazy evaluation. LocalClockA clock that keeps track of model time at a level of the model hierarchy and relates it to the time of the enclosing model, if there is one. MailboxA token holder with capacity one. ManagerA Manager governs the execution of a model in a domain-independent way. Manager.StateInstances of this class represent phases of execution, or the state of the manager. PublisherPortThis is a specialized output port that publishes data sent through it on the specified named channel. PubSubPortAn abstract base class for publisher and subscriber ports. QueueReceiverA first-in, first-out (FIFO) queue receiver with variable capacity and optional history. RelationWidthInferenceA class that offers convenience utility methods to infer the widths of relations in a composite actor. StreamExecutionListenerA default implementation of the ExecutionListener interface. SubscriberPortThis is a specialized input port that subscribes to data sent to it on the specified named channel. SubscriptionAggregatorPortAggregate data produced by multiple publishers. TokenGotEvent Deprecated.Use IOPortEvent instead. TokenSentEvent Deprecated.Use IOPortEvent instead. TypeAttributeAn attribute for defining a data type for a port. TypedAtomicActorA TypedAtomicActor is an AtomicActor whose ports and parameters have types. TypedCompositeActorA TypedCompositeActor is an aggregation of typed actors. TypedIOPortAn IOPort with a type. TypedIORelationThis class overrides some of the methods in IORelation to ensure that TypedIOPorts are only connected to TypedIOPorts. TypeEventA TypeEvent represents a type change on a Typeable object. TypeOpaqueCompositeActorA composite actor whose ports have types, but the actors inside are not required to be typed.
Enum Summary Enum Description CommunicationAspectListener.EventTypeType of the event. ExecutionAspectListener.ExecutionEventTypeExecution time event types.
Exception Summary Exception Description InvariantViolationExceptionThrown when an invariant is violated. NoRoomExceptionThis exception is thrown when an attempt is made to put a token into a receiver that does not have room to accommodate one. NoTokenExceptionThis exception is thrown when an attempt is made to get a token from a receiver that does not contain one. TypeConflictExceptionThrown on detecting type conflicts. TypedIOPort.RunTimeTypeCheckExceptionException class for run-time type errors.