AURobotServers
4
|
#include <uclientcams.h>
Public Member Functions | |
UClientCamData * | getCam (int idx) |
UClientCamData * | getCamData (int device, bool mayCreate) |
int | getCamsCnt () |
int | getCamsCntMax () |
UClientCams () | |
~UClientCams () | |
Protected Attributes | |
UClientCamData * | cams [MAX_CLIENT_CAMS] |
int | camsCnt |
Holds client information on camera status - like position and image size etc.
UClientCams::UClientCams | ( | ) |
Constructor
References MAX_CLIENT_CAMS.
UClientCams::~UClientCams | ( | ) |
Destructor
|
inline |
Get cam mera device info with this index. NB! index range is not tested
Referenced by UResCamIfCam::gotNewData(), UNavPaint::paintCams(), and UResCamIfCam::snprint().
UClientCamData * UClientCams::getCamData | ( | int | device, |
bool | mayCreate | ||
) |
Get data structure with camera data. Returns NULL if device is not found (and not 'mayCreate) or if no more space for new devices.
References UClientCamData::device, MAX_CLIENT_CAMS, and UClientCamData::UClientCamData().
Referenced by UResCamIfCam::gotNewData(), and UClientFuncCam::handleCamGet().
|
inline |
Currently available camera device count
Referenced by UNavPaint::paintCams(), and UResCamIfCam::snprint().
|
inline |
Get maximum number of camera devices
|
protected |
Camera data
|
protected |
Number of camera structures used