TPositionModuleStatusEvent 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 TPositionModuleStatusEventBase.


Detailed Description

The normal class for storing position module status events.

Public Member Functions

IMPORT_C  TPositionModuleStatusEvent ()
  Default constructor for TPositionModuleStatusEvent.
IMPORT_C  TPositionModuleStatusEvent (TModuleEvent aRequestedEventMask)
  Constructor for TPositionModuleStatusEvent (with events).
IMPORT_C void  SetModuleStatus (const TPositionModuleStatus &aModuleStatus)
  This method is not intended for the client's usage.
IMPORT_C void  GetModuleStatus (TPositionModuleStatus &aModuleStatus) const
  Obtain the status of the positioning module.

Protected Member Functions

virtual IMPORT_C void  DoReset (TInt aSizeOfClass)

Protected Attributes

TPositionModuleStatus  iModuleStatus
  The module status.

Constructor & Destructor Documentation

IMPORT_C TPositionModuleStatusEvent::TPositionModuleStatusEvent  ) 
 

Default constructor for TPositionModuleStatusEvent.

IMPORT_C TPositionModuleStatusEvent::TPositionModuleStatusEvent TModuleEvent  aRequestedEventMask  ) 
 

Constructor for TPositionModuleStatusEvent (with events).

Parameters:
aRequestedEventMask  a bit mask value that indicates the type of events for which notification is requested

Member Function Documentation

virtual IMPORT_C void TPositionModuleStatusEvent::DoReset TInt  aSizeOfClass  )  [protected, virtual]
 

Reimplemented from TPositionModuleStatusEventBase.

IMPORT_C void TPositionModuleStatusEvent::GetModuleStatus TPositionModuleStatus aModuleStatus  )  const
 

Obtain the status of the positioning module.

Parameters:
[out]  aModuleStatus  Where the module status will be returned.
IMPORT_C void TPositionModuleStatusEvent::SetModuleStatus const TPositionModuleStatus aModuleStatus  ) 
 

This method is not intended for the client's usage.

The positioning module uses this method to set the status of the positioning device and the data quality status of the position information returned by this positioning module.

Parameters:
[in]  aModuleStatus  The module status to set

Field Documentation

TPositionModuleStatus TPositionModuleStatusEvent::iModuleStatus [protected]
 

The module status.


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top