sidnet.stack.driver
Class SimpleTimer

java.lang.Object
  extended by sidnet.stack.driver.SimpleTimer

public class SimpleTimer
extends java.lang.Object


Field Summary
protected  boolean busy
           
protected  boolean canceled
           
protected  int id
           
protected  double lastMomentOfPause
           
protected  boolean paused
           
protected  boolean started
           
protected  double stime
           
protected  boolean terminated
           
protected  double totalPauseTime
           
protected  double wtime
           
 
Constructor Summary
SimpleTimer(MainLine mainLine)
           
 
Method Summary
 boolean busy()
           
 void cancel()
          Cancel timer
 boolean canceled()
           
 void pause()
          Pause timer
 boolean paused()
           
 void resetTimer()
           
 void resume()
          Resume timer
 void startTimer(double time)
          /** Start timer
 void stopTimerr()
           
 void timeout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

started

protected boolean started

busy

protected boolean busy

paused

protected boolean paused

canceled

protected boolean canceled

terminated

protected boolean terminated

stime

protected double stime

wtime

protected double wtime

lastMomentOfPause

protected double lastMomentOfPause

totalPauseTime

protected double totalPauseTime

id

protected int id
Constructor Detail

SimpleTimer

public SimpleTimer(MainLine mainLine)
Method Detail

timeout

public void timeout()

resetTimer

public void resetTimer()

startTimer

public void startTimer(double time)
/** Start timer


cancel

public void cancel()
Cancel timer


canceled

public boolean canceled()

busy

public boolean busy()

paused

public boolean paused()

pause

public void pause()
Pause timer


resume

public void resume()
Resume timer


stopTimerr

public void stopTimerr()