public class PtinyOSDirector extends ComponentDirector
| Constructor and Description |
|---|
PtinyOSDirector() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initialize the component.
|
void |
letTimePass(double timeInterval,
boolean atomic)
Call fireAtRelativeTime() with the specified time interval
and then suspend the calling thread.
|
void |
preinitialize()
Preinitialize the component.
|
void |
reactAt(double time,
Component component)
Request that the react() method of the specified component
be invoked at the specified time.
|
void |
run()
Execute the component.
|
void |
wrapup()
Wrap up an execution.
|
public PtinyOSDirector()
public void initialize() throws IllegalActionException
initialize in interface Componentinitialize in class ComponentDirectorIllegalActionException - If initialization
cannot be completed.public void letTimePass(double timeInterval, boolean atomic)
timeInterval - The time interval.atomic - True to disable interrupts.public void preinitialize() throws IllegalActionException
preinitialize in interface Componentpreinitialize in class ComponentDirectorIllegalActionException - If preinitialization
cannot be completed.public void reactAt(double time, Component component)
time - The time at which to invoke react().component - PtinyOSComponent The requesting component.public void run() throws IllegalActionException
run in interface Componentrun in class ComponentDirectorIllegalActionException - If the run cannot be completed.public void wrapup() throws IllegalActionException
wrapup in interface Componentwrapup in class ComponentDirectorIllegalActionException - If wrapup fails.