org.mbari.siam.foce.devices.controlLoop
Class ControlLoopWorker

java.lang.Object
  extended by java.lang.Thread
      extended by org.mbari.siam.foce.devices.controlLoop.WorkerThread
          extended by org.mbari.siam.foce.devices.controlLoop.ControlLoopWorker
All Implemented Interfaces:
java.lang.Runnable

public class ControlLoopWorker
extends WorkerThread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  ControlProcessIF _controlProcess
           
protected  ControlResponseIF _controlResponse
           
protected static org.apache.log4j.Logger _log4j
           
 
Fields inherited from class org.mbari.siam.foce.devices.controlLoop.WorkerThread
_initialized, _name, _pause, _running, _terminate, _updatePeriodMillisec
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ControlLoopWorker(ControlProcessIF controlProcess, ControlResponseIF controlResponse, long updatePeriodMillisec)
           
ControlLoopWorker(ControlProcessIF controlProcess, ControlResponseIF controlResponse, long updatePeriodMillisec, java.lang.String name)
           
 
Method Summary
 void doWorkerAction()
           
 void setResponse(ControlResponseIF response)
           
 
Methods inherited from class org.mbari.siam.foce.devices.controlLoop.WorkerThread
delay, initialize, isInitialized, isRunning, name, pause, run, setUpdatePeriod, setWorkerName, shutdown, terminate
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log4j

protected static org.apache.log4j.Logger _log4j

_controlResponse

protected ControlResponseIF _controlResponse

_controlProcess

protected ControlProcessIF _controlProcess
Constructor Detail

ControlLoopWorker

public ControlLoopWorker(ControlProcessIF controlProcess,
                         ControlResponseIF controlResponse,
                         long updatePeriodMillisec)

ControlLoopWorker

public ControlLoopWorker(ControlProcessIF controlProcess,
                         ControlResponseIF controlResponse,
                         long updatePeriodMillisec,
                         java.lang.String name)
Method Detail

doWorkerAction

public void doWorkerAction()
Specified by:
doWorkerAction in class WorkerThread

setResponse

public void setResponse(ControlResponseIF response)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.