opentl::input::V4L2Camera Class Reference

Interface class for using V4L2 API to access (USB,...) cameras. More...

Inherits opentl::input::ImageSensor.

List of all members.

Public Types


Public Member Functions

virtual void captureNext ()
 capture the next image from the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual void captureStart ()
 start the capturing process of the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual void captureStop ()
 stop the capturing process of the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual void close ()
 closes the connection to the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual const
opentl::core::cvdata::Image
image ()
 returns current frame
virtual void init ()
 initializes the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
virtual void open ()
 opens the connection to the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class
 V4L2Camera (int camIndex=0)
virtual ~V4L2Camera ()

Protected Member Functions

virtual void onlineParameterChangedCallBack (unsigned int param)


Detailed Description

Interface class for using V4L2 API to access (USB,...) cameras.

Author:
Sebastian Klose <kloses@in.tum.de>

Member Enumeration Documentation

Enumerator:
RequestedWidth 
RequestedHeight 
RequestedFrameRate 
NumBuffers 
OFFLINE_COUNT 

Reimplemented from opentl::input::ImageSensor.

Enumerator:
AutoExposure 
AutoIris 
AbsoluteExposureValue 
AutoFocus 
AutoWhiteBalance 
BackLightCompensation 
ONLINE_COUNT 

Reimplemented from opentl::input::ImageSensor.


Constructor & Destructor Documentation

opentl::input::V4L2Camera::V4L2Camera ( int  camIndex = 0  ) 

virtual opentl::input::V4L2Camera::~V4L2Camera (  )  [virtual]


Member Function Documentation

virtual void opentl::input::V4L2Camera::captureNext (  )  [virtual]

capture the next image from the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::ImageSensor.

virtual void opentl::input::V4L2Camera::captureStart (  )  [virtual]

start the capturing process of the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::ImageSensor.

virtual void opentl::input::V4L2Camera::captureStop (  )  [virtual]

stop the capturing process of the image sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::ImageSensor.

virtual void opentl::input::V4L2Camera::close (  )  [virtual]

closes the connection to the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::AbstractSensor.

virtual const opentl::core::cvdata::Image& opentl::input::V4L2Camera::image (  )  [virtual]

returns current frame

Reimplemented from opentl::input::ImageSensor.

virtual void opentl::input::V4L2Camera::init (  )  [virtual]

initializes the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::AbstractSensor.

virtual void opentl::input::V4L2Camera::onlineParameterChangedCallBack ( unsigned int  param  )  [protected, virtual]

virtual void opentl::input::V4L2Camera::open (  )  [virtual]

opens the connection to the sensor (e.g. a camera) IMPORTANT: implement this method in your sensor class

Reimplemented from opentl::input::AbstractSensor.


Generated on Thu Jun 10 21:08:09 2010 for OpenTL by  doxygen 1.5.8