Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

CameraProxy Class Reference
[Proxies]

#include <playerclient.h>

Inherits ClientProxy.

List of all members.


Detailed Description

The CameraProxy class can be used to get images from a camera device.


Public Member Functions

 CameraProxy (PlayerClient *pc, unsigned short index, unsigned char access='c')
virtual ~CameraProxy ()
void FillData (player_msghdr_t hdr, const char *buffer)
void Print ()
void SaveFrame (const char *prefix)

Public Attributes

uint8_t depth
uint16_t width
uint16_t height
uint32_t imageSize
uint8_t * image


Constructor & Destructor Documentation

CameraProxy::CameraProxy PlayerClient pc,
unsigned short  index,
unsigned char  access = 'c'
 

virtual CameraProxy::~CameraProxy  )  [virtual]
 


Member Function Documentation

void CameraProxy::FillData player_msghdr_t  hdr,
const char *  buffer
[virtual]
 

All proxies must provide this method. It is used internally to parse new data when it is received.

Reimplemented from ClientProxy.

void CameraProxy::Print  )  [virtual]
 

All proxies SHOULD provide this method, which should print out, in a human-readable form, the device's current state.

Reimplemented from ClientProxy.

void CameraProxy::SaveFrame const char *  prefix  ) 
 


Member Data Documentation

uint8_t CameraProxy::depth
 

uint16_t CameraProxy::width
 

uint16_t CameraProxy::height
 

uint32_t CameraProxy::imageSize
 

uint8_t* CameraProxy::image
 


The documentation for this class was generated from the following file:
Generated on Tue May 3 14:15:47 2005 for Player by doxygen 1.3.6