rcx.josx.robotics
Class ActivityBase

java.lang.Object
  extended by java.lang.Thread
      extended by rcx.josx.robotics.ActivityBase
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
Activity

public abstract class ActivityBase
extends java.lang.Thread

Useful base class. Makes it less obvious that we happen to be subclassing Thread. In addition if you need an activity that executes whenever a Activity is executed, you can subclass this and waut() on monitor.

Author:
Paul Andrews
See Also:
Activity

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ActivityBase()
          Set this thread to be a daemon thread.
 
Method Summary
 
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityBase

public ActivityBase()
Set this thread to be a daemon thread.