cDiseqc Class Reference

#include <diseqc.h>

Inheritance diagram for cDiseqc:

Inheritance graph
[legend]
Collaboration diagram for cDiseqc:

Collaboration graph
[legend]

List of all members.

Public Types

enum  eDiseqcActions {
  daNone, daToneOff, daToneOn, daVoltage13,
  daVoltage18, daMiniA, daMiniB, daCodes
}
enum  { MaxDiseqcCodes = 6 }

Public Member Functions

 cDiseqc (void)
 ~cDiseqc ()
bool Parse (const char *s)
eDiseqcActions Execute (char **CurrentAction)
int Source (void) const
int Slof (void) const
char Polarization (void) const
int Lof (void) const
const char * Commands (void) const
ucharCodes (int &NumCodes)

Private Member Functions

char * Wait (char *s)
char * Codes (char *s)

Private Attributes

int source
int slof
char polarization
int lof
char * commands
bool parsing
uchar codes [MaxDiseqcCodes]
int numCodes


Detailed Description

Definition at line 15 of file diseqc.h.


Member Enumeration Documentation

Enumerator:
daNone 
daToneOff 
daToneOn 
daVoltage13 
daVoltage18 
daMiniA 
daMiniB 
daCodes 

Definition at line 17 of file diseqc.h.

anonymous enum

Enumerator:
MaxDiseqcCodes 

Definition at line 27 of file diseqc.h.


Constructor & Destructor Documentation

cDiseqc::cDiseqc ( void   ) 

Definition at line 17 of file diseqc.c.

References commands, numCodes, and parsing.

cDiseqc::~cDiseqc (  ) 

Definition at line 24 of file diseqc.c.

References commands.


Member Function Documentation

char * cDiseqc::Wait ( char *  s  )  [private]

Definition at line 58 of file diseqc.c.

References esyslog, parsing, and cCondWait::SleepMs().

Referenced by Execute().

Here is the call graph for this function:

char * cDiseqc::Codes ( char *  s  )  [private]

Definition at line 72 of file diseqc.c.

References codes, esyslog, MaxDiseqcCodes, numCodes, and skipspace().

Referenced by Execute(), and cDvbTuner::SetFrontend().

Here is the call graph for this function:

bool cDiseqc::Parse ( const char *  s  ) 

Definition at line 29 of file diseqc.c.

References commands, daNone, esyslog, Execute(), cSource::FromString(), cSources::Get(), lof, parsing, polarization, slof, source, and Sources.

Here is the call graph for this function:

cDiseqc::eDiseqcActions cDiseqc::Execute ( char **  CurrentAction  ) 

Definition at line 104 of file diseqc.c.

References Codes(), commands, daCodes, daMiniA, daMiniB, daNone, daToneOff, daToneOn, daVoltage13, daVoltage18, and Wait().

Referenced by Parse(), and cDvbTuner::SetFrontend().

Here is the call graph for this function:

int cDiseqc::Source ( void   )  const [inline]

Definition at line 51 of file diseqc.h.

References source.

int cDiseqc::Slof ( void   )  const [inline]

Definition at line 52 of file diseqc.h.

References slof.

char cDiseqc::Polarization ( void   )  const [inline]

Definition at line 53 of file diseqc.h.

References polarization.

int cDiseqc::Lof ( void   )  const [inline]

Definition at line 54 of file diseqc.h.

References lof.

Referenced by cDvbTuner::SetFrontend().

const char* cDiseqc::Commands ( void   )  const [inline]

Definition at line 55 of file diseqc.h.

References commands.

Referenced by cDvbTuner::SetFrontend().

uchar* cDiseqc::Codes ( int &  NumCodes  )  [inline]

Definition at line 56 of file diseqc.h.

References codes, and numCodes.


Member Data Documentation

int cDiseqc::source [private]

Definition at line 29 of file diseqc.h.

Referenced by Parse(), and Source().

int cDiseqc::slof [private]

Definition at line 30 of file diseqc.h.

Referenced by Parse(), and Slof().

char cDiseqc::polarization [private]

Definition at line 31 of file diseqc.h.

Referenced by Parse(), and Polarization().

int cDiseqc::lof [private]

Definition at line 32 of file diseqc.h.

Referenced by Lof(), and Parse().

char* cDiseqc::commands [private]

Definition at line 33 of file diseqc.h.

Referenced by cDiseqc(), Commands(), Execute(), Parse(), and ~cDiseqc().

bool cDiseqc::parsing [private]

Definition at line 34 of file diseqc.h.

Referenced by cDiseqc(), Parse(), and Wait().

uchar cDiseqc::codes[MaxDiseqcCodes] [private]

Definition at line 35 of file diseqc.h.

Referenced by Codes().

int cDiseqc::numCodes [private]

Definition at line 36 of file diseqc.h.

Referenced by cDiseqc(), and Codes().


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

Generated on Tue Nov 4 19:58:16 2008 for VDR by  doxygen 1.5.6