public class ControlTimer extends SimNotifier
ControlTimer is an class which is able to look upon the system
time and calls the
EndOfTransientPhaseEndOfBatch
member functions of the SimNotifier to indicate that the desired
times of the transient and batch phase are reached.
The Constructor needs
ReflectionConstructable to parse
and create objects of type ControlTimer.endOfBatchNotifier, endOfTransientPhaseNotifierCREATE_INSTANCE_METHOD_NAME| Constructor and Description |
|---|
ControlTimer(Duration transientPhaseDuration,
Duration batchPhaseDuration) |
| Modifier and Type | Method and Description |
|---|---|
static ControlTimer |
createInstance(SimNode ownNode,
Parameters pars)
as required by
ReflectionConstructable |
void |
handleStartBatch(int batchNumber) |
void |
handleStartTransientPhase() |
deregisterSimNotifier, endOfBatch, endOfTransientPhase, handleStartSimulation, registerSimNotifierpublic static ControlTimer createInstance(SimNode ownNode, Parameters pars)
ReflectionConstructablepublic void handleStartTransientPhase()
handleStartTransientPhase in class SimNotifierpublic void handleStartBatch(int batchNumber)
handleStartBatch in class SimNotifier