CDiscoverer::CDirChangeNotifier Class Reference
class CDiscoverer::CDirChangeNotifier : public CActive |
- Since
- 7.0 The notification object which watches the Interface Implementation Collection directories for any changes. When its RunL method is called, it notifies its owning CDiscoverer class object to re-scan the Interface Implementation Collection directories.
Inherits from
- CDiscoverer::CDirChangeNotifier
Constructor & Destructor Documentation
CDirChangeNotifier(CDiscoverer &, RFs &, const TDriveUnit &)
~CDirChangeNotifier()
~CDirChangeNotifier | ( | ) | [virtual] |
Intended Usage : Standard default d'tor Error Condition : None
- Since
- 7.0
- Pre-condition
- CDirChangeNotifier is fully constructed.
- Post-condition
- CDirChangeNotifier is totally destroyed
Member Functions Documentation
Activate()
Intended Usage : Activate the notifier and attach it to the File session to watch the appropriate Interface Implementation Collection directories. Error Condition : None
- Since
- 7.0
- Pre-condition
- CDirChangeNotifier is fully constructed.
- Post-condition
- CDirChangeNotifier is active on the current scheduler.
DoCancel()
void | DoCancel | ( | ) | [private, virtual] |
Intended Usage : The cancel action called by
CActive::Cancel(). Error Condition : None
- Since
- 7.0
- Pre-condition
- CDirChangeNotifier is fully constructed.
- Post-condition
- CDirChangeNotifier notifications are cancelled and it is no longer active on the current scheduler.
RunError(TInt)
TInt
| RunError | ( | TInt | aError | ) | [private, virtual] |
Intended Usage : Called by the notifier RunL leaving.
- Since
- 7.0
- Pre-condition
- CDirChangeNotifier is fully constructed.
- Post-condition
- CDirChangeNotifier is returned to a sensible active state.
Parameters
TInt aError | The error code that the RunL left with. |
RunL()
void | RunL | ( | ) | [private, virtual] |
Intended Usage : When the object activates, this is method is called and notifies the
CDiscoverer to re-scan the Interface Implementation Collection directories. Error Condition : Not enough memory available to complete the scan.
- leave
- KErrNoMemory
- Since
- 7.0
- Pre-condition
- CDirChangeNotifier is fully constructed.
- Post-condition
- CDirChangeNotifier notifications are cancelled and it is no longer active on the current scheduler.
Member Type Definitions Documentation
Typedef TResourcePathName
The file path for a specific drivethat we are interested in.
Member Data Documentation
CDiscoverer & iDiscoverer
A reference to its owning class instance
TDriveUnit
iDriveUnit
A drive which the notification object watches for.
RFs & iFs
A reference to a connected file server instance
TResourcePathName
iNotificationFilePath
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.