#include <e32std.h>
#include <lbs/lbslocationcommon.h>
#include <lbs/lbslocationgsmneighbourinfo.h>
Go to the source code of this file.
Functions | |
NONSHARABLE_CLASS (CLbsGsmCellInfo) |
NONSHARABLE_CLASS | ( | CLbsGsmCellInfo | ) |
This class contains information related to a cell in GSM PLMN. An instance of this class may also contain information of one or more neighbouring GSM cells
Allocates and constructs a new GSM cell info object. In the returned instance, the country code, network code, location area code and cell ID are marked as undefined.
Allocates and constructs a new GSM cell info object.
[in] | aCountryCode | Network country code. |
[in] | aNetworkCode | Network code. |
[in] | aLocationAreaCode | Location area code. |
[in] | aCellId | Cell ID of a cell in GSM PLMN. |
Allocates and constructs new GSM cell info objec, a copy of another one.
[in] | aLocality | Instance of CLbsGsmCellInfo. |
Destructor
Sets the Mobile Country Code information.
[in] | aCountryCode | Mobile Country Code, range 0..999. |
Retrieves the Mobile Country Code information.
Sets the Mobile Network Code information.
[in] | aNetworkCode | Mobilre Network Code, range 0..999. |
Retrieves the Mobile Network Code information.
Sets the Location Area Code information.
[in] | aLocationAreaCode | Location Area Code, range 0..65535. |
Retrieves the Location Area Code information.
Sets the Cell Identity information.
[in] | aCellId | Cell Identity, range 0..65535. |
Retrieves the Cell Identity information.
Initializes the signal strength parameter.
[in] | aRxLev | Rx Level, range 0..63. |
Retrieves the Rx level.
Sets the Timing Advance information.
[in] | aTimingAdvance | Timing Advance, range 0..255. |
Retrieves the Timing Advance information.
Adds a neighbouring cell information.
[in] | An | instance of TLbsGsmNeighbourCellInfo class (memory ovnership is being transferred) KErrArgument if the argument is NULL or one of standard symbian error codes |
Retrieves a copy of neighbouring cell information information as an array.
[in] | aNeighbourCellInfo | GSM neighbouring cell information (memory ownership is not being transferred to this function therefore it is the responsibility of the caller to ensure Close() is called to free resources) |
Removes all neighbouring cell information.
Returns the type of area information instance.
Validates GSM cell information. This method checks for boundary conditions as well as the mandatory attributes. The attributes of this class become mandatory in a hierarchical manner. For instance, if location area code is specified then the mobile network code attribute is mandatory. If cell id is specified then, both LAC and MNC become mandatory attributes and so on. However, the mobile country code attribute is always mandatory which means client applications must at least specify the MCC attribute when specifying GSM cell information. 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 constructor
Mobile country code
Mobile network code
Location area code
Cell id
Signal strength
Timing advance
Data mask to determine initialized data. Used internally.
Neighbouring cell info