public interface Initializable
Modifier and Type | Method and Description |
---|---|
void |
addInitializable(Initializable initializable)
Add the specified object to the set of objects whose
preinitialize(), initialize(), and wrapup()
methods should be invoked upon invocation of the corresponding
methods of this object.
|
void |
initialize()
Begin execution of the actor.
|
void |
preinitialize()
This method should be invoked exactly once per execution
of a model, before any of these other methods are invoked.
|
void |
removeInitializable(Initializable initializable)
Remove the specified object from the set of objects whose
preinitialize(), initialize(), and wrapup()
methods should be invoked upon invocation of the corresponding
methods of this object.
|
void |
wrapup()
This method is invoked exactly once per execution
of an application.
|
void addInitializable(Initializable initializable)
initializable
- The object whose methods should be invoked.removeInitializable(Initializable)
void initialize() throws IllegalActionException
IllegalActionException
- If execution is not permitted.void preinitialize() throws IllegalActionException
IllegalActionException
- If initializing is not permitted.void removeInitializable(Initializable initializable)
initializable
- The object whose methods should no longer be invoked.addInitializable(Initializable)
void wrapup() throws IllegalActionException
IllegalActionException
- If wrapup is not permitted.