C:/Data/Dev/Synergy/MCL/lbs/lbs/locationmgmt/locmonitor/lbslocmonitorapis/ConversionDataTypes/inc/lbslocationposinfo.h File Reference

#include <e32std.h>
#include <lbs.h>
#include <lbs/lbslocationcommon.h>

Go to the source code of this file.

Functions

 NONSHARABLE_CLASS (CLbsPositionInfo)

Detailed Description


Function Documentation

NONSHARABLE_CLASS ( CLbsPositionInfo   ) 

This class contains the basic coordinates of a location (latitude, longitude and altitude) along with vertical and horizontal accuracies. This class is different from TPositionInfo class defined in LBS and cannot be used interchangeably.

See also:
TPositionInfo class for more details.

Allocates and constructs a new position info object. In the returned instance, the longitude, latitude, altitude, horizontal accuracy and vertical accuracy are set to NaN.

Returns:
Pointer to the new coordinate info object. Standard symbian error codes, such as KErrNoMemory

Allocates and constructs a new position info object, a copy of another one.

Parameters:
[in] aLocality Instance of CLbsPositionInfo.

Allocates and constructs a new position info object

Parameters:
[in] aLocality Instance of TLocality class that contains coordinates along with the error estimates for the horizontal and vertical accuracy of the point.

Destructor

Initializes the locality information. This includes latitude - should be between and including -90 and 90 degrees. longitude - should be between and including -180 and 180 degrees. altitude - Altitude information in meters. datum - datum information. Defaults to the constant for the coordinate system for a specific positioning system. horizontal accuracy - horizontal accuracy in meters. vertical accuracy - vertical accuracy in meters.

Parameters:
[in] aLatitude Latitude information.

Retrieves the Locality information.

Returns:
NaN if nothing specified or latitude information. network.

Returns the type of area information instance.

Returns:
Area type information

Validates position information. This method checks for boundary conditions as well as the mandatory attributes. The latitude, longitude and horizontal accuracy attributes are mandatory and must be specified in the TLocality instance being passed as an argument to instantiate/initialize an instance of this class. This method is used internally to determine the correctness of information provided. Optionally, this method, may also be used by client applications to validate their input.

KErrArgument If the specified attributes dont meet the boundary conditions or the mandatory arguments are not specified.

Internalize method to write GSM cell information to a stream.

Externalize method to read GSM cell information from a stream.

C++ default constructor

Copy constructor. Prohibited by default.

Overloaded assignment operator. Prohibited by default.

Symbian 2 phase constructor

Symbian 2 phase constuctor

Locality information


Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. These materials are provided under the terms of the Eclipse Public License v1.0.