|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Actor
An Actor is an executable entity. This interface defines the common functionality in AtomicActor and CompositeActor.
CompositeActor
,
AtomicActor
Green (davisj) |
Green (eal) |
Field Summary |
---|
Fields inherited from interface ptolemy.actor.Executable |
---|
COMPLETED, NOT_READY, STOP_ITERATING |
Method Summary | |
---|---|
void |
createReceivers()
Create receivers for all necessary ports. |
CausalityInterface |
getCausalityInterface()
Return a causality interface for this actor. |
Director |
getDirector()
Return the local director, if there is one, otherwise the executive director, if there is one, otherwise null. |
Director |
getExecutiveDirector()
Return the executive director, if there is one, otherwise return null. |
Manager |
getManager()
Return the Manager, if there is one. |
java.util.List |
inputPortList()
Return a list of the input ports of this actor. |
Receiver |
newReceiver()
Return a new receiver of a type compatible with the executive director. |
java.util.List |
outputPortList()
Return a list of the output ports of this actor. |
Methods inherited from interface ptolemy.actor.Executable |
---|
fire, isFireFunctional, isStrict, iterate, postfire, prefire, stop, stopFire, terminate |
Methods inherited from interface ptolemy.actor.Initializable |
---|
addInitializable, initialize, preinitialize, removeInitializable, wrapup |
Methods inherited from interface ptolemy.kernel.util.Nameable |
---|
description, getContainer, getDisplayName, getFullName, getName, getName, setName |
Method Detail |
---|
void createReceivers() throws IllegalActionException
IllegalActionException
- If any port throws it.AtomicActor.createReceivers()
,
CompositeActor.createReceivers()
Director getDirector()
Director getExecutiveDirector()
CausalityInterface getCausalityInterface() throws IllegalActionException
IllegalActionException
- Thrown if causality interface cannot be computed.Manager getManager()
java.util.List inputPortList()
Receiver newReceiver() throws IllegalActionException
IllegalActionException
- If there is no director.java.util.List outputPortList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |