SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
O | O | O | O |
Public Functions | |
---|---|
SFCError |
ExtractPositionInfo(
AEEGPSInfo* gps
, AEEPositionInfoEx* position
) Given the position in AEEGPSInfo, this function generates the position information in the format specified by AEEPositionInfoEx.
|
SFCError |
GetGPSConfig(
AEEGPSConfig* config
) Get the current GPS configuration of the GPS engine.
|
SFCError |
GetGPSInfo(
AEEGPSReq request
, AEEGPSAccuracy accuracy
, AEEGPSInfo* info
, SFXCallbackPtr callback
) Return information for GPS based position location.
|
SFCError |
GetOrientation(
AEEOrientationReq orientation
, VoidPtr info
, SFXCallbackPtr callback
)
Return device's orientation in the horizontal plane.
|
SFCError |
GetOrientation(
AEEOrientationReq orientation
, SFXBufferPtr info
, SFXCallbackPtr callback
)
Return device's orientation in the horizontal plane.
|
SFCError |
GetSectorInfo(
AEESectorInfo* info
) Return information for sector based position location.
It returns information about the SystemID, NetworkID, BaseStationID, BaseStationClass and best Pilot.
|
static SFBPosDetSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBPosDet instance.
|
static SFBPosDetSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBPosDet instance.
|
SFCError |
SetGPSConfig(
AEEGPSConfig* config
) Set the GPS configuration to be used by the GPS engine.
|
static Float64 |
WGS84ToDegrees(
SInt32 latlon
)
Convert the longitude and latitude from WGS84 spheroid coordinate into degrees of decimalization.
|
SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFCError ExtractPositionInfo( AEEGPSInfo* gps // pointer to AEEGPSInfo data AEEPositionInfoEx* position // output buffer for position information );
This function is available in BREW 3.1.
[ public ] SFCError GetGPSConfig( AEEGPSConfig* config // pointer to GPS configuration. See AEEGPSConfig for details );
BREW API IPOSDET_GetGPSConfig | AEEGPSConfig | SFBPosDet::SetGPSConfig
[ public ] SFCError GetGPSInfo( AEEGPSReq request AEEGPSAccuracy accuracy AEEGPSInfo* info SFXCallbackPtr callback );
Request type: AEEGPS_GETINFO_LOCATION AEEGPS_GETINFO_VELOCITY AEEGPS_GETINFO_ALTITUDE . The flags (excluding AEEGPS_GETINFO_NONE) can be combined to get more than one type of information.
Desired level of accuracy for this request.
On input, this must be a valid ptr to the AEEGPSInfo structure. On callback, the members of this struct contain the position location information. The caller is notifified asynchronously using AEECallback when a response is ready. For this reason, the caller must ensure that this structure remains valid until the callback specified by pcb is called.
Callback function which gets called on completion of position determination.
[ public ] SFCError GetOrientation( AEEOrientationReq orientation VoidPtr info SFXCallbackPtr callback );
[ public ] SFCError GetOrientation( AEEOrientationReq orientation SFXBufferPtr info // if null, do nothing and return SFERR_INVALID_PARAM SFXCallbackPtr callback );
The requested information.
On input, this must be a valid ptr to the valid memory with the first two bytes indicating the space available in bytes. The space should be a minimum of that required to place the response corresponding the request. On callback, the members of this struct contain Orientation information corresponding to the request. The caller must ensure that this memory is valid until the callback specified by pcb gets called.
Callback function which gets called on completion of the request.
Supported in BREW 2.1 or later.
[ public ] SFCError GetSectorInfo( AEESectorInfo* info // pointer to the AEESectorInfo structure );
[ public, static ] SFBPosDetSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBPosDetSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError SetGPSConfig( AEEGPSConfig* config // pointer to GPS configuration. See AEEGPSConfig for details );
BREW API IPOSDET_SetGPSConfig | AEEGPSConfig | SFBPosDet::GetGPSConfig
[ public, static ] Float64 WGS84ToDegrees( SInt32 latlon // longitude or latitude in WGS84 spheroid coordinate );
Longitude or latitude in degrees of decimalization
This function is used for the converting of longitude or latitude which gotten by SFBPosDet::GetGPSInfo().
Supported in BREW 2.1 or later.
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |