AURobotServers  4
Public Member Functions | List of all members
UCamDevGuppy Class Reference

#include <ucamdevguppy.h>

Inheritance diagram for UCamDevGuppy:
Inheritance graph

Public Member Functions

 UCamDevGuppy ()
 
 ~UCamDevGuppy ()
 
- Public Member Functions inherited from UCamDevBase
virtual void callGotNewDataWithObject ()
 
virtual void closeDevice ()
 
virtual void createVars ()
 
virtual bool deviceExist ()
 
virtual int getBrightness (bool)
 
char * getCameraName ()
 
int getCamFd ()
 
virtual int getColour (bool)
 
virtual int getCompPref (bool)
 
virtual int getContour (bool)
 
virtual int getContrast (bool)
 
virtual int getDataChannel ()
 
virtual const char * getDataChannelName ()
 
int getDeviceNumber ()
 
virtual bool getExternalTrigger (bool *supported)
 
virtual int getFrameRate ()
 
virtual int getGain (bool, bool *, bool *)
 
virtual int getGamma (bool)
 
unsigned int getHeight ()
 
unsigned long getImageNumber ()
 
virtual bool getImageSnapshot (UImage *image)
 
bool getLockedNewImage (UImage **raw)
 
char * getName ()
 
double getPixelSize ()
 
virtual int getShutter (bool, bool *, bool *)
 
int getWBModeFromString (const char *mode)
 
virtual bool getWhiteBalance (bool, int *, int *, int *)
 
unsigned int getWidth ()
 
void gotNewImage (UImage *rgb)
 
void imageSizeChanged (double iResFactor)
 
void imgUpdated ()
 
bool isCameraOpen ()
 
bool isLog ()
 
bool isReplay ()
 
virtual bool isThisA (USupportedCamTypes thisType)
 
virtual bool makeTriggerPulse ()
 
bool needNewPushData ()
 
virtual bool openDevice ()
 
virtual bool openDeviceDefault ()
 
virtual bool setBrightness (int brightness)
 
void setCam (UCamBase *camRef)
 
virtual bool setColour (int colour)
 
virtual bool setCompPref (int value)
 
virtual bool setContour (int value=0x1000)
 
virtual bool setContrast (int contrast)
 
virtual bool setDataChannel (int)
 
virtual bool setDevice (const int width, const int height, const int framesPerSec)
 
void setDeviceNumber (int deviceNum)
 
virtual bool setExternalTrigger (bool, bool *supported)
 
virtual bool setGain (int)
 
virtual bool setGamma (int gamma)
 
void setImageNumber (unsigned long serial)
 
void setInitialized (bool value)
 
void setLog (bool value)
 
virtual void setPushBuffer (UImage *)
 
void setReplay (bool value)
 
virtual bool setShutter (int)
 
void setTypeName (const char *newName)
 
void setVarPool (UVarPool *vpd)
 
virtual bool setVideoCap (int, int, int, int)
 
virtual bool setWhiteBalance (int, int, int)
 
 UCamDevBase ()
 
virtual ~UCamDevBase ()
 
- Public Member Functions inherited from ULock
bool lock ()
 
void lockInit ()
 
void post ()
 
bool tryLock ()
 
bool tryWait ()
 
 ULock ()
 
void unlock ()
 
bool wait ()
 
 ~ULock ()
 

Additional Inherited Members

- Public Types inherited from UCamDevBase
enum  camTypes {
  CAM_DEV_REPLAY, CAM_DEV_PWC, CAM_DEV_IEEE1394, CAM_DEV_GRAPPER,
  CAM_DEV_GIGE
}
 
typedef enum UCamDevBase::camTypes USupportedCamTypes
 
- Static Public Member Functions inherited from UCamDevBase
static char * getWBModeAsString (int mode, char *strBuff)
 
- Static Public Attributes inherited from UCamDevBase
static const int MAX_CAM_DEV_NAME_LENGTH = 100
 
static const int MAX_IMAGE_WIDTH = 640
 
- Protected Attributes inherited from UCamDevBase
UCamBasecam
 
int cam_fd
 
bool cameraOpen
 
char camName [MAX_CAM_DEV_NAME_LENGTH]
 
USupportedCamTypes camType
 
int devNum
 file descriptor for camera device More...
 
int frameHeight
 
int frameRate
 
int frameWidth
 
unsigned long imageNumber
 
int imCnt
 
UImageimgBuff [RAW_IMAGEBUFFER_MAX_CNT]
 
int imgBuffNext
 
bool initialized
 
UVariablevarCamName
 camera name from camera More...
 
UVariablevarLog
 Variable for log flag. More...
 
UVariablevarReplay
 Variable for replay. More...
 
UVarPoolvars
 
int vbrightness
 
int vcolour
 
int vcompressionPref
 
int vcontour
 
int vcontrast
 
int vgain
 
int vgamma
 
int vshutter
 
- Static Protected Attributes inherited from UCamDevBase
static const int RAW_IMAGEBUFFER_MAX_CNT = 5
 

Detailed Description

Camera device type that controls one IEEE1394 DCI camera Device number is from 10 to 19 - defined in URob4/UCamPool

    @author Christian Andersen <jca@elektro.dtu.dk>

Constructor & Destructor Documentation

UCamDevGuppy::UCamDevGuppy ( )
UCamDevGuppy::~UCamDevGuppy ( )

Constructor

References UVarPool::addVar(), UVarPool::addVarA(), UCamDevBase::callGotNewDataWithObject(), UImage::cam, UImage::camDevice, UCamDevBase::cameraOpen, UCamDevBase::camName, UCamDevBase::closeDevice(), UCamDevBase::createVars(), UCamDevBase::deviceExist(), UCamDevBase::devNum, UCamDevBase::frameHeight, UCamDevBase::frameRate, UCamDevBase::frameWidth, UImage::getBufferSize(), UCamDevBase::getCameraName(), UImage::getData(), UCamDevBase::getDeviceNumber(), UCamDevBase::getExternalTrigger(), UCamDevBase::getFrameRate(), UCamDevBase::getGain(), UImage::getHeight(), UCamDevBase::getImageSnapshot(), UVariable::getInt(), UCamDevBase::getName(), UCamDevBase::getShutter(), UTime::getTimePassed(), UCamDevBase::getWhiteBalance(), UCamDevBase::gotNewImage(), UCamDevBase::imageNumber, UImage::imageNumber, UCamDevBase::imageSizeChanged(), img, UCamDevBase::imgBuff, UImage::imgTime, UCamDevBase::imgUpdated(), UCamDevBase::initialized, UCamDevBase::isCameraOpen(), ULock::lock(), UCamDevBase::makeTriggerPulse(), UCamDevBase::MAX_CAM_DEV_NAME_LENGTH, UCamDevBase::MAX_IMAGE_WIDTH, maxi(), mini(), UCamDevBase::needNewPushData(), UTime::now(), UCamDevBase::openDeviceDefault(), ULock::post(), roundi(), UCamDevBase::setDevice(), UCamDevBase::setExternalTrigger(), UCamDevBase::setGain(), UCamDevBase::setPushBuffer(), UCamDevBase::setShutter(), UImage::setSize(), UTime::setTime(), UCamDevBase::setWhiteBalance(), UImage::toHalf(), ULock::tryLock(), ULock::unlock(), UImage::updated(), UImage::valid, UCamDevBase::vars, and Wait().


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