03.08.2013 Views

PTOLEMY II - CiteSeerX

PTOLEMY II - CiteSeerX

PTOLEMY II - CiteSeerX

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Introduction<br />

and their presence in subclasses and instances will be implied by their presence in the class definition.<br />

The InstantiableNamedObj subclass of NamedObj is the base class for objects that can serve as class<br />

definitions, subclass definitions, or instances of classes. Currently, only Entity and its subclasses can<br />

play the role of a class or instance.<br />

The Executable interface, explained in the actors chapter of volume 2, defines objects that can be<br />

executed. The Actor interface extends this with capability for transporting data through ports. AtomicActor<br />

and CompositeActor are concrete classes that implement this interface. The Executable and<br />

«Interface»<br />

Changeable<br />

Attribute<br />

«Interface»<br />

Executable<br />

«Interface»<br />

Actor<br />

0..n<br />

Manager<br />

«Interface»<br />

Debuggable<br />

0..1<br />

IntantiableNamedObj<br />

Entity<br />

ComponentEntity CompositeEntity<br />

AtomicActor<br />

0..1<br />

«Interface»<br />

DebugListener<br />

NamedObj<br />

0..1<br />

container<br />

0..n container<br />

0..n<br />

0..1<br />

0..n<br />

{consistency}<br />

1<br />

CompositeActor<br />

Director<br />

FIGURE 1.16. Some of the key classes in Ptolemy <strong>II</strong>. These are defined in the kernel, kernel.util, and actor<br />

packages. They define the Ptolemy <strong>II</strong> abstract syntax and abstract semantics.<br />

0..1<br />

«Interface»<br />

Derivable<br />

«Interface»<br />

Instantiable<br />

0..n<br />

«Interface»<br />

Nameable<br />

Workspace<br />

30 Ptolemy <strong>II</strong><br />

Port<br />

container<br />

1<br />

0..n<br />

1<br />

0..1<br />

link<br />

0..n<br />

0..n<br />

ComponentPort<br />

0..n<br />

Relation<br />

ComponentRelation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!