package CRSDK;

@SuppressWarnings("unused")
public enum CrMeteringMode {
    CrMetering_Average				(0x0001),
    CrMetering_CenterWeightedAverage (CrMetering_Average.getValue()+ 1),
    CrMetering_MultiSpot (CrMetering_Average.getValue()+2),
    CrMetering_CenterSpot (CrMetering_Average.getValue()+3),
    CrMetering_Multi (CrMetering_Average.getValue()+4),
    CrMetering_CenterWeighted (CrMetering_Average.getValue()+5),
    CrMetering_EntireScreenAverage (CrMetering_Average.getValue()+6),
    CrMetering_Spot_Standard (CrMetering_Average.getValue()+7),
    CrMetering_Spot_Large (CrMetering_Average.getValue()+8),
    CrMetering_HighLightWeighted (CrMetering_Average.getValue()+9),
    CrMetering_Standard (CrMetering_Average.getValue()+10),
    CrMetering_Backlight (CrMetering_Average.getValue()+11),
    CrMetering_Spotlight (CrMetering_Average.getValue()+12);

    private final CrInt16u value;
    CrMeteringMode(int value) {
        this.value = new CrInt16u(value);
    }
    public int getValue() {
        return value.intValue();
    }
}
