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

BluetoothRFCOMMRun Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMrun.h>

Inheritance diagram for BluetoothRFCOMMRun:

Inheritance graph
[legend]
Collaboration diagram for BluetoothRFCOMMRun:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BluetoothRFCOMMRun (ANetNodeInstance *NNI, BluetoothRFCOMMData &D)
virtual ~BluetoothRFCOMMRun (void)
virtual RuntimeInfoline (void)
virtual QString deviceFile (void)
State_t detectState (void)

Protected Member Functions

QString setMyState (NetworkSetup *, Action_t, bool)

Private Member Functions

int deviceNrOfNetworkSetup (void)
RFCOMMChannelgetChannel (void)

Private Attributes

BluetoothRFCOMMDataData
Opietooth2::OTGatewayOT
int DeviceNr

Constructor & Destructor Documentation

BluetoothRFCOMMRun::BluetoothRFCOMMRun ANetNodeInstance NNI,
BluetoothRFCOMMData D
[inline]
 

Definition at line 10 of file bluetoothRFCOMMrun.h.

References DeviceNr, and OT.

BluetoothRFCOMMRun::~BluetoothRFCOMMRun void   )  [virtual]
 

Definition at line 23 of file bluetoothRFCOMMrun.cpp.

References OT.


Member Function Documentation

State_t BluetoothRFCOMMRun::detectState void   )  [virtual]
 

Implements RuntimeInfo.

Definition at line 29 of file bluetoothRFCOMMrun.cpp.

References Available, deviceNrOfNetworkSetup(), Opietooth2::OTGateway::isEnabled(), odebug, oendl, Off, OT, and Unavailable.

QString BluetoothRFCOMMRun::deviceFile void   )  [virtual]
 

Reimplemented from RuntimeInfo.

Definition at line 161 of file bluetoothRFCOMMrun.cpp.

References DeviceNr, deviceNrOfNetworkSetup(), Opietooth2::OTGateway::getOTDevice(), Opietooth2::OTDevice::getRFCommDevicePattern(), and OT.

int BluetoothRFCOMMRun::deviceNrOfNetworkSetup void   )  [private]
 

Definition at line 170 of file bluetoothRFCOMMrun.cpp.

References Opietooth2::OTGateway::connectedToRFCommChannel(), DeviceNr, i, odebug, oendl, and OT.

Referenced by detectState(), and deviceFile().

RFCOMMChannel * BluetoothRFCOMMRun::getChannel void   )  [private]
 

Definition at line 96 of file bluetoothRFCOMMrun.cpp.

References Opietooth2::OTPeer::address(), RFCOMMChannel::BDAddress, RFCOMMChannel::Channel, i, Opietooth2::OTPeer::name(), RFCOMMChannel::Name, odebug, oendl, OT, qApp, and TRUE.

Referenced by setMyState().

virtual RuntimeInfo* BluetoothRFCOMMRun::line void   )  [inline, virtual]
 

Reimplemented from RuntimeInfo.

Definition at line 15 of file bluetoothRFCOMMrun.h.

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

Implements RuntimeInfo.

Definition at line 46 of file bluetoothRFCOMMrun.cpp.

References Activate, RFCOMMChannel::BDAddress, RFCOMMChannel::Channel, Deactivate, DeviceNr, getChannel(), Opietooth2::OTGateway::getFreeRFCommDevice(), QStringList::join(), Log, NSResources, OT, Opietooth2::OTGateway::releaseRFCommDevice(), System::runAsRoot(), and S.


Member Data Documentation

BluetoothRFCOMMData* BluetoothRFCOMMRun::Data [private]
 

Definition at line 29 of file bluetoothRFCOMMrun.h.

int BluetoothRFCOMMRun::DeviceNr [private]
 

Definition at line 31 of file bluetoothRFCOMMrun.h.

Referenced by BluetoothRFCOMMRun(), deviceFile(), deviceNrOfNetworkSetup(), and setMyState().

Opietooth2::OTGateway* BluetoothRFCOMMRun::OT [private]
 

Definition at line 30 of file bluetoothRFCOMMrun.h.

Referenced by BluetoothRFCOMMRun(), detectState(), deviceFile(), deviceNrOfNetworkSetup(), getChannel(), setMyState(), and ~BluetoothRFCOMMRun().


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