Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GPRSRun Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings2/gprs/GPRSrun.h>

Inheritance diagram for GPRSRun:

Inheritance graph
[legend]
Collaboration diagram for GPRSRun:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GPRSRun (ANetNodeInstance *NNI, GPRSData &D)
bool handlesInterface (const QString &I)
bool handlesInterface (InterfaceInfo *)
virtual RuntimeInfodevice (void)
virtual RuntimeInfoconnection (void)
State_t detectState (void)

Protected Member Functions

QString setMyState (NetworkSetup *, Action_t, bool)

Private Attributes

QRegExp Pat
size_t PPPPid

Constructor & Destructor Documentation

GPRSRun::GPRSRun ANetNodeInstance NNI,
GPRSData D
[inline]
 

Definition at line 9 of file GPRSrun.h.

References PPPPid.


Member Function Documentation

virtual RuntimeInfo* GPRSRun::connection void   )  [inline, virtual]
 

Reimplemented from RuntimeInfo.

Definition at line 20 of file GPRSrun.h.

State_t GPRSRun::detectState void   )  [virtual]
 

Implements RuntimeInfo.

Definition at line 10 of file GPRSrun.cpp.

References NetworkSetup::assignedInterface(), NetworkSetup::assignInterface(), Available, QDir::exists(), F(), I(), IO_ReadOnly, IsUp, InterfaceInfo::IsUp, QFile::name(), NetworkSetup::name(), RuntimeInfo::networkSetup(), NSResources, odebug, oendl, QFile::open(), QDir::path(), PPPPid, QTextStream::readLine(), removeSpaces(), QString::toULong(), Unknown, and X.

Referenced by setMyState().

virtual RuntimeInfo* GPRSRun::device void   )  [inline, virtual]
 

Reimplemented from RuntimeInfo.

Definition at line 18 of file GPRSrun.h.

bool GPRSRun::handlesInterface InterfaceInfo  ) 
 

Definition at line 103 of file GPRSrun.cpp.

References handlesInterface().

bool GPRSRun::handlesInterface const QString I  )  [virtual]
 

Reimplemented from RuntimeInfo.

Definition at line 99 of file GPRSrun.cpp.

References QRegExp::match(), and Pat.

Referenced by handlesInterface().

QString GPRSRun::setMyState NetworkSetup ,
Action_t  ,
bool 
[protected, virtual]
 

Implements RuntimeInfo.

Definition at line 65 of file GPRSrun.cpp.

References detectState(), Down, NSResources, odebug, oendl, PPPPid, removeSpaces(), and Up.


Member Data Documentation

QRegExp GPRSRun::Pat [private]
 

Definition at line 31 of file GPRSrun.h.

Referenced by handlesInterface().

size_t GPRSRun::PPPPid [private]
 

Definition at line 32 of file GPRSrun.h.

Referenced by detectState(), GPRSRun(), and setMyState().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:34:20 2005 for OPIE by  doxygen 1.4.2