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

V4LTuner Class Reference

#include <v4l.h>

Inheritance diagram for V4LTuner:

Inheritance graph
[legend]
Collaboration diagram for V4LTuner:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 V4LTuner (V4LDevice *device, int index)
void * getStruct ()
void report ()
int getRangeLow ()
void setRangeLow (int low)
int getRangeHigh ()
void setRangeHigh (int high)
int getFlags ()
void setFlags (int flags)
int getMode ()
void setMode (int mode)
int getSignal ()

Private Attributes

V4LDevicedevice
video_tuner tuner

Constructor & Destructor Documentation

V4LTuner::V4LTuner V4LDevice device,
int  index
 

Definition at line 192 of file v4l.cc.

References V4LDevice::request(), and tuner.

00193 {
00194     this->device = device;
00195     this->tuner.tuner = index;
00196     this->device->request( VIDIOCGTUNER, this );
00197 }


Member Function Documentation

int V4LTuner::getFlags  ) 
 

Definition at line 227 of file v4l.cc.

References tuner.

00228 {
00229     return tuner.flags;
00230 }

int V4LTuner::getMode  ) 
 

Definition at line 237 of file v4l.cc.

References tuner.

00238 {
00239     return tuner.mode;
00240 }

int V4LTuner::getRangeHigh  ) 
 

Definition at line 217 of file v4l.cc.

References tuner.

00218 {
00219     return tuner.rangehigh;
00220 }

int V4LTuner::getRangeLow  ) 
 

Definition at line 207 of file v4l.cc.

References tuner.

00208 {
00209     return tuner.rangelow;
00210 }

int V4LTuner::getSignal  ) 
 

Definition at line 247 of file v4l.cc.

References tuner.

Referenced by V4LChannel::getSignal().

00248 {
00249     return tuner.signal;
00250 }

void * V4LTuner::getStruct  )  [virtual]
 

Implements V4LStruct.

Definition at line 199 of file v4l.cc.

References tuner.

00200 {
00201     return & tuner;
00202 }

void V4LTuner::report  ) 
 

Definition at line 204 of file v4l.cc.

00205 {}

void V4LTuner::setFlags int  flags  ) 
 

Definition at line 232 of file v4l.cc.

References tuner.

00233 {
00234     tuner.flags = flags;
00235 }

void V4LTuner::setMode int  mode  ) 
 

Definition at line 242 of file v4l.cc.

References tuner.

00243 {
00244     tuner.mode = mode;
00245 }

void V4LTuner::setRangeHigh int  high  ) 
 

Definition at line 222 of file v4l.cc.

References tuner.

Referenced by V4LChannel::setTuner().

00223 {
00224     tuner.rangehigh = high;
00225 }

void V4LTuner::setRangeLow int  low  ) 
 

Definition at line 212 of file v4l.cc.

References tuner.

Referenced by V4LChannel::setTuner().

00213 {
00214     tuner.rangelow = low;
00215 }


Member Data Documentation

V4LDevice* V4LTuner::device [private]
 

Definition at line 102 of file v4l.h.

struct video_tuner V4LTuner::tuner [private]
 

Definition at line 103 of file v4l.h.

Referenced by getFlags(), getMode(), getRangeHigh(), getRangeLow(), getSignal(), getStruct(), setFlags(), setMode(), setRangeHigh(), setRangeLow(), and V4LTuner().


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