Package de.pco.recorder
Enum RecorderTypeByMemoryMode
- All Implemented Interfaces:
Serializable,Comparable<RecorderTypeByMemoryMode>,java.lang.constant.Constable
public enum RecorderTypeByMemoryMode extends Enum<RecorderTypeByMemoryMode>
Enumerator of the recorder types by memory recorder mode
- Author:
- PCO
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description FIFOImages will be recorded into computer memory in fifo mode.RING_BUFFERImages will be recorded into computer memory in ring buffer mode.SEQUENCEImages will be recorded into computer memory sequentially until required image number is reached -
Method Summary
Modifier and Type Method Description intgetValue()Getterstatic RecorderTypeByMemoryModevalueOf(int value)Converter from the int value to the value of the enumerator.static RecorderTypeByMemoryModevalueOf(String name)Returns the enum constant of this type with the specified name.static RecorderTypeByMemoryMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SEQUENCE
Images will be recorded into computer memory sequentially until required image number is reached -
RING_BUFFER
Images will be recorded into computer memory in ring buffer mode. After calling stop acquisition the latest images are in the buffers -
FIFO
Images will be recorded into computer memory in fifo mode. If the required image number is reached, acquisition will wait until first images have been read. Here it is only possible to read out sequentially
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
Converter from the int value to the value of the enumerator.- Parameters:
value-- Returns:
- Throws:
IllegalArgumentException
-
getValue
public int getValue()Getter- Returns:
-