org.tango.server.pipe
Class PipeImpl

java.lang.Object
  extended by org.tango.server.DeviceBehaviorObject
      extended by org.tango.server.pipe.PipeImpl
All Implemented Interfaces:
java.lang.Comparable<PipeImpl>, IReadableWritable<PipeValue>

public final class PipeImpl
extends DeviceBehaviorObject
implements java.lang.Comparable<PipeImpl>, IReadableWritable<PipeValue>


Constructor Summary
PipeImpl(IPipeBehavior behavior, java.lang.String deviceName)
           
 
Method Summary
 int compareTo(PipeImpl o)
           
 PipeConfiguration getConfiguration()
           
 java.lang.String getName()
           
 PipeValue getReadValue()
          Get last read value
 PipeValue getWriteValue()
          Get last write value
 void loadConfiguration()
           
 void setConfiguration(java.lang.String label, java.lang.String description)
           
 void setValue(PipeValue value)
          Write value
 void updateValue()
          Update value from device
 void updateValue(PipeValue inValue)
          Set read value
 
Methods inherited from class org.tango.server.DeviceBehaviorObject
getDeniedStates, getEndState, isAllowed, setDeniedStates, setEndState, setStateMachine, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PipeImpl

public PipeImpl(IPipeBehavior behavior,
                java.lang.String deviceName)
Method Detail

updateValue

public void updateValue()
                 throws fr.esrf.Tango.DevFailed
Description copied from interface: IReadableWritable
Update value from device

Specified by:
updateValue in interface IReadableWritable<PipeValue>
Throws:
fr.esrf.Tango.DevFailed

updateValue

public void updateValue(PipeValue inValue)
                 throws fr.esrf.Tango.DevFailed
Description copied from interface: IReadableWritable
Set read value

Specified by:
updateValue in interface IReadableWritable<PipeValue>
Throws:
fr.esrf.Tango.DevFailed

setValue

public void setValue(PipeValue value)
              throws fr.esrf.Tango.DevFailed
Description copied from interface: IReadableWritable
Write value

Specified by:
setValue in interface IReadableWritable<PipeValue>
Throws:
fr.esrf.Tango.DevFailed

getConfiguration

public PipeConfiguration getConfiguration()

loadConfiguration

public void loadConfiguration()
                       throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

setConfiguration

public void setConfiguration(java.lang.String label,
                             java.lang.String description)
                      throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

getName

public java.lang.String getName()

compareTo

public int compareTo(PipeImpl o)
Specified by:
compareTo in interface java.lang.Comparable<PipeImpl>

getWriteValue

public PipeValue getWriteValue()
Description copied from interface: IReadableWritable
Get last write value

Specified by:
getWriteValue in interface IReadableWritable<PipeValue>
Returns:

getReadValue

public PipeValue getReadValue()
Description copied from interface: IReadableWritable
Get last read value

Specified by:
getReadValue in interface IReadableWritable<PipeValue>
Returns:


Copyright © 2012-2016. All Rights Reserved.