#include <avcap/windows/DS_ConnectorManager.h>
Inheritance diagram for avcap::DS_ConnectorManager:
Public Member Functions | |
DS_ConnectorManager (DS_DeviceDescriptor *dd) | |
virtual | ~DS_ConnectorManager () |
Connector * | getVideoInput () |
Returns the Connector describing the currently used video input. | |
int | setVideoInput (Connector *c) |
Sets the currently used video input. | |
Connector * | getAudioInput () |
Returns the Connector describing the currently used audio input. | |
int | setAudioInput (Connector *c) |
Sets the currently used audio input. | |
Connector * | getVideoOutput () |
Returns the Connector describing the currently used video output. | |
int | setVideoOutput (Connector *c) |
Sets the currently used video output. | |
Connector * | getAudioOutput () |
Returns the Connector describing the currently used audio output. | |
int | setAudioOutput (Connector *c) |
Sets the currently used audio output. | |
void | query () |
This method is called after creation to query for video/audio in- and outputs. |
avcap::DS_ConnectorManager::DS_ConnectorManager | ( | DS_DeviceDescriptor * | dd | ) |
Construct the manager and query for available inputs and outputs for audio and video. The manager is usualy created by an CaptureDevice object.
dd | The DeviceDescriptor to acces the device. |
virtual avcap::DS_ConnectorManager::~DS_ConnectorManager | ( | ) | [virtual] |
The destructor.
Connector* avcap::DS_ConnectorManager::getVideoInput | ( | ) | [virtual] |
Returns the Connector describing the currently used video input.
The default-implementation returns 0.
Reimplemented from avcap::ConnectorManager.
int avcap::DS_ConnectorManager::setVideoInput | ( | Connector * | c | ) | [virtual] |
Sets the currently used video input.
The default-implementation is a noop and returns -1.
c | The connector to use for the video input. |
Reimplemented from avcap::ConnectorManager.
Connector* avcap::DS_ConnectorManager::getAudioInput | ( | ) | [virtual] |
Returns the Connector describing the currently used audio input.
The default-implementation returns 0.
Reimplemented from avcap::ConnectorManager.
int avcap::DS_ConnectorManager::setAudioInput | ( | Connector * | c | ) | [virtual] |
Sets the currently used audio input.
The default-implementation is a noop and returns -1.
c | The connector to use for the audio input. |
Reimplemented from avcap::ConnectorManager.
Connector* avcap::DS_ConnectorManager::getVideoOutput | ( | ) | [virtual] |
Returns the Connector describing the currently used video output.
The default-implementation returns 0.
Reimplemented from avcap::ConnectorManager.
int avcap::DS_ConnectorManager::setVideoOutput | ( | Connector * | c | ) | [virtual] |
Sets the currently used video output.
The default-implementation is a noop and returns -1.
c | The connector to use for the video input. |
Reimplemented from avcap::ConnectorManager.
Connector* avcap::DS_ConnectorManager::getAudioOutput | ( | ) | [virtual] |
Returns the Connector describing the currently used audio output.
The default-implementation returns 0.
Reimplemented from avcap::ConnectorManager.
int avcap::DS_ConnectorManager::setAudioOutput | ( | Connector * | c | ) | [virtual] |
Sets the currently used audio output.
The default-implementation is a noop and returns -1.
c | The connector to use for the audio output. |
Reimplemented from avcap::ConnectorManager.
void avcap::DS_ConnectorManager::query | ( | ) | [virtual] |
This method is called after creation to query for video/audio in- and outputs.
Implements avcap::ConnectorManager.