cz.cuni.amis.pogamut.sposh.engine.timer
Interface ITimer

Package class diagram package ITimer
All Known Implementing Classes:
DebugTimer, SystemClockTimer

public interface ITimer

Timer used for things like frequency checking of sposh plans.

Author:
Honza

Method Summary
 long getTime()
           
 void init()
          Initialize timer, e.g. synchronize it with system closk or anything.
 boolean isSuspended()
          Is the timer suspended?
 void resume()
          Resume suspended timer
 void suspend()
          Suspend timer, until resume() is called, stop the clock.
 

Method Detail

init

void init()
Initialize timer, e.g. synchronize it with system closk or anything.


suspend

void suspend()
Suspend timer, until resume() is called, stop the clock.


isSuspended

boolean isSuspended()
Is the timer suspended?


resume

void resume()
Resume suspended timer


getTime

long getTime()
Returns:
time


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.