public interface Actor extends Executable, Nameable
CompositeActor
,
AtomicActor
COMPLETED, NOT_READY, STOP_ITERATING
Modifier and Type | Method and Description |
---|---|
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.
|
fire, isFireFunctional, isStrict, iterate, postfire, prefire, stop, stopFire, terminate
addInitializable, initialize, preinitialize, removeInitializable, wrapup
description, getContainer, getDisplayName, getFullName, getName, getName, setName
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()