TPositionModuleStatusEventBase Class Reference
API published in: S60 2nd Ed FP 2
Link against: lbs.lib
Capability Information
Required Capabilities
None
Exceptions
The capability Location is required in:
TInt RPositionServer::GetDefaultModuleId(TPositionModuleId& aModuleId) const;
TInt RPositionServer::GetNumModules(TUint& aNumModules) const;
TInt RPositionServer::GetModuleInfoByIndex(TInt aModuleIndex, TPositionModuleInfoBase& aModuleInfo) const;
TInt RPositionServer::GetModuleInfoById(TPositionModuleId aModuleId, TPositionModuleInfoBase& aModuleInfo) const;
TInt RPositionServer::GetModuleStatus(TPositionModuleStatusBase& aPosModuleStatus, TPositionModuleId aModuleId) const;
void RPositionServer::NotifyModuleStatusEvent(TPositionModuleStatusEventBase& aStatusEvent,TRequestStatus& aStatus,const TPositionModuleId
aModuleId = KPositionNullModuleId) const;
TInt RPositioner::SetRequestor(CRequestor::TRequestorType aType,CRequestor::TRequestorFormat aFormat,const TDesC& aData);
TInt RPositioner::SetRequestor(const RRequestorStack& aRequestorStack);
TInt RPositioner::SetUpdateOptions(const TPositionUpdateOptionsBase& aPosOption);
TInt RPositioner::GetUpdateOptions(TPositionUpdateOptionsBase& aPosOption) const;
void RPositioner::GetLastKnownPosition(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;
void RPositioner::NotifyPositionUpdate(TPositionInfoBase& aPosInfo,TRequestStatus& aStatus) const;
#include <lbscommon.h>
Inherits TPositionClassTypeBase.
Inherited by TPositionModuleStatusEvent.
Detailed Description
The base class for classes storing position module status events.
Member Typedef Documentation
|
Defines the type of event for by a positioning module.
The events could be either system wide events or positioning related events. The values are defined by the enumerator _TModuleEvent.
|
|
Defines the system wide events for a positioning module like installation/uninstalltion of a positioning module.
The values are defined by the enumerator _TSystemModuleEvent.
|
Member Enumeration Documentation
|
Module events.
- Enumerator:
-
EEventNone
|
This is an unassigned value and should not be reported or used.
|
EEventDeviceStatus
|
Events about the general status of the device.
|
EEventDataQualityStatus
|
Events about the quality of the data a positioning module is able to return.
|
EEventSystemModuleEvent
|
System level events about the status of modules.
|
EEventAll
|
indicates any one of the above mentioned events
|
|
|
Module events.
- Enumerator:
-
ESystemUnknown
|
This is not a valid state and should never be reported.
|
ESystemError
|
indicates that there are problems using the module.
For example, the module may have terminated abnormally
|
ESystemModuleInstalled
|
indicates that a new positioning module has been dynamically added to the system
|
ESystemModuleRemoved
|
indicates that a positioning module has been uninstalled
|
|
Constructor & Destructor Documentation
IMPORT_C TPositionModuleStatusEventBase::TPositionModuleStatusEventBase |
( |
|
) |
[protected] |
|
|
Default constructor for TPositionModuleStatusEventBase.
|
IMPORT_C TPositionModuleStatusEventBase::TPositionModuleStatusEventBase |
( |
TModuleEvent
|
aRequestedEventMask
|
) |
[protected] |
|
|
Constructor.
- Parameters:
-
|
aRequestedEventMask
|
a bit mask that indicates the type of status change events on which notification is requested |
- See also:
- RPositionServer::NotifyModuleStatusEvent() to request for event notification
|
Member Function Documentation
virtual IMPORT_C void TPositionModuleStatusEventBase::DoReset |
( |
TInt |
aSizeOfClass
|
) |
[protected, virtual] |
|
|
Get the unique identifier for the positioning module.
- Returns:
- The module ID
|
IMPORT_C TModuleEvent TPositionModuleStatusEventBase::OccurredEvents
|
( |
|
) |
const |
|
IMPORT_C TModuleEvent TPositionModuleStatusEventBase::RequestedEvents
|
( |
|
) |
const |
|
|
Get the events for which notification is requested.
- Returns:
- The requested events
|
IMPORT_C void TPositionModuleStatusEventBase::SetModuleId |
( |
TPositionModuleId
|
aModuleId
|
) |
|
|
|
This method is not intended for the client's usage.
The Location framework uses this method to set the unique identifier for the positioning module for which this event has occured.
- Parameters:
-
|
aModuleId
|
The module ID to set |
|
IMPORT_C void TPositionModuleStatusEventBase::SetOccurredEvents |
( |
TModuleEvent
|
aOccurredEventMask
|
) |
|
|
|
This method is not intended for the client's usage.
The Location framework uses this method to set the module event that has occured for this positioning module.
- Parameters:
-
|
aOccurredEventMask
|
The occurred events to set |
|
IMPORT_C void TPositionModuleStatusEventBase::SetRequestedEvents |
( |
TModuleEvent
|
aRequestedEventMask
|
) |
|
|
IMPORT_C void TPositionModuleStatusEventBase::SetSystemModuleEvent |
( |
TSystemModuleEvent
|
aSystemModuleEvent
|
) |
|
|
|
This method is not intended for the client's usage.
The Location framework uses this method to set the system event that has occured for this positioning module.
- Parameters:
-
|
aSystemModuleEvent
|
The system event to set. |
|
|
Get the type of module system event that has occurred.
- Returns:
- The system event type.
|
Friends And Related Function Documentation
Field Documentation
|
The module ID causing the event.
|
|
A bitmask of the events which occurred.
|
|
A bitmask of the requested events.
|
|
System level module status events.
|
The documentation for this class was generated from the following file: