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

java.lang.Object
  extended by 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


Field Summary
 
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
 
Constructor Summary
ControlOutputImpl()
           
 
Method Summary
protected  void clearStatus(int statusMask)
           
abstract  java.lang.Object getDevice()
           
 int getOutputID()
           
 OutputState getOutputState()
           
 int getState()
           
 int getStatus()
           
 java.lang.String name()
           
 void setName(java.lang.String name)
           
 void setOutputID(int id)
           
abstract  void setOutputValue(boolean value)
           
abstract  void setOutputValue(double value)
           
abstract  void setOutputValue(int value)
           
protected  void setState(int state)
           
protected  void setStatus(int statusMask)
           
 java.lang.String stateString()
           
 java.lang.String stateString(int state)
           
 java.lang.String statusString()
           
 java.lang.String statusString(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlOutputImpl

public ControlOutputImpl()
Method Detail

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.