CDeviceDiscoverer Class Reference

List of all members.

Public Member Functions

 ~CDeviceDiscoverer ()
void DiscoverDevicesL (TDeviceDataList *aDevDataList)
TBool HasDevices ()
void StopDiscovery ()
 ~CDeviceDiscoverer ()
void DiscoverDevicesL (TDeviceDataList *aDevDataList)
TBool HasDevices ()
void StopDiscovery ()

Static Public Member Functions

static CDeviceDiscovererNewL (RSocketServ &aSocketServ, MDeviceDiscoObserver &aObserver)
static CDeviceDiscovererNewLC (RSocketServ &aSocketServ, MDeviceDiscoObserver &aObserver)
static CDeviceDiscovererNewL (RSocketServ &aSocketServ, MDeviceDiscoObserver &aObserver)
static CDeviceDiscovererNewLC (RSocketServ &aSocketServ, MDeviceDiscoObserver &aObserver)

Protected Member Functions

void RunL ()
void DoCancel ()
void RunL ()
void DoCancel ()

Detailed Description

Definition at line 66 of file DeviceDiscoverer.h.


Constructor & Destructor Documentation

CDeviceDiscoverer::~CDeviceDiscoverer (  ) 

~CDeviceDiscoverer()

discussion Destroy the object and release all memory objects

Definition at line 81 of file DeviceDiscoverer.cpp.

CDeviceDiscoverer::~CDeviceDiscoverer (  ) 

~CDeviceDiscoverer()

discussion Destroy the object and release all memory objects


Member Function Documentation

CDeviceDiscoverer * CDeviceDiscoverer::NewL ( RSocketServ &  aSocketServ,
MDeviceDiscoObserver aObserver 
) [static]

NewL()

discussion Create new CDeviceDiscoverer object return a pointer to the created instance of CDeviceDiscoverer

Definition at line 35 of file DeviceDiscoverer.cpp.

CDeviceDiscoverer * CDeviceDiscoverer::NewLC ( RSocketServ &  aSocketServ,
MDeviceDiscoObserver aObserver 
) [static]

NewLC()

Definition at line 44 of file DeviceDiscoverer.cpp.

void CDeviceDiscoverer::DiscoverDevicesL ( TDeviceDataList *  aDevDataList  ) 

DiscoverDevicesL()

discussion Discovers remote bluetooth devices within range.

param aDevDataList device data list where the found devices will be placed.

Discover remote devices.RHostResolver will be used to do the discovery. Any found devices will be placed in aDevDataList.

Definition at line 95 of file DeviceDiscoverer.cpp.

TBool CDeviceDiscoverer::HasDevices (  ) 

HasDevices()

discussion any devices discovered?

return true if any devices were discovered.

Definition at line 176 of file DeviceDiscoverer.cpp.

void CDeviceDiscoverer::StopDiscovery (  ) 

StopDiscovery()

discussion Stops ongoing device discovery

Definition at line 203 of file DeviceDiscoverer.cpp.

void CDeviceDiscoverer::RunL (  )  [protected]

RunL()

discussion Handle the active objects request completion.

Definition at line 131 of file DeviceDiscoverer.cpp.

void CDeviceDiscoverer::DoCancel (  )  [protected]

DoCancel()

discussion Cancels the outstanding request on active object.

Definition at line 166 of file DeviceDiscoverer.cpp.

static CDeviceDiscoverer* CDeviceDiscoverer::NewL ( RSocketServ &  aSocketServ,
MDeviceDiscoObserver aObserver 
) [static]

NewL()

discussion Create new CDeviceDiscoverer object return a pointer to the created instance of CDeviceDiscoverer

static CDeviceDiscoverer* CDeviceDiscoverer::NewLC ( RSocketServ &  aSocketServ,
MDeviceDiscoObserver aObserver 
) [static]
void CDeviceDiscoverer::DiscoverDevicesL ( TDeviceDataList *  aDevDataList  ) 

DiscoverDevicesL()

discussion Discovers remote bluetooth devices within range.

param aDevDataList device data list where the found devices will be placed.

TBool CDeviceDiscoverer::HasDevices (  ) 

HasDevices()

discussion any devices discovered?

return true if any devices were discovered.

void CDeviceDiscoverer::StopDiscovery (  ) 

StopDiscovery()

discussion Stops ongoing device discovery

void CDeviceDiscoverer::RunL (  )  [protected]

RunL()

discussion Handle the active objects request completion.

void CDeviceDiscoverer::DoCancel (  )  [protected]

DoCancel()

discussion Cancels the outstanding request on active object.


Generated by  doxygen 1.6.2