Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages | Examples

ArCameraCommands Class Reference

#include <ArCameraCommands.h>

List of all members.


Detailed Description

Commands that are supported by the camera (ArPTZ) and video classes.

ArCameraCommands defines the commands that are commonly supported by the Aria camera and video classes. The commands that are actually supported for a particular camera are specified in the ArCameraCollection.

There are basically two classes of commands:

  1. Double Format Commands: These commands use the new double interface to the Aria camera classes. They are generally preferred for future development since they provide finer control over the camera movements. In addition, only these commands will work correctly in a multi-camera configuration.

  2. Integer Format Commands: These commands are maintained for backwards compatibility. They will not work correctly in a multi-camera configuration. (Only the first camera will be used.)

Definition at line 51 of file ArCameraCommands.h.

Static Public Attributes

static const char * CAMERA_MODE_UPDATED = "cameraModeUpdated"
 A packet that gets sent out when the mode is changed.
static const char * GET_CAMERA_DATA = "getCameraData"
 Returns the current pan/tilt/zoom of the camera (in double format).
static const char * GET_CAMERA_DATA_INT = "getCameraDataInt"
 Returns the current pan/tilt/zoom of the camera (as byte2 integers).
static const char * GET_CAMERA_INFO = "getCameraInfo"
 Returns general information about the camera (in double format).
static const char * GET_CAMERA_INFO_INT = "getCameraInfoInt"
 Returns general information about the camera (as byte2 integers).
static const char * GET_CAMERA_MODE_LIST = "getCameraModeList"
 Sends a packet back with the list of modes.
static const char * GET_DISPLAY = "getDisplay"
 Returns whether the camera/image should be displayed by the client.
static const char * GET_PICTURE = "getPicture"
 Returns the last image obtained from the camera.
static const char * GET_SNAPSHOT = "getSnapshot"
 Returns a high resolution image from the camera, suitable for saving.
static const char * GET_SNAPSHOT_PLAIN = "getSnapshotPlain"
static const char * GET_VIDEO = "getVideo"
static const char * RESET_CAMERA = "resetCamera"
 A command that resets the camera.
static const char * SET_CAMERA_ABS = "setCameraAbs"
 Sends a command to the camera to set its pan/tilt/zoom, in absolute terms (in double format).
static const char * SET_CAMERA_ABS_INT = "setCameraAbsInt"
 Sends a command to the camera to set its pan/tilt/zoom, in absolute terms (as byte integers).
static const char * SET_CAMERA_MODE = "setCameraMode"
 A command that sets the mode of the camera.
static const char * SET_CAMERA_PCT = "setCameraPct"
 Sends a command to the camera to set its pan/tilt, as specified by a percent offset of its current frame.
static const char * SET_CAMERA_PCT_INT = "setCameraPctInt"
 Sends a command to the camera to set its pan/tilt, as specified by a percent offset (as byte integers).
static const char * SET_CAMERA_REL = "setCameraRel"
 Sends a command to the camera to set its pan/tilt/zoom, relative to its current position (in double format).
static const char * SET_CAMERA_REL_INT = "setCameraRelInt"
 Sends a command to the camera to set its pan/tilt/zoom, relative to its current position (as byte integers).


Member Data Documentation

const char * ArCameraCommands::CAMERA_MODE_UPDATED = "cameraModeUpdated" [static]
 

A packet that gets sent out when the mode is changed.

Note that each mode might have arguments after it for just that mode, so only the mode name at the start is generic.

Definition at line 45 of file ArCameraCommands.cpp.

const char * ArCameraCommands::GET_CAMERA_DATA_INT = "getCameraDataInt" [static]
 

Returns the current pan/tilt/zoom of the camera (as byte2 integers).

Deprecated:
GET_CAMERA_DATA is preferred instead

Definition at line 51 of file ArCameraCommands.cpp.

const char * ArCameraCommands::GET_CAMERA_INFO = "getCameraInfo" [static]
 

Returns general information about the camera (in double format).

General information about the camera includes the pan/tilt/zoom ranges and whether zooming is available. In general, clients need only to request this data once at startup.

Definition at line 32 of file ArCameraCommands.cpp.

const char * ArCameraCommands::GET_CAMERA_INFO_INT = "getCameraInfoInt" [static]
 

Returns general information about the camera (as byte2 integers).

Deprecated:
GET_CAMERA_INFO is preferred instead

Definition at line 52 of file ArCameraCommands.cpp.

const char * ArCameraCommands::GET_DISPLAY = "getDisplay" [static]
 

Returns whether the camera/image should be displayed by the client.

This command is not yet fully supported.

Definition at line 37 of file ArCameraCommands.cpp.

const char * ArCameraCommands::GET_SNAPSHOT = "getSnapshot" [static]
 

Returns a high resolution image from the camera, suitable for saving.

This command is not yet fully supported.

Definition at line 35 of file ArCameraCommands.cpp.

const char * ArCameraCommands::GET_SNAPSHOT_PLAIN = "getSnapshotPlain" [static]
 

Deprecated:
GET_SNAPSHOT is preferred instead

Definition at line 58 of file ArCameraCommands.cpp.

const char * ArCameraCommands::GET_VIDEO = "getVideo" [static]
 

Deprecated:
GET_PICTURE is preferred instead

Definition at line 56 of file ArCameraCommands.cpp.

const char * ArCameraCommands::SET_CAMERA_ABS_INT = "setCameraAbsInt" [static]
 

Sends a command to the camera to set its pan/tilt/zoom, in absolute terms (as byte integers).

Deprecated:
SET_CAMERA_ABS is preferred instead

Definition at line 53 of file ArCameraCommands.cpp.

const char * ArCameraCommands::SET_CAMERA_MODE = "setCameraMode" [static]
 

A command that sets the mode of the camera.

Note that each mode can have its own arguments so only the mode name at the start is generic.

Definition at line 46 of file ArCameraCommands.cpp.

const char * ArCameraCommands::SET_CAMERA_PCT_INT = "setCameraPctInt" [static]
 

Sends a command to the camera to set its pan/tilt, as specified by a percent offset (as byte integers).

Deprecated:
SET_CAMERA_PCT is preferred instead

Definition at line 55 of file ArCameraCommands.cpp.

const char * ArCameraCommands::SET_CAMERA_REL_INT = "setCameraRelInt" [static]
 

Sends a command to the camera to set its pan/tilt/zoom, relative to its current position (as byte integers).

Deprecated:
SET_CAMERA_REL is preferred instead

Definition at line 54 of file ArCameraCommands.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Feb 20 10:51:43 2007 for Aria by  doxygen 1.4.0