|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Thread
org.mbari.siam.foce.devices.controlLoop.WorkerThread
org.mbari.siam.foce.devices.controlLoop.ProcessMonitor
public class ProcessMonitor
check the status of the inputs and outputs and handle errors
| 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 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 | |
|---|---|
ProcessMonitor(ControlProcessIF controlProcess,
java.lang.String name,
long updatePeriodMillisec)
|
|
| Method Summary | |
|---|---|
void |
debugShow()
|
void |
doWorkerAction()
|
void |
evaluateIO(ControlInputIF[] inputs,
ControlOutputIF[] outputs)
evaluate input/output health and status. |
java.lang.String[] |
getSampleBuffers()
Return a set of sample buffers for logging |
protected void |
setSampleBuffers(ControlInputIF[] inputs,
ControlOutputIF[] outputs)
Set the sample buffers |
| 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 |
|---|
protected org.apache.log4j.Logger _log4j
protected ControlProcessIF _controlProcess
| Constructor Detail |
|---|
public ProcessMonitor(ControlProcessIF controlProcess,
java.lang.String name,
long updatePeriodMillisec)
| Method Detail |
|---|
public java.lang.String[] getSampleBuffers()
protected void setSampleBuffers(ControlInputIF[] inputs,
ControlOutputIF[] outputs)
public void evaluateIO(ControlInputIF[] inputs,
ControlOutputIF[] outputs)
public void debugShow()
public void doWorkerAction()
doWorkerAction in class WorkerThread
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||