avcap::DS_ControlManager Class Reference

#include <avcap/windows/DS_ControlManager.h>

Inheritance diagram for avcap::DS_ControlManager:

Inheritance graph
[legend]

Detailed Description

DirectShow ControlManager implementation.

DirectShow doesn't provide any methods to enumerate driver- specific controls like V4L2 does. There are only few DirectShow COM-Interfaces (e.g. IAMExtTransport (for Firewire or other external devices), IAMVideoControl, IAMVideoCompression, IAMVideoProcAmp, IAMCameraControl --> see DirectShow documentation), the capture device DirectShow filter (only WDM capture devices) can expose to support the setting of global properties. The most important settings are covered by these DirectShow COM-Interfaces. In the future, DirectShow will provide more COM-Interfaces.

The DirectShow COM-Interfaces IAMVideoProcAmp and IAMCameraControl have been already implemented in the avcap-library.

Most WDM capture devices and all VFW capture devices have their own driver-supplied dialog boxes with user-setable controls on it, that can't be set programmatically.


Public Member Functions

 DS_ControlManager (DS_DeviceDescriptor *dd)
virtual ~DS_ControlManager ()
ControlgetControl (const std::string &name)
 Find a control by name.
ControlgetControl (int id)
 Find a control by id.
const ListTypegetControlList ()
 Returns the STL-list of Control objects.
void query ()


Constructor & Destructor Documentation

avcap::DS_ControlManager::DS_ControlManager ( DS_DeviceDescriptor dd  ) 

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


Member Function Documentation

Control* avcap::DS_ControlManager::getControl ( const std::string &  name  ) 

Find a control by name.

Parameters:
name The name of the control to find.
Returns:
Pointer to the control or 0, if no control was found.

Reimplemented from avcap::ControlManager.

Control* avcap::DS_ControlManager::getControl ( int  id  ) 

Find a control by id.

Parameters:
id The id of the control to find.
Returns:
Pointer to the control or 0, if no control was found.

Reimplemented from avcap::ControlManager.

const ListType& avcap::DS_ControlManager::getControlList (  )  [inline]

Returns the STL-list of Control objects.

Returns:
The control list.

Reimplemented from avcap::ControlManager.

void avcap::DS_ControlManager::query (  )  [virtual]

Called during initialisation by the CaptureDevice to query for the objects that the implementation of this class manages.

Implements avcap::ControlManager.


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