avcap::V4L2_Connector Class Reference

#include <avcap/linux/V4L2_Connector.h>

Inheritance diagram for avcap::V4L2_Connector:

Inheritance graph
[legend]

Detailed Description

This class implements Connector (a video/audio input or output) for a Video4Linux2 device.


Public Member Functions

 V4L2_Connector (V4L2_DeviceDescriptor *dd, int index, const std::string &name, int type=0, int audioset=0, int tuner=0)
virtual ~V4L2_Connector ()
TunergetTuner ()
 Get the tuner associated with the Connector.
bool hasTuner () const
 Test, whether a tuner is associated with the connector or not.


Constructor & Destructor Documentation

avcap::V4L2_Connector::V4L2_Connector ( V4L2_DeviceDescriptor dd,
int  index,
const std::string &  name,
int  type = 0,
int  audioset = 0,
int  tuner = 0 
)

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


Member Function Documentation

Tuner* avcap::V4L2_Connector::getTuner (  )  [inline, virtual]

Get the tuner associated with the Connector.

If a tuner is associated whith the connector (e.g. for TV-Tuner cards), then this method returns an object of class Tuner to access the tuner specific functionality.

Returns:
object of class Tuner or 0 if there is no tuner.

Reimplemented from avcap::Connector.

bool avcap::V4L2_Connector::hasTuner (  )  const [inline, virtual]

Test, whether a tuner is associated with the connector or not.

Returns:
true, if tuner is associated, false otherwise.

Reimplemented from avcap::Connector.


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