|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bruxton.sidx.Trigger
public class Trigger
Responsible for managing the trigger mode for the camera.
Each instance of Camera can own one instance of the class. The user of SIDX
should not create the object. It should be obtained by using getTrigger function
of Camera object.
| Method Summary | |
|---|---|
int |
getMode()
Obtain the current trigger mode setting. |
boolean |
isModeAvailable(int mode)
Inquire if a trigger mode is supported by the camera. |
void |
setMode(int mode)
Set a trigger mode. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setMode(int mode)
throws Exception
isModeAvailable to find out if a mode is supported
by the camera.
| mode | Description |
|---|---|
| 0 | Start exposures without an external trigger. Make the duration of each exposure time constant. |
| 1 | Start exposures without an external trigger. The exposure duration may be changed. |
| 2 | Use an external trigger to start a single exposure |
| 3 | Use an external trigger to start a sequence of exposures |
| 4 | Use an external trigger to start and stop a sequence of exposures |
mode - the trigger mode to use.
Exception
public boolean isModeAvailable(int mode)
throws Exception
mode - the trigger mode that you wish to use. It should be one of the
trigger modes defined for setMode.
Exceptionpublic int getMode()
setMode
for the description of each mode.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||