Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

WvModemBase Class Reference

#include <wvmodem.h>

Inheritance diagram for WvModemBase:

WvFile WvFile WvStream WvStream WvStream WvStream WvModem WvModem List of all members.

Public Methods

 WvModemBase (int _fd)
virtual ~WvModemBase ()
virtual void close ()
virtual bool carrier ()
virtual int speed (int _baud)
int getspeed ()
virtual void hangup ()
 WvModemBase (int _fd)
virtual ~WvModemBase ()
virtual void close ()
virtual bool carrier ()
virtual int speed (int _baud)
int getspeed ()
virtual void hangup ()

Public Attributes

bool die_fast

Protected Methods

 WvModemBase ()
int get_real_speed ()
 WvModemBase ()
int get_real_speed ()

Protected Attributes

termios t
int baud
termios t

Detailed Description

WvModemBase provides the methods used to control a modem, but without real implementation for most of them, so that they can be used in contexts where modem control is undesirable without reimplementing calling code for such uses.

Definition at line 37 of file include/wvmodem.h.


Constructor & Destructor Documentation

WvModemBase::WvModemBase   [inline, protected]
 

Definition at line 43 of file include/wvmodem.h.

WvModemBase::WvModemBase int    _fd
 

Definition at line 41 of file wvmodem.cc.

References get_real_speed.

WvModemBase::~WvModemBase   [virtual]
 

Definition at line 47 of file wvmodem.cc.

WvModemBase::WvModemBase   [inline, protected]
 

Definition at line 43 of file streams/wvmodem.h.

WvModemBase::WvModemBase int    _fd
 

virtual WvModemBase::~WvModemBase   [virtual]
 


Member Function Documentation

virtual bool WvModemBase::carrier   [virtual]
 

do-nothing method that is not needed in WvModemBase

Reimplemented in WvModem.

bool WvModemBase::carrier   [virtual]
 

do-nothing method that is not needed in WvModemBase

Reimplemented in WvModem.

Definition at line 80 of file wvmodem.cc.

Referenced by hangup.

virtual void WvModemBase::close   [virtual]
 

do-nothing method that is not needed in WvModemBase

Reimplemented from WvStream.

Reimplemented in WvModem.

void WvModemBase::close   [virtual]
 

do-nothing method that is not needed in WvModemBase

Reimplemented from WvStream.

Reimplemented in WvModem.

Definition at line 74 of file wvmodem.cc.

int WvModemBase::get_real_speed   [protected]
 

int WvModemBase::get_real_speed   [protected]
 

Definition at line 53 of file wvmodem.cc.

References SpeedLookup::baud, baud, WvStream::getrfd, WvStream::isok, SpeedLookup::speedt, and t.

Referenced by WvModem::speed, and WvModemBase.

int WvModemBase::getspeed   [inline]
 

this one really is needed

Definition at line 71 of file streams/wvmodem.h.

References baud.

int WvModemBase::getspeed   [inline]
 

this one really is needed

Definition at line 71 of file include/wvmodem.h.

References baud.

virtual void WvModemBase::hangup   [virtual]
 

may need to hangup for redial reasons

void WvModemBase::hangup   [virtual]
 

may need to hangup for redial reasons

Definition at line 92 of file wvmodem.cc.

References baud, carrier, die_fast, WvStream::drain, WvStream::getrfd, WvStream::isok, WvStream::select, speed, t, and WvStream::write.

Referenced by WvModem::close.

virtual int WvModemBase::speed int    _baud [virtual]
 

do-nothing method that is not needed in WvModemBase

Reimplemented in WvModem.

int WvModemBase::speed int    _baud [virtual]
 

do-nothing method that is not needed in WvModemBase

Reimplemented in WvModem.

Definition at line 86 of file wvmodem.cc.

References baud.

Referenced by hangup.


Member Data Documentation

int WvModemBase::baud [protected]
 

Definition at line 41 of file streams/wvmodem.h.

Referenced by get_real_speed, getspeed, hangup, WvModem::setup_modem, WvModem::speed, speed, and WvModem::WvModem.

bool WvModemBase::die_fast
 

Definition at line 48 of file streams/wvmodem.h.

Referenced by hangup, and WvModem::WvModem.

struct termios WvModemBase::t [protected]
 

Definition at line 40 of file streams/wvmodem.h.

struct termios WvModemBase::t [protected]
 

Definition at line 40 of file include/wvmodem.h.

Referenced by get_real_speed, hangup, WvModem::setup_modem, and WvModem::speed.


The documentation for this class was generated from the following files:
Generated on Sun Aug 25 02:29:44 2002 for WvStreams by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002