public interface RefinementActor extends TypedActor
| Red (tfeng) |
| Red (tfeng) |
COMPLETED, NOT_READY, STOP_ITERATING| Modifier and Type | Method and Description |
|---|---|
void |
addRefinement(State state,
java.lang.String name,
Entity template,
java.lang.String className,
InstanceOpener instanceOpener)
Create a refinement for the given state.
|
State |
getRefinedState()
Return the state (or event, which subclasses state) that this actor
refines.
|
void |
setMirrorDisable(int disable)
Control whether adding a port should be mirrored in the modal
model and the mode controller.
|
isBackwardTypeInferenceEnabled, typeConstraintscreateReceivers, getCausalityInterface, getDirector, getExecutiveDirector, getManager, inputPortList, newReceiver, outputPortListfire, isFireFunctional, isStrict, iterate, postfire, prefire, stop, stopFire, terminateaddInitializable, initialize, preinitialize, removeInitializable, wrapupdescription, getContainer, getDisplayName, getFullName, getName, getName, setNamevoid addRefinement(State state, java.lang.String name, Entity template, java.lang.String className, InstanceOpener instanceOpener) throws IllegalActionException
state - The state that will contain the new refinement.name - The name of the composite entity that stores the refinement.template - The template used to create the refinement, or null if
template is not used.className - The class name for the refinement, which is used when
template is null.instanceOpener - The instanceOpener, typically a
Configuration, that is used to open the refinement (as a
look-inside action) after it is created, or null if it is not
needed to open the refinement.IllegalActionException - If error occurs while creating the
refinement.State getRefinedState() throws IllegalActionException
IllegalActionException - If thrown while trying to find the
refined state or event.void setMirrorDisable(int disable)
disable - 0 if mirroring should occur, -1
if mirroring should not occur downwards in the hierarchy,
1 if mirroring should not occur upwards in the hierarchy.