aa4mm.basic.time_types
Class SimulTime

java.lang.Object
  extended by aa4mm.basic.time_types.SimulTime

public abstract class SimulTime
extends java.lang.Object

This class represent time values and useful operation we can do on it

Since:
Darjeeling
Author:
julien siebert

Field Summary
protected  double timeValue
          The time value
 
Constructor Summary
SimulTime()
          Default constructor.
 
Method Summary
 double getTimeValue()
           
abstract  void setTimeFromModel(java.lang.Object myModelTimeValue)
          Set the time value from a value given by a simulator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeValue

protected double timeValue
The time value

Constructor Detail

SimulTime

public SimulTime()
Default constructor. It sets the timeValue to 0.0

Method Detail

setTimeFromModel

public abstract void setTimeFromModel(java.lang.Object myModelTimeValue)
Set the time value from a value given by a simulator. This method must implement the TIME OPERATION (i.e. translate from local model time to global virtual time) in order to exchange data with coherent and compatible time values.

Parameters:
myModelTimeValue -

getTimeValue

public double getTimeValue()
Returns:
the time value