class cameraControl

This class is designed to control a pan/tilt/zoom camera using a serial interface

Inheritance:


Public Methods

[more] cameraControl(char* device_, char port_)
[more]virtual ~cameraControl()
[more]virtual int getPanSpeedMin() = 0
[more]virtual int getPanSpeedMax() = 0
[more]virtual void setPanSpeed(int pan_speed_) = 0
[more]virtual int getTiltSpeedMin() = 0
[more]virtual int getTiltSpeedMax() = 0
[more]virtual void setTiltSpeed(int tilt_speed_) = 0
[more]virtual int getPowerStatus() = 0
return the power status of the camera
[more]virtual bool setPowerOn() = 0
set power ON
[more]virtual bool setPowerOff() = 0
set power OFF
[more]virtual bool setBackLightOn() = 0
BackLight compensation ON
[more]virtual bool setBackLightOff() = 0
BackLight compensation OFF
[more] Pan/Tilt controls
[more] Zoom controls


Inherited from Serial:

Public Fields

obool bVerbose
ochar* device
oint handle

Public Methods

obool connect()
ovirtual bool init()
ovoid printCmd(sCommandPacket* command)
obool sendCmd(sCommandPacket* command, bool ack = true, bool cpl = true)
oint send(sCommandPacket* command)
oint readCmd(sCommandPacket* command)
oint waitingForReply(int timeInSec, sCommandPacket* command)
oint isEqual(sCommandPacket* command1, sCommandPacket* command2)
ovirtual bool IsAck(sCommandPacket* command)
ovirtual bool IsCpl(sCommandPacket* command)
ovirtual unsigned char byteTerminator()


Documentation

This class is designed to control a pan/tilt/zoom camera using a serial interface

o cameraControl(char* device_, char port_)

ovirtual ~cameraControl()

ovirtual int getPanSpeedMin() = 0

ovirtual int getPanSpeedMax() = 0

ovirtual void setPanSpeed(int pan_speed_) = 0

ovirtual int getTiltSpeedMin() = 0

ovirtual int getTiltSpeedMax() = 0

ovirtual void setTiltSpeed(int tilt_speed_) = 0

ovirtual int getPowerStatus() = 0
return the power status of the camera

ovirtual bool setPowerOn() = 0
set power ON

ovirtual bool setPowerOff() = 0
set power OFF

ovirtual bool setBackLightOn() = 0
BackLight compensation ON

ovirtual bool setBackLightOff() = 0
BackLight compensation OFF

o Pan/Tilt controls

ovirtual bool goHome() = 0

ovirtual bool up() = 0

ovirtual bool down() = 0

ovirtual bool left() = 0

ovirtual bool right() = 0

ovirtual bool upLeft() = 0

ovirtual bool upRight() = 0

ovirtual bool downLeft() = 0

ovirtual bool downRight() = 0

ovirtual bool stopPanTilt() = 0

ovirtual bool goRelative(int x, int y, int width, int height) = 0

ovirtual bool goAbsolute(int x, int y, int width, int height) = 0

ovirtual bool goRelative(int pan, int tilt) = 0

ovirtual bool goAbsolute(int pan, int tilt) = 0

o Zoom controls

ovirtual bool zoomTeleStd() = 0

ovirtual bool zoomWideStd() = 0

ovirtual bool stopZoom() = 0


Direct child classes:
ViscaSerial
Author:
Sebastien Marcel (marcel@idiap.ch)
Version:
2.0 Fri 15 Jul 2005 11:35:27 AM CEST
Since:
2.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.