iso::tracker::GigECamera Class Reference

#include <iso_tracker_gige_camera.h>

Inherits iso::tracker::Camera.

Inheritance diagram for iso::tracker::GigECamera:

Inheritance graph
[legend]
Collaboration diagram for iso::tracker::GigECamera:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GigECamera (const math::Vector2< unsigned int > &pFrameSize) throw (TrackerException)
 create camera
 ~GigECamera () throw (TrackerException)
 destructor
void start () throw (TrackerException)
void stop () throw (TrackerException)
void save ()
void restore ()
GigEControlType controlType (const base::String &pControlName) const throw (TrackerException)
 return control type
void controlValue (const base::String &pControlName, float &pControlValue) const throw (TrackerException)
 return camera control value
void controlValue (const base::String &pControlName, base::String &pControlValue) const throw (TrackerException)
 return camera control value
void setControl (const base::String &pControlName, float pValue) throw (TrackerException)
 set value of camera control
void setControl (const base::String &pControlName, int pValue) throw (TrackerException)
 set value of camera control
void setControl (const base::String &pControlName, const base::String &pOption) throw (TrackerException)
 set value of camera control
void capture () throw (TrackerException)
 capture frame
Exceptions:
TrackerException failed to capture frame


Protected Member Functions

void init () throw (TrackerException)

Protected Attributes

unsigned long mCamID
tPvHandle mCamHandle
tPvFrame mGigEFrame
QVector< base::String > mControls
QString mSaveFileName
 list of camera control names

Friends

class GigETools

Constructor & Destructor Documentation

GigECamera::GigECamera ( const math::Vector2< unsigned int > &  pFrameSize  )  throw (TrackerException)

create camera

Parameters:
pFrameSize frame size
Exceptions:
TrackerException camera setup failed

GigECamera::~GigECamera (  )  throw (TrackerException)

destructor


Member Function Documentation

void GigECamera::start (  )  throw (TrackerException) [virtual]

Reimplemented from iso::tracker::Camera.

void GigECamera::stop (  )  throw (TrackerException) [virtual]

Reimplemented from iso::tracker::Camera.

void GigECamera::save (  ) 

void GigECamera::restore (  ) 

GigEControlType GigECamera::controlType ( const base::String &  pControlName  )  const throw (TrackerException)

return control type

Parameters:
pControlName name of control
Returns:
control type
Exceptions:
TrackerException camera control name not found

void GigECamera::controlValue ( const base::String &  pControlName,
float &  pControlValue 
) const throw (TrackerException) [virtual]

return camera control value

Parameters:
pControlName name of control
Returns:
camera control value
Exceptions:
TrackerException camera control name not found

Reimplemented from iso::tracker::Camera.

void GigECamera::controlValue ( const base::String &  pControlName,
base::String &  pControlValue 
) const throw (TrackerException) [virtual]

return camera control value

Parameters:
pControlName name of control
Returns:
camera control value
Exceptions:
TrackerException camera control name not found

Reimplemented from iso::tracker::Camera.

void GigECamera::setControl ( const base::String &  pControlName,
float  pValue 
) throw (TrackerException) [virtual]

set value of camera control

Parameters:
pControlName name of control
pValue control value
Exceptions:
TrackerException camera control name not found
the corresponding control is automatically set to manual mode

Reimplemented from iso::tracker::Camera.

void GigECamera::setControl ( const base::String &  pControlName,
int  pValue 
) throw (TrackerException) [virtual]

set value of camera control

Parameters:
pControlName name of control
pValue control value
Exceptions:
TrackerException camera control name not found
the corresponding control is automatically set to manual mode

Reimplemented from iso::tracker::Camera.

void GigECamera::setControl ( const base::String &  pControlName,
const base::String &  pOption 
) throw (TrackerException) [virtual]

set value of camera control

Parameters:
pControlName name of control
pValue control value
Exceptions:
TrackerException camera control name not found
the corresponding control is automatically set to manual mode

Reimplemented from iso::tracker::Camera.

void GigECamera::capture (  )  throw (TrackerException) [virtual]

capture frame

Exceptions:
TrackerException failed to capture frame

Implements iso::tracker::Camera.

void GigECamera::init (  )  throw (TrackerException) [protected]


Friends And Related Function Documentation

friend class GigETools [friend]


Member Data Documentation

unsigned long iso::tracker::GigECamera::mCamID [protected]

tPvHandle iso::tracker::GigECamera::mCamHandle [protected]

tPvFrame iso::tracker::GigECamera::mGigEFrame [protected]

QVector< base::String > iso::tracker::GigECamera::mControls [protected]

Reimplemented from iso::tracker::Camera.

QString iso::tracker::GigECamera::mSaveFileName [protected]

list of camera control names


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:20:28 2011 for iso_tracker by  doxygen 1.5.1