Options

Parse and store command line options.

Public Methods

Options( int argc, char* argv[] );
QString&cmd( );
intdivider( );
intinterval( );
intlink( );
intperiod( );
intretry( );
QColor&rxColor( );
boolshowRx( );
boolshowTx( );
QColor&txColor( );

Private Data Members

QString_cmd; Command to bring up the PPP link.
int_divider; Sapcing between horizontal dividers.
int_interval; Statistics polling interval in seconds.
int_link; PPP link number to monitor.
int_period; Load averaging interval in seconds.
int_retry; Time between retries when dialling PPP link.
QColor_rxColor; Color for receive stats.
bool_showRx; True means display receive stats.
bool_showTx; True means display transmit stats.
QColor_txColor; Color for transmit stats.

Public Methods Documentation

Options ( int argc, char* argv[] );

Extract command line opotions from argc and argv.

QString& cmd ( );

Return the PPP command.

int divider ( );

Return the spacing between horizontal dividers.

int interval ( );

Return the statistics polling interval.

int link ( );

Return the PPP link number to monitor.

int period ( );

Return the load averaging period.

int retry ( );

Return the time betweem PPP link dialling retries.

QColor& rxColor ( );

Return the receive color.

bool showRx ( );

Return the receive stats flag.

bool showTx ( );

Return the transmit stats flag.

QColor& txColor ( );

Return the transmit color.


Return to Index.
Automatically generated on Sep 12 20:03