edu.stanford.slac.aida.tool.command
Class DaVariable

java.lang.Object
  extended by edu.stanford.slac.aida.tool.command.VariableSpecs
      extended by edu.stanford.slac.aida.tool.command.DaVariable
All Implemented Interfaces:
VariableReader, VariableWriter

public class DaVariable
extends VariableSpecs
implements VariableReader, VariableWriter


Constructor Summary
DaVariable(java.lang.String target)
           
 
Method Summary
 DaValue read()
           
 void write(DaValue dv)
           
 
Methods inherited from class edu.stanford.slac.aida.tool.command.VariableSpecs
clearReadArgs, clearWriteArgs, getReadArgs, getTarget, getWriteArgs, setReadArgs, setTarget, setWriteArgs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaVariable

public DaVariable(java.lang.String target)
           throws edu.stanford.slac.except.AidaInitException
Throws:
edu.stanford.slac.except.AidaInitException
Method Detail

read

public DaValue read()
             throws edu.stanford.slac.except.UnableToGetDataException,
                    edu.stanford.slac.except.UndefinedNameException
Specified by:
read in interface VariableReader
Throws:
edu.stanford.slac.except.UnableToGetDataException
edu.stanford.slac.except.UndefinedNameException

write

public void write(DaValue dv)
           throws edu.stanford.slac.except.UnableToSetDataException,
                  edu.stanford.slac.except.UndefinedNameException
Specified by:
write in interface VariableWriter
Throws:
edu.stanford.slac.except.UnableToSetDataException
edu.stanford.slac.except.UndefinedNameException