edu.stanford.slac.aida.tool.command
Class DirectVariable
java.lang.Object
edu.stanford.slac.aida.tool.command.VariableSpecs
edu.stanford.slac.aida.tool.command.DirectVariable
- All Implemented Interfaces:
- VariableReader, VariableWriter
public class DirectVariable
- extends VariableSpecs
- implements VariableReader, VariableWriter
Constructor Summary |
DirectVariable(java.lang.String dpName,
java.lang.String target)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectVariable
public DirectVariable(java.lang.String dpName,
java.lang.String target)
throws edu.stanford.slac.except.AidaInitException
- Throws:
edu.stanford.slac.except.AidaInitException
getAidaObject
public AidaObjectI getAidaObject()
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