PlayerCc::PtzProxy Class Reference

#include <playerc++.h>

Inheritance diagram for PlayerCc::PtzProxy:

Inheritance graph
Collaboration diagram for PlayerCc::PtzProxy:

Collaboration graph
List of all members.

Detailed Description

The PtzProxy class is used to control a ptz device.

The state of the camera can be read from the pan, tilt, zoom attributes and changed using the SetCam() method.

Definition at line 2091 of file playerc++.h.

Public Member Functions

 PtzProxy (PlayerClient *aPc, uint32_t aIndex=0)
void SetCam (double aPan, double aTilt, double aZoom)
 Change the camera state.
void SetSpeed (double aPanSpeed=0, double aTiltSpeed=0, double aZoomSpeed=0)
 Specify new target velocities.
void SelectControlMode (uint32_t aMode)
 Select new control mode.
double GetPan () const
 Return Pan (rad).
double GetTilt () const
 Return Tilt (rad).
double GetZoom () const
 Return Zoom.
int GetStatus ()
 Return Status.

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes


Member Function Documentation

void PlayerCc::PtzProxy::SetCam ( double  aPan,
double  aTilt,
double  aZoom 

Change the camera state.

Specify the new pan, tilt, and zoom values (all degrees).

void PlayerCc::PtzProxy::SelectControlMode ( uint32_t  aMode  ) 

Select new control mode.


The documentation for this class was generated from the following file:

Last updated 12 September 2005 21:38:45