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

LanCardRun Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings2/lancard/lancardrun.h>

Inheritance diagram for LanCardRun:

Inheritance graph
[legend]
Collaboration diagram for LanCardRun:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LanCardRun (ANetNodeInstance *NNI, LanCardData &D)
virtual RuntimeInfodevice (void)
bool handlesInterface (const QString &I)
bool handlesInterface (const InterfaceInfo &II)
State_t detectState (void)

Protected Member Functions

QString setMyState (NetworkSetup *, Action_t, bool)

Private Member Functions

InterfaceInfogetInterface (void)

Private Attributes

QRegExp Pat
LanCardDataData

Constructor & Destructor Documentation

LanCardRun::LanCardRun ANetNodeInstance NNI,
LanCardData D
[inline]
 

Definition at line 12 of file lancardrun.h.


Member Function Documentation

State_t LanCardRun::detectState void   )  [virtual]
 

Implements RuntimeInfo.

Definition at line 7 of file lancardrun.cpp.

References NetworkSetup::assignedInterface(), NetworkSetup::assignInterface(), Available, QDictIterator< type >::current(), F(), handlesInterface(), System::interfaces(), IO_ReadOnly, IsUp, InterfaceInfo::IsUp, InterfaceInfo::Name, RuntimeInfo::networkSetup(), NSResources, NetworkSetup::number(), Off, QFile::open(), QTextStream::readLine(), S, Unavailable, and X.

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

Reimplemented from RuntimeInfo.

Definition at line 18 of file lancardrun.h.

InterfaceInfo * LanCardRun::getInterface void   )  [private]
 

Definition at line 100 of file lancardrun.cpp.

References QDictIterator< type >::current(), handlesInterface(), System::interfaces(), RuntimeInfo::netNode(), NSResources, and S.

Referenced by setMyState().

bool LanCardRun::handlesInterface const InterfaceInfo II  ) 
 

Reimplemented from RuntimeInfo.

Definition at line 138 of file lancardrun.cpp.

References QRegExp::match(), and Pat.

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

Reimplemented from RuntimeInfo.

Definition at line 129 of file lancardrun.cpp.

References II(), QRegExp::match(), NSResources, and Pat.

Referenced by detectState(), and getInterface().

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

Implements RuntimeInfo.

Definition at line 73 of file lancardrun.cpp.

References Activate, NetworkSetup::assignInterface(), Available, Deactivate, getInterface(), N, Off, NetworkSetup::setCurrentState(), tr, and Unavailable.


Member Data Documentation

LanCardData* LanCardRun::Data [private]
 

Definition at line 34 of file lancardrun.h.

QRegExp LanCardRun::Pat [private]
 

Definition at line 33 of file lancardrun.h.

Referenced by handlesInterface().


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