#include <clbslocmonitorptrholder.h>
Public Types | |
enum | TParameter { EPosForGetLastKnownPosition = 0, EPosForGetLastKnownPositionArea, EAreaForGetLastKnownPositionArea, EParamsForGetLastKnownPositionArea, ELastParam } |
Public Member Functions | |
IMPORT_C | ~CLbsLocMonitorPtrHolder () |
IMPORT_C TPtr8 & | Ptr (TInt aIndex) |
IMPORT_C TPtrC8 & | PtrC (TInt aIndex) |
Static Public Member Functions | |
static IMPORT_C CLbsLocMonitorPtrHolder * | NewL (TInt aNumberOfPtrs, TInt aNumberOfPtrCs) |
Protected Member Functions | |
IMPORT_C void | ConstructL (TInt aNumberOfPtrs, TInt aNumberOfPtrCs) |
Holds the TPtr8 and TPtrC8 arrays for all RPositionServer requests.
EXPORT_C CLbsLocMonitorPtrHolder::~CLbsLocMonitorPtrHolder | ( | ) |
Destructor for CLbsLocMonitorPtrHolder.
EXPORT_C CLbsLocMonitorPtrHolder * CLbsLocMonitorPtrHolder::NewL | ( | TInt | aNumberOfPtrs, | |
TInt | aNumberOfPtrCs | |||
) | [static] |
Allocates and constructs a CLbsLocMonitorPtrHolder object.
The function leaves if there is insufficient memory.
aNumberOfPtrs | is the number of modifiable pointer descriptors to create. These are used for asynchronous 'get' requests. | |
aNumberOfPtrCs | is the number of read-only pointer descriptors to create. These are used for asynchronous 'set' requests. |
EXPORT_C TPtr8 & CLbsLocMonitorPtrHolder::Ptr | ( | TInt | aIndex | ) |
An accessor for the modifiable pointer descriptors.
aIndex | specifies the descriptor to return. |
EXPORT_C TPtrC8 & CLbsLocMonitorPtrHolder::PtrC | ( | TInt | aIndex | ) |
An accessor for the read-only pointer descriptors.
aIndex | specifies the descriptor to return. |