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

USBRun Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings2/usb/usbrun.h>

Inheritance diagram for USBRun:

Inheritance graph
[legend]
Collaboration diagram for USBRun:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 USBRun (ANetNodeInstance *NNI, USBData &Data)
virtual RuntimeInfodevice (void)
bool handlesInterface (const QString &I)
bool handlesInterface (InterfaceInfo *)
State_t detectState (void)

Protected Member Functions

QString setMyState (NetworkSetup *, Action_t, bool)

Private Member Functions

InterfaceInfogetInterface (void)

Private Attributes

QRegExp Pat

Constructor & Destructor Documentation

USBRun::USBRun ANetNodeInstance NNI,
USBData Data
[inline]
 

Definition at line 12 of file usbrun.h.


Member Function Documentation

State_t USBRun::detectState void   )  [virtual]
 

Implements RuntimeInfo.

Definition at line 7 of file usbrun.cpp.

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

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

Reimplemented from RuntimeInfo.

Definition at line 18 of file usbrun.h.

InterfaceInfo * USBRun::getInterface void   )  [private]
 

Definition at line 80 of file usbrun.cpp.

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

Referenced by detectState(), and setMyState().

bool USBRun::handlesInterface InterfaceInfo  ) 
 

Definition at line 117 of file usbrun.cpp.

References handlesInterface().

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

Reimplemented from RuntimeInfo.

Definition at line 113 of file usbrun.cpp.

References QRegExp::match(), and Pat.

Referenced by detectState(), getInterface(), and handlesInterface().

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

Implements RuntimeInfo.

Definition at line 64 of file usbrun.cpp.

References NetworkSetup::assignInterface(), getInterface(), I(), QString::latin1(), Log, and InterfaceInfo::Name.


Member Data Documentation

QRegExp USBRun::Pat [private]
 

Definition at line 33 of file usbrun.h.

Referenced by handlesInterface().


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