edu.udo.cs.ie.cowbots.env
Class MassimMonitor.MassimDirUpdate

Package class diagram package MassimMonitor.MassimDirUpdate
java.lang.Object
  extended by java.lang.Thread
      extended by edu.udo.cs.ie.cowbots.env.MassimMonitor.MassimDirUpdate
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
MassimMonitor

 class MassimMonitor.MassimDirUpdate
extends java.lang.Thread

this class observes a massim 2010 svg output directory. it automatically switches to the latest directory and tries to take the path of the masSim-0.svg and masSim-X.svg (X is the current turn).


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  java.lang.String listenDir
           
protected  boolean running
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MassimMonitor.MassimDirUpdate(java.lang.String svgRoot)
           
 
Method Summary
protected  boolean isRunning()
           
 void run()
          thread routine
 void shutdown()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

running

protected boolean running

listenDir

protected java.lang.String listenDir
Constructor Detail

MassimMonitor.MassimDirUpdate

public MassimMonitor.MassimDirUpdate(java.lang.String svgRoot)
Method Detail

run

public void run()
thread routine

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

isRunning

protected boolean isRunning()

shutdown

public void shutdown()