org.simulator.sbml
Class EventInProcessWithDelay

java.lang.Object
  extended by org.simulator.sbml.EventInProcess
      extended by org.simulator.sbml.EventInProcessWithDelay

public class EventInProcessWithDelay
extends EventInProcess

This class represents a compilation of all information calculated during simulation concerning events. An EventInProcessWithDelay especially stands for an event with delay.

Since:
0.9
Version:
$Rev: 147 $
Author:
Alexander Dörr

Field Summary
 
Fields inherited from class org.simulator.sbml.EventInProcess
assignments, delayObject, execTimes, fired, lastTimeExecuted, lastTimeFired, lastTimeRecovered, persistent, priority, priorityObject, ruleObjects, triggerObject, useValuesFromTriggerTime, values
 
Constructor Summary
EventInProcessWithDelay(boolean fired)
          Creates a new EventInProcessWithDelay with the given boolean value indicating whether or not it can fire at time point 0d.
 
Method Summary
 void aborted(double time)
          The event has been aborted between trigger and execution.
 void addValues(java.lang.Double[] values, double time)
          The event associated with this class has been triggered.
 void executed(double time)
          The event associated with this class has been executed therefore reset some values.
 void refresh(boolean fired)
           
 void refresh(double currentTime)
          Refreshes the status of the event regarding the current time.
 
Methods inherited from class org.simulator.sbml.EventInProcess
addAssignment, addRuleObject, changePriority, clearAssignments, clearRuleObjects, fired, getAssignments, getDelayObject, getFireStatus, getLastTimeExecuted, getLastTimeFired, getNumEventAssignments, getPersistent, getPriority, getPriorityObject, getRuleObjects, getTime, getTriggerObject, getUseValuesFromTriggerTime, getValues, hasExecutionTime, hasMoreAssignments, recovered, setDelayObject, setPersistent, setPriorityObject, setTriggerObject, setUseValuesFromTriggerTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventInProcessWithDelay

EventInProcessWithDelay(boolean fired)
Creates a new EventInProcessWithDelay with the given boolean value indicating whether or not it can fire at time point 0d.

Parameters:
fired -
Method Detail

refresh

public void refresh(boolean fired)
Overrides:
refresh in class EventInProcess

aborted

public void aborted(double time)
Description copied from class: EventInProcess
The event has been aborted between trigger and execution. For this class it has the same effect as the event has been executed.

Overrides:
aborted in class EventInProcess

addValues

public void addValues(java.lang.Double[] values,
                      double time)
Description copied from class: EventInProcess
The event associated with this class has been triggered. Therefore set the time of execution and the values used at this point in time. Please note that values can be null when the event does not use values from trigger time.

Overrides:
addValues in class EventInProcess

executed

public void executed(double time)
Description copied from class: EventInProcess
The event associated with this class has been executed therefore reset some values.

Overrides:
executed in class EventInProcess

refresh

public void refresh(double currentTime)
Description copied from class: EventInProcess
Refreshes the status of the event regarding the current time.

Overrides:
refresh in class EventInProcess