CDiscoverer::CDirScanner Class Reference

class CDiscoverer::CDirScanner : public CBase

CDirScanner implements incremental scanning of the Interface Implementation Collection directories on behalf of the CDiscoverer. Its methods are called in response to the timer task execution, thereby requiring the incremental scheduling.

Inherits from

  • CDiscoverer::CDirScanner

Constructor & Destructor Documentation

CDirScanner(CDiscoverer &, RFs &)

CDirScanner(CDiscoverer &aDiscoverer,
RFs &aFs
)[private]
Intended Usage : Standardised safe construction which leaves nothing on the cleanup stack. Error Condition : Not enough memory available.
leave
KErrNoMemory
Since
7.0
Pre-condition
None
Post-condition
CDirScanner is fully constructed, and initialised.
Intended Usage : Standardised default c'tor. Error Condition : None
Since
7.0
Pre-condition
None
Post-condition
CDirScanner is fully constructed

Parameters

CDiscoverer & aDiscovererA reference to its owning class instance.
RFs & aFsA reference to a connected file server instance.

~CDirScanner()

~CDirScanner()[virtual]
Intended Usage : Standard default d'tor Error Condition : None
Since
7.0
Pre-condition
CDirScanner is fully constructed.
Post-condition
CDirScanner is totally destroyed

Member Functions Documentation

ConstructL()

voidConstructL()[private]
Intended Usage : Standardised 2nd, (Initialisation) phase of two phase construction. Error Condition : Leaves with error code : usually KErrNoMemory.
leave
KErrNoMemory.
Since
7.0
Pre-condition
CDirScanner is fully constructed.
Post-condition
CDirScanner is fully initialised.

DiscoverPluginsL(TBool)

voidDiscoverPluginsL(TBoolaDiscoverReadOnlyDrives)

Parameters

TBool aDiscoverReadOnlyDrives

DoScanDriveL(const TDriveUnit &, const TUidType &, TBool)

TBool DoScanDriveL(const TDriveUnit &aDrive,
const TUidType &aUidType,
TBoolaIsRO
)[private]

Parameters

const TDriveUnit & aDrive
const TUidType & aUidType
TBool aIsRO

DoScanSpiFileL(const TParse &)

TBool DoScanSpiFileL(const TParse &aSpiPath)[private]

Parameters

const TParse & aSpiPath

NewL(CDiscoverer &, RFs &)

CDirScanner *NewL(CDiscoverer &aDiscoverer,
RFs &aFs
)[static]

Parameters

CDiscoverer & aDiscoverer
RFs & aFs

ScanDriveL(const TDriveUnit &, TBool)

voidScanDriveL(const TDriveUnit &aDrive,
TBoolaIsRO
)

Parameters

const TDriveUnit & aDrive
TBool aIsRO

Member Data Documentation

CDiscoverer & iDiscoverer

CDiscoverer &iDiscoverer[private]

A reference to its owning class instance

RFs & iFs

RFs &iFs[private]

A reference to a connected file server instance