josx.robotics
Class ActivityBase
java.lang.Object
java.lang.Thread
josx.robotics.ActivityBase
- Direct Known Subclasses:
- Activity
- public abstract class ActivityBase
- extends 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.
- See Also:
Activity
Constructor Summary |
ActivityBase()
Set this thread to be a daemon thread. |
Methods inherited from class java.lang.Thread |
currentThread, getPriority, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, run, setDaemon, setPriority, sleep, start, yield |
monitor
protected static final Object monitor
ActivityBase
public ActivityBase()
- Set this thread to be a daemon thread.