Package de.pco.recorder
Class Recorder
java.lang.Object
de.pco.recorder.Recorder
public class Recorder extends Object
Class that wraps for Java the basic C functions of the pco.recorder
- Author:
- PCO
-
Constructor Summary
Constructors Constructor Description Recorder(long cameraHandle)Constructor, loads the necessary DLLs -
Method Summary
Modifier and Type Method Description ImageDatacopyImage(long imgIdx, int roiX0, int roiY0, int roiX1, int roiY1)Wrapped PCO_RecorderCopyImage function.longcreate(RecorderMode mode)Wrapped PCO_RecorderCreate function.voiddelete()Wrapped PCO_RecorderDelete function.booleanequals(Object obj)protected voidfinalize()WarninggetLastCallWarning()If the last call of a native function of the current Recorder object returned a Warning, it can be obtained from herelonggetRecorderHandle()C pointer of the recorder, currently created in this Recorder class by the Recorder.create functionGetSettingsReturngetSettings()Wrapped PCO_RecorderGetSettings function.GetStatusReturngetStatus()Wrapped PCO_RecorderGetStatus function.inthashCode()voidinit(long numberOfImages, RecorderTypeByMemoryMode recorderType)Wrapped PCO_RecorderInit function.voidstartRecord()Wrapped PCO_RecorderStartRecord function.voidstopRecord()Wrapped PCO_RecorderStopRecord function.StringtoString()
-
Constructor Details
-
Recorder
public Recorder(long cameraHandle)Constructor, loads the necessary DLLs
-
-
Method Details
-
getRecorderHandle
public long getRecorderHandle()C pointer of the recorder, currently created in this Recorder class by the Recorder.create function- Returns:
- camera handle
-
getLastCallWarning
If the last call of a native function of the current Recorder object returned a Warning, it can be obtained from here- Returns:
-
create
Wrapped PCO_RecorderCreate function.- Parameters:
mode-- Returns:
- Maximum image count
- Throws:
PcoException
-
init
Wrapped PCO_RecorderInit function.- Parameters:
numberOfImages-recorderType-- Throws:
PcoException
-
startRecord
Wrapped PCO_RecorderStartRecord function.- Throws:
PcoException
-
stopRecord
Wrapped PCO_RecorderStopRecord function.- Throws:
PcoException
-
getStatus
Wrapped PCO_RecorderGetStatus function.- Throws:
PcoException
-
getSettings
Wrapped PCO_RecorderGetSettings function.- Throws:
PcoException
-
copyImage
public ImageData copyImage(long imgIdx, int roiX0, int roiY0, int roiX1, int roiY1) throws PcoExceptionWrapped PCO_RecorderCopyImage function.- Throws:
PcoException
-
delete
Wrapped PCO_RecorderDelete function.- Throws:
PcoException
-
finalize
-
hashCode
public int hashCode() -
equals
-
toString
-