Package jisa.control
Class BypassFilter
- java.lang.Object
-
- jisa.control.BypassFilter
-
- All Implemented Interfaces:
ReadFilter
public class BypassFilter extends java.lang.Object implements ReadFilter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jisa.control.ReadFilter
ReadFilter.Setupable
-
-
Field Summary
Fields Modifier and Type Field Description protected int
count
protected ReadFilter.Setupable
setUp
protected Returnable<java.lang.Double>
value
-
Constructor Summary
Constructors Constructor Description BypassFilter(Returnable<java.lang.Double> v, ReadFilter.Setupable s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
getCount()
double
getValue()
void
setCount(int count)
void
setUp()
-
-
-
Field Detail
-
value
protected Returnable<java.lang.Double> value
-
count
protected int count
-
setUp
protected ReadFilter.Setupable setUp
-
-
Constructor Detail
-
BypassFilter
public BypassFilter(Returnable<java.lang.Double> v, ReadFilter.Setupable s)
-
-
Method Detail
-
getValue
public double getValue() throws java.io.IOException, DeviceException
- Specified by:
getValue
in interfaceReadFilter
- Throws:
java.io.IOException
DeviceException
-
setCount
public void setCount(int count)
- Specified by:
setCount
in interfaceReadFilter
-
getCount
public int getCount()
- Specified by:
getCount
in interfaceReadFilter
-
clear
public void clear()
- Specified by:
clear
in interfaceReadFilter
-
setUp
public void setUp() throws java.io.IOException, DeviceException
- Specified by:
setUp
in interfaceReadFilter
- Throws:
java.io.IOException
DeviceException
-
-