TunerServer Class Reference

#include <tunerserver.h>

Inherited by DVBTune.

Collaboration diagram for TunerServer:

Collaboration graph
[legend]

Public Member Functions

 TunerServer (RenderFarmClientThread *client)
virtual ~TunerServer ()
void main_loop ()
virtual int open_tuner ()
virtual int close_tuner ()
virtual int get_signal_strength (int *current_power, int *current_lock)
virtual int read_data (unsigned char *data, int size)
int get_table ()
int get_channel ()
int get_audio_pid ()
int get_video_pid ()
int get_device_number ()

Private Attributes

int is_busy
RenderFarmClientThreadclient
int port
int channel
int table
int audio_pid
int video_pid
int device_number
unsigned char * temp
int temp_allocated
int connection_closed

Detailed Description

Inherited by all network tuners.

Definition at line 18 of file tunerserver.h.


Constructor & Destructor Documentation

TunerServer::TunerServer ( RenderFarmClientThread client  ) 

TunerServer::~TunerServer (  )  [virtual]

Definition at line 33 of file tunerserver.C.

References temp.


Member Function Documentation

void TunerServer::main_loop (  ) 

int TunerServer::open_tuner (  )  [virtual]

These are overridden. Returns of 1 are considered errors.

Reimplemented in DVBTune.

Definition at line 173 of file tunerserver.C.

Referenced by main_loop().

int TunerServer::close_tuner (  )  [virtual]

Reimplemented in DVBTune.

Definition at line 178 of file tunerserver.C.

Referenced by main_loop().

int TunerServer::get_signal_strength ( int *  current_power,
int *  current_lock 
) [virtual]

Reimplemented in DVBTune.

Definition at line 184 of file tunerserver.C.

Referenced by main_loop().

int TunerServer::read_data ( unsigned char *  data,
int  size 
) [virtual]

Should return the number of bytes read.

Reimplemented in DVBTune.

Definition at line 189 of file tunerserver.C.

Referenced by main_loop().

int TunerServer::get_table (  ) 

Definition at line 152 of file tunerserver.C.

References table.

Referenced by DVBTune::open_tuner().

int TunerServer::get_channel (  ) 

Definition at line 147 of file tunerserver.C.

References channel.

Referenced by DVBTune::open_tuner().

int TunerServer::get_audio_pid (  ) 

Definition at line 157 of file tunerserver.C.

References audio_pid.

Referenced by DVBTune::open_tuner().

int TunerServer::get_video_pid (  ) 

Definition at line 162 of file tunerserver.C.

References video_pid.

Referenced by DVBTune::open_tuner().

int TunerServer::get_device_number (  ) 

Definition at line 167 of file tunerserver.C.

References device_number.

Referenced by DVBTune::open_tuner().


Field Documentation

int TunerServer::is_busy [private]

Definition at line 50 of file tunerserver.h.

Referenced by main_loop(), and TunerServer().

Definition at line 51 of file tunerserver.h.

Referenced by main_loop().

int TunerServer::port [private]

Definition at line 52 of file tunerserver.h.

Referenced by TunerServer().

int TunerServer::channel [private]

Definition at line 54 of file tunerserver.h.

Referenced by get_channel(), main_loop(), and TunerServer().

int TunerServer::table [private]

Definition at line 56 of file tunerserver.h.

Referenced by get_table(), main_loop(), DVBTune::open_tuner(), and TunerServer().

int TunerServer::audio_pid [private]

Definition at line 57 of file tunerserver.h.

Referenced by get_audio_pid(), main_loop(), and TunerServer().

int TunerServer::video_pid [private]

Definition at line 58 of file tunerserver.h.

Referenced by get_video_pid(), main_loop(), and TunerServer().

Definition at line 59 of file tunerserver.h.

Referenced by get_device_number(), and TunerServer().

unsigned char* TunerServer::temp [private]

Definition at line 60 of file tunerserver.h.

Referenced by main_loop(), TunerServer(), and ~TunerServer().

Definition at line 61 of file tunerserver.h.

Referenced by main_loop(), and TunerServer().

Definition at line 62 of file tunerserver.h.

Referenced by TunerServer().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:48:04 2008 for Cinelerra by  doxygen 1.5.5