class ViscaSerial

This class is designed to manage a VISCA serial port

Inheritance:


Public Methods

[more] ViscaSerial(char* device_, char port_)
[more]virtual ~ViscaSerial()
[more]virtual bool init()
specific device initialisation
[more]int assignAddress()
[more]int clearInterface()
[more]virtual bool IsAck(sCommandPacket* command)
is command an acknowledgement packet
[more]virtual bool IsCpl(sCommandPacket* command)
is command an completion packet
[more]virtual unsigned char byteTerminator()
terminator at the end of packets


Inherited from cameraControl:

Public Methods

ovirtual int getPanSpeedMin()
ovirtual int getPanSpeedMax()
ovirtual void setPanSpeed(int pan_speed_)
ovirtual int getTiltSpeedMin()
ovirtual int getTiltSpeedMax()
ovirtual void setTiltSpeed(int tilt_speed_)
ovirtual int getPowerStatus()
ovirtual bool setPowerOn()
ovirtual bool setPowerOff()
ovirtual bool setBackLightOn()
ovirtual bool setBackLightOff()

Pan/Tilt controls

Zoom controls


Inherited from Serial:

Public Fields

obool bVerbose
ochar* device
oint handle

Public Methods

obool connect()
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)


Documentation

This class is designed to manage a VISCA serial port

o ViscaSerial(char* device_, char port_)

ovirtual ~ViscaSerial()

ovirtual bool init()
specific device initialisation

oint assignAddress()

oint clearInterface()

ovirtual bool IsAck(sCommandPacket* command)
is command an acknowledgement packet

ovirtual bool IsCpl(sCommandPacket* command)
is command an completion packet

ovirtual unsigned char byteTerminator()
terminator at the end of packets


Direct child classes:
SonyEviD31
SonyEviD100P
Author:
Sebastien Marcel (marcel@idiap.ch)
Version:
2.0 Wed 28 Jun 2006 05:19:41 PM CEST
Since:
2.0

Alphabetic index HTML hierarchy of classes or Java



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