org.mbari.siam.moos.deployed
Class MOOSWDTManager

java.lang.Object
  extended by java.lang.Thread
      extended by org.mbari.siam.core.WDTManager
          extended by org.mbari.siam.moos.deployed.MOOSWDTManager
All Implemented Interfaces:
java.lang.Runnable

public class MOOSWDTManager
extends WDTManager

MOOSWDTManager extends the default implementation of the WDTManager with hardware specific implementation

Author:
Brian Kieft

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  boolean _debug
           
protected static int _instanceCount
           
protected static SyncProcessRunner _procRunner
           
protected  java.lang.Thread _testThread
           
protected  boolean _WDTManagerEnabled
           
static java.lang.String RESET_REASON_REGISTER
           
 
Fields inherited from class org.mbari.siam.core.WDTManager
_instance, _nodeManager, _nodeProperties, PROP_PREFIX
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected MOOSWDTManager()
           
 
Method Summary
static boolean clrOSSR()
           
protected  void disableWDT()
           
 boolean enabled()
           
static WDTManager getInstance()
          Method to get singleton instance.
protected static void initializeWDT()
           
static int readProcRegister(java.lang.String procFilename)
          Read contents of specified register
 void run()
           
 void set(boolean enable)
           
static void setOWER()
           
 
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

_instanceCount

protected static int _instanceCount

_testThread

protected java.lang.Thread _testThread

_WDTManagerEnabled

protected boolean _WDTManagerEnabled

_debug

protected boolean _debug

_procRunner

protected static SyncProcessRunner _procRunner

RESET_REASON_REGISTER

public static final java.lang.String RESET_REASON_REGISTER
See Also:
Constant Field Values
Constructor Detail

MOOSWDTManager

protected MOOSWDTManager()
Method Detail

getInstance

public static WDTManager getInstance()
Method to get singleton instance.


run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

disableWDT

protected void disableWDT()

readProcRegister

public static int readProcRegister(java.lang.String procFilename)
Read contents of specified register


initializeWDT

protected static void initializeWDT()

setOWER

public static void setOWER()

clrOSSR

public static boolean clrOSSR()

enabled

public boolean enabled()
Overrides:
enabled in class WDTManager

set

public void set(boolean enable)
Overrides:
set in class WDTManager


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.