org.mbari.siam.foce.devices.controlLoop
Class ControlOutputImpl
java.lang.Object
org.mbari.siam.foce.devices.controlLoop.ControlOutputImpl
- All Implemented Interfaces:
- java.rmi.Remote, ControlOutputIF
- Direct Known Subclasses:
- MotorVelocityOutput, ValveOutput
public abstract class ControlOutputImpl
- extends java.lang.Object
- implements ControlOutputIF
| Fields inherited from interface org.mbari.siam.distributed.devices.ControlOutputIF |
DEFAULT_ID, DEFAULT_NAME, STATE_READY, STATE_UNINITIALIZED, STATE_UPDATING, STATUS_BAD_COMMAND, STATUS_CONNECT_ERROR, STATUS_DISCONNECT_ERROR, STATUS_ERROR, STATUS_MASK_ALL, STATUS_NOT_CONNECTED, STATUS_OK, STATUS_TIMEOUT_EXPIRED, STATUS_UPDATE_ERROR |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControlOutputImpl
public ControlOutputImpl()
getDevice
public abstract java.lang.Object getDevice()
throws java.rmi.RemoteException
- Specified by:
getDevice in interface ControlOutputIF
- Throws:
java.rmi.RemoteException
setOutputValue
public abstract void setOutputValue(double value)
throws java.lang.Exception,
java.rmi.RemoteException
- Specified by:
setOutputValue in interface ControlOutputIF
- Throws:
java.lang.Exception
java.rmi.RemoteException
setOutputValue
public abstract void setOutputValue(int value)
throws java.lang.Exception,
java.rmi.RemoteException
- Specified by:
setOutputValue in interface ControlOutputIF
- Throws:
java.lang.Exception
java.rmi.RemoteException
setOutputValue
public abstract void setOutputValue(boolean value)
throws java.lang.Exception,
java.rmi.RemoteException
- Specified by:
setOutputValue in interface ControlOutputIF
- Throws:
java.lang.Exception
java.rmi.RemoteException
setOutputID
public void setOutputID(int id)
- Specified by:
setOutputID in interface ControlOutputIF
getOutputID
public int getOutputID()
- Specified by:
getOutputID in interface ControlOutputIF
setName
public void setName(java.lang.String name)
throws java.rmi.RemoteException
- Specified by:
setName in interface ControlOutputIF
- Throws:
java.rmi.RemoteException
name
public java.lang.String name()
throws java.rmi.RemoteException
- Specified by:
name in interface ControlOutputIF
- Throws:
java.rmi.RemoteException
setState
protected void setState(int state)
setStatus
protected void setStatus(int statusMask)
clearStatus
protected void clearStatus(int statusMask)
getState
public int getState()
throws java.rmi.RemoteException
- Specified by:
getState in interface ControlOutputIF
- Throws:
java.rmi.RemoteException
getStatus
public int getStatus()
throws java.rmi.RemoteException
- Specified by:
getStatus in interface ControlOutputIF
- Throws:
java.rmi.RemoteException
stateString
public java.lang.String stateString()
- Specified by:
stateString in interface ControlOutputIF
stateString
public java.lang.String stateString(int state)
statusString
public java.lang.String statusString()
- Specified by:
statusString in interface ControlOutputIF
statusString
public java.lang.String statusString(int status)
getOutputState
public OutputState getOutputState()
throws java.rmi.RemoteException
- Specified by:
getOutputState in interface ControlOutputIF
- Throws:
java.rmi.RemoteException
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.