Class NDArrayImpl
java.lang.Object
gda.device.detector.areadetector.v17.impl.NDBaseImpl
gda.device.detector.areadetector.v17.impl.NDArrayImpl
- All Implemented Interfaces:
ADCommon,GetPluginBaseAvailable,NDArray,org.springframework.beans.factory.InitializingBean
public class NDArrayImpl
extends NDBaseImpl
implements NDArray, org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields inherited from interface gda.device.detector.areadetector.v17.NDArray
ARRAY_DATA, DATA_TYPE_RBV -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgov.aps.jca.ChannelcreateChannel(String fullPvName) byte[]byte[]getByteArrayData(int numberOfElements) Get the data type of the last frame which reached the array plugin.double[]double[]getDoubleArrayData(int numberOfElements) float[]float[]getFloatArrayData(int numberOfElements) getImageData(int expectedNumPixels) int[]getIntArrayData(int numberOfElements) short[]getShortArrayData(int numberOfElements) voidreset()voidsetArrayData(int[] arrayData) voidsetBasePVName(String basePVName) Methods inherited from class gda.device.detector.areadetector.v17.impl.NDBaseImpl
getPluginBase, getPortName_RBV, setPluginBaseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.device.detector.areadetector.v17.ADCommon
getPortName_RBVMethods inherited from interface gda.device.detector.areadetector.v17.GetPluginBaseAvailable
getPluginBase
-
Constructor Details
-
NDArrayImpl
public NDArrayImpl()
-
-
Method Details
-
getByteArrayData
- Specified by:
getByteArrayDatain interfaceNDArray- Throws:
Exception
-
getFloatArrayData
- Specified by:
getFloatArrayDatain interfaceNDArray- Throws:
Exception
-
setArrayData
- Parameters:
arrayData- The arrayData to set- Throws:
Exception
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getBasePVName
- Returns:
- Returns the basePVName. getBasePVName
-
setBasePVName
- Parameters:
basePVName- The basePVName to set.
-
createChannel
public gov.aps.jca.Channel createChannel(String fullPvName) throws gov.aps.jca.CAException, gov.aps.jca.TimeoutException - Throws:
gov.aps.jca.CAExceptiongov.aps.jca.TimeoutException
-
reset
-
getByteArrayData
- Specified by:
getByteArrayDatain interfaceNDArray- Throws:
Exception
-
getShortArrayData
- Specified by:
getShortArrayDatain interfaceNDArray- Throws:
Exception
-
getIntArrayData
- Specified by:
getIntArrayDatain interfaceNDArray- Throws:
Exception
-
getFloatArrayData
- Specified by:
getFloatArrayDatain interfaceNDArray- Throws:
Exception
-
getImageData
- Specified by:
getImageDatain interfaceNDArray- Throws:
Exception
-
getDoubleArrayData
- Specified by:
getDoubleArrayDatain interfaceNDArray- Throws:
Exception
-
getDoubleArrayData
- Specified by:
getDoubleArrayDatain interfaceNDArray- Throws:
Exception
-
getDataType
Description copied from interface:NDArrayGet the data type of the last frame which reached the array plugin.- Specified by:
getDataTypein interfaceNDArray- Returns:
- the data type
- Throws:
Exception
-