com.bruxton.sidx
Class ExposureTime

java.lang.Object
  extended by com.bruxton.sidx.ExposureTime

public class ExposureTime
extends java.lang.Object

Represent exposure time setting for the camera. Each instance of Camera can own one object of the class. The user of SIDX should not create the object directly. It should be obtained by using getExposure function of Camera object.


Method Summary
 double getMaximum()
          Obtain the maximum limit for the exposure duration.
 double getMinimum()
          Obtain the minimum limit for the exposure duration.
 double getResolution()
          Obtain the minimum exposure increment step in seconds.
 void set(double exposure)
          Set the exposure duration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

set

public void set(double exposure)
         throws Exception
Set the exposure duration.

Parameters:
exposure - the exposure duration to set in seconds.
Throws:
Exception

getMinimum

public double getMinimum()
                  throws Exception
Obtain the minimum limit for the exposure duration.

Returns:
the minimum limit for the exposure duration in seconds.
Throws:
Exception

getMaximum

public double getMaximum()
                  throws Exception
Obtain the maximum limit for the exposure duration.

Returns:
the maximum limit for the exposure duration in seconds.
Throws:
Exception

getResolution

public double getResolution()
                     throws Exception
Obtain the minimum exposure increment step in seconds.

Returns:
the minimum exposure increment step in seconds.
Throws:
Exception