Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

V4LDevice Class Reference

Abstract V4L Device class. More...

#include <v4l.h>

Inheritance diagram for V4LDevice:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~V4LDevice ()
virtual int getHandle ()=0
bool request (int req, V4LStruct *v4l)
 Send a request to the v4l device associated to a V4LStruct object.
bool request (int req, void *addr)
 Send a request to the v4l device associated to an arbitrary address.

Detailed Description

Abstract V4L Device class.

Definition at line 60 of file v4l.h.


Constructor & Destructor Documentation

virtual V4LDevice::~V4LDevice  )  [inline, virtual]
 

Definition at line 63 of file v4l.h.

00063 {}


Member Function Documentation

virtual int V4LDevice::getHandle  )  [pure virtual]
 

Implemented in V4L.

Referenced by request().

bool V4LDevice::request int  req,
void *  addr
 

Send a request to the v4l device associated to an arbitrary address.

Definition at line 71 of file v4l.cc.

References getHandle().

00072 {
00073     return ioctl( getHandle(), req, addr ) != -1;
00074 }

bool V4LDevice::request int  req,
V4LStruct v4l
 

Send a request to the v4l device associated to a V4LStruct object.

Definition at line 62 of file v4l.cc.

References ENCODE_YUV, and V4LStruct::getStruct().

Referenced by V4LChannel::getSignal(), V4L::setChannel(), V4LChannel::setTuner(), V4LCapability::V4LCapability(), V4LChannel::V4LChannel(), and V4LTuner::V4LTuner().

00063 {
00064     ENCODE_YUV = getenv( "KINO_V4L_FFMPEG" ) != NULL;
00065     return request( req, v4l->getStruct() );
00066 }


The documentation for this class was generated from the following files:
Generated on Sun Mar 11 22:13:27 2007 for Kino by  doxygen 1.4.2