avcap::QT_DeviceEnumerator Class Reference

#include <avcap/osx/QT_DeviceEnumerator.h>

Inheritance diagram for avcap::QT_DeviceEnumerator:

Inheritance graph
[legend]

Detailed Description

This special DeviceDescriptor is used by the DeviceCollector to enumerate QuickTime capture-devices.


Public Member Functions

 QT_DeviceEnumerator ()
virtual ~QT_DeviceEnumerator ()
int findDevices (DeviceCollector::DeviceList &dev_list)
 Use this method to populate a DeviceList with the descriptors of the Devices found on the system.
virtual int open ()
 Open the underlying device.
virtual int close ()
 Close the underlying device.


Constructor & Destructor Documentation

avcap::QT_DeviceEnumerator::QT_DeviceEnumerator (  ) 

virtual avcap::QT_DeviceEnumerator::~QT_DeviceEnumerator (  )  [virtual]


Member Function Documentation

int avcap::QT_DeviceEnumerator::findDevices ( DeviceCollector::DeviceList dev_list  ) 

Use this method to populate a DeviceList with the descriptors of the Devices found on the system.

Parameters:
dev_list : the list that is filled with DeviceDescriptor-objects.
Returns:
0 on success, -1 else

virtual int avcap::QT_DeviceEnumerator::open (  )  [virtual]

Open the underlying device.

The CaptureDevice-Object returned by getDevice(), which is actually used to perform capturing is not valid before open() is called.

Returns:
0 success, -1 on failure, e.g. open() has been already called before

Reimplemented from avcap::QT_DeviceDescriptor.

virtual int avcap::QT_DeviceEnumerator::close (  )  [virtual]

Close the underlying device.

The CaptureDevice-Object returned by getDevice(), which is actually used to perform capturing, is not valid after close() is called.

Returns:
0 success, -1 failure

Reimplemented from avcap::QT_DeviceDescriptor.


The documentation for this class was generated from the following file:
Generated on Mon Nov 30 11:10:33 2009 for avcap-0.1 by  doxygen 1.5.1