File: Options.html

package info (click to toggle)
pppload 1.0-5
  • links: PTS
  • area: contrib
  • in suites: hamm
  • size: 116 kB
  • ctags: 84
  • sloc: cpp: 408; makefile: 175
file content (63 lines) | stat: -rw-r--r-- 3,331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<HTML>
<HEAD>
<TITLE>Options</TITLE>
</HEAD>
<BODY>
<H1 ALIGN=CENTER>Options</H1>
<P> Parse and store command line options.</P>
<H2>Public Methods</H2>
<TABLE BORDER=0>
<TR><TD VALIGN=TOP ALIGN=RIGHT>  <TD VALIGN=TOP ALIGN=RIGHT><A HREF="#9"><B>Options</B></A><TD>(  int argc,  char* argv[] );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  QString&<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#10"><B>cmd</B></A><TD>(  );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  int<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#11"><B>divider</B></A><TD>(  );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  int<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#12"><B>interval</B></A><TD>(  );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  int<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#13"><B>link</B></A><TD>(  );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  int<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#14"><B>period</B></A><TD>(  );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  int<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#15"><B>retry</B></A><TD>(  );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  QColor&<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#16"><B>rxColor</B></A><TD>(  );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  bool<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#17"><B>showRx</B></A><TD>(  );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  bool<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#18"><B>showTx</B></A><TD>(  );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  QColor&<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#19"><B>txColor</B></A><TD>(  );
</TABLE>
<H2>Private Data Members</H2>
<TABLE BORDER=0>
<TR><TD ALIGN=RIGHT> QString<TD><B>_cmd</B>;<TD><EM> Command to bring up the PPP link.</EM>
<TR><TD ALIGN=RIGHT> int<TD><B>_divider</B>;<TD><EM> Sapcing between horizontal dividers.</EM>
<TR><TD ALIGN=RIGHT> int<TD><B>_interval</B>;<TD><EM> Statistics polling interval in seconds.</EM>
<TR><TD ALIGN=RIGHT> int<TD><B>_link</B>;<TD><EM> PPP link number to monitor.</EM>
<TR><TD ALIGN=RIGHT> int<TD><B>_period</B>;<TD><EM> Load averaging interval in seconds.</EM>
<TR><TD ALIGN=RIGHT> int<TD><B>_retry</B>;<TD><EM> Time between retries when dialling PPP link.</EM>
<TR><TD ALIGN=RIGHT> QColor<TD><B>_rxColor</B>;<TD><EM> Color for receive stats.</EM>
<TR><TD ALIGN=RIGHT> bool<TD><B>_showRx</B>;<TD><EM> True means display receive stats.</EM>
<TR><TD ALIGN=RIGHT> bool<TD><B>_showTx</B>;<TD><EM> True means display transmit stats.</EM>
<TR><TD ALIGN=RIGHT> QColor<TD><B>_txColor</B>;<TD><EM> Color for transmit stats.</EM>
</TABLE>
<H2>Public Methods Documentation</H2>
<H4>   Options (  int argc,  char* argv[] );</H4>
<P> Extract command line opotions from argc and argv.</P>
<H4>  QString& cmd (  );</H4>
<P> Return the PPP command.</P>
<H4>  int divider (  );</H4>
<P> Return the spacing between horizontal dividers.</P>
<H4>  int interval (  );</H4>
<P> Return the statistics polling interval.</P>
<H4>  int link (  );</H4>
<P> Return the PPP link number to monitor.</P>
<H4>  int period (  );</H4>
<P> Return the load averaging period.</P>
<H4>  int retry (  );</H4>
<P> Return the time betweem PPP link dialling retries.</P>
<H4>  QColor& rxColor (  );</H4>
<P> Return the receive color.</P>
<H4>  bool showRx (  );</H4>
<P> Return the receive stats flag.</P>
<H4>  bool showTx (  );</H4>
<P> Return the transmit stats flag.</P>
<H4>  QColor& txColor (  );</H4>
<P> Return the transmit color.</P>
</BODY>
</HTML>
<HR>
Return to <A HREF="index.html">Index</A>.<BR>
Automatically generated on <STRONG>Oct 27 22:18
</STRONG>