Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

The Video for Linux 2 Grabber uses the v4l2-api to access video capturing devices \. More...

#include <V4L2Grabber.h>

Inheritance diagram for icl::io::V4L2Grabber:
icl::io::Grabber icl::utils::Uncopyable icl::utils::Configurable

List of all members.

Public Member Functions

ICLIO_API V4L2Grabber (const std::string &device="/dev/video0")
 create a new grabbers instance, with given device name (
ICLIO_API ~V4L2Grabber ()
 Destruktoer.
virtual ICLIO_API const
core::ImgBase
acquireImage ()
 obtains the next image

Static Public Member Functions

static ICLIO_API const
std::vector
< GrabberDeviceDescription > & 
getDeviceList (std::string hint, bool rescan)
 returns a list of all supported video devices

Private Member Functions

void addProperties ()
 adds properties to Configurable
void processPropertyChange (const utils::Configurable::Property &prop)
 callback for changed configurable properties

Private Attributes

Impl * impl
 internal implementation
utils::Mutex implMutex
 protects the impl which is reallocated when the core::format is changed

Detailed Description

The Video for Linux 2 Grabber uses the v4l2-api to access video capturing devices \.

This grabber backend is usually used for USB-Webcams as well as for Grabber cards


Constructor & Destructor Documentation

ICLIO_API icl::io::V4L2Grabber::V4L2Grabber ( const std::string &  device = "/dev/video0")

create a new grabbers instance, with given device name (

Destruktoer.


Member Function Documentation

obtains the next image

Reimplemented from icl::io::Grabber.

adds properties to Configurable

static ICLIO_API const std::vector<GrabberDeviceDescription>& icl::io::V4L2Grabber::getDeviceList ( std::string  hint,
bool  rescan 
) [static]

returns a list of all supported video devices

callback for changed configurable properties

Reimplemented from icl::io::Grabber.


Member Data Documentation

Impl* icl::io::V4L2Grabber::impl [private]

internal implementation

internal data structure

protects the impl which is reallocated when the core::format is changed


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines