public class CameraAccess extends GenericAccess
SesControlling
enhanced objects.
The command line arguments are scanned for recognized switches and
processed accordingly. Additionally to the functionality of the parent
class ShiftListener, this class supports the following switches:
stella.jview.JLaunchBox, this caster should be deregistered
before enabling automatic mode. In automatic mode, only the status
retrieval and setting the manual mode is supported.stella.jview.JLaunchBox, requires additionally a registering at
the new caster. Only in manual mode, all of the further actions are allowed.
CommandLineParser.Template, CommandLineParser.Test| Modifier and Type | Field and Description |
|---|---|
static String |
ONESWITCHES
The command line switches understood by this access class, one arg.
|
static String |
SIXSWITCHES
The command line switches understood by this access class, six arg.
|
static String |
THREESWITCHES
The command line switches understood by this access class, three arg.
|
static String |
TWOSWITCHES
The command line switches understood by this access class, two arg.
|
static String |
ZEROSWITCHES
Command line switches understood by this access class with no arg.
|
FOOT, USEHELPSWITCHES| Constructor and Description |
|---|
CameraAccess()
Constructs a new camera access instance.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg)
Access to a camera-control object.
|
protected boolean |
processSwitches(Remote listener)
Process the command line switches found.
|
processFor, scanForaddHelpSwitches, getArguments, getCallerName, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasHelpSwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usagepublic static final String ZEROSWITCHES
public static final String ONESWITCHES
public static final String TWOSWITCHES
public static final String THREESWITCHES
public static final String SIXSWITCHES
public CameraAccess()
protected boolean processSwitches(Remote listener) throws RemoteException
SesControlling and one of the switches
defined in ZEROSWITCHES, ONESWITCHES,
TWOSWITCHES,THREESWITCHES, or SIXSWITCHES
is given, the appropriate method of the listener
control is called. Note that the command line must be parsed before
calling this method.processSwitches in class GenericAccessRemoteExceptionpublic static void main(String[] arg) throws ParseException, RemoteException, NotBoundException, MalformedURLException