#include <LbsCommon.h>
Link against:
lbs.lib
Link against:
lbsselflocate.lib
Class TPositionUpdateOptionsBase
class TPositionUpdateOptionsBase : public TPositionClassTypeBase;
Description
The base class for classes storing position update options
Derivation
TPositionUpdateOptionsBase
- The base class for classes storing position update options
Members
Defined in TPositionUpdateOptionsBase
:
Inherited from TPositionClassTypeBase
:
Construction and destruction
TPositionUpdateOptionsBase()
protected: IMPORT_C TPositionUpdateOptionsBase();
Description
Default constructor for TPositionUpdateOptionsBase
TPositionUpdateOptionsBase(TTimeIntervalMicroSeconds,TTimeIntervalMicroSeconds,TTimeIntervalMicroSeconds)
protected: IMPORT_C TPositionUpdateOptionsBase(TTimeIntervalMicroSeconds aInterval, TTimeIntervalMicroSeconds aTimeOut=TTimeIntervalMicroSeconds(0),
TTimeIntervalMicroSeconds aMaxAge=TTimeIntervalMicroSeconds(0));
Description
Constructor for TPositionUpdateOptionsBase. All parameters except aInterval have default values.
Parameters
Panic codes
"LocationClient |
EPositionBadTime" if aInterval, aMaxAge or aTimeOut is negative.
|
|
SetUpdateInterval(TTimeIntervalMicroSeconds)
IMPORT_C void SetUpdateInterval(TTimeIntervalMicroSeconds aInterval);
Description
Sets update interval
Parameters
Panic codes
"LocationClient |
EPositionBadTime" if aInterval is negative.
|
|
SetUpdateTimeOut(TTimeIntervalMicroSeconds)
IMPORT_C void SetUpdateTimeOut(TTimeIntervalMicroSeconds aTimeOut);
Description
Sets the update timeout
Parameters
Panic codes
"LocationClient |
EPositionBadTime" if aTimeOut is negative.
|
|
SetMaxUpdateAge(TTimeIntervalMicroSeconds)
IMPORT_C void SetMaxUpdateAge(TTimeIntervalMicroSeconds aMaxAge);
Description
sets the maximum update age
Parameters
Panic codes
"LocationClient |
EPositionBadTime" if aMaxAge is negative.
|
|
IMPORT_C TTimeIntervalMicroSeconds UpdateInterval() const;
Description
Returns the update interval
Return value
IMPORT_C TTimeIntervalMicroSeconds UpdateTimeOut() const;
Description
Returns the update timeout
Return value
IMPORT_C TTimeIntervalMicroSeconds MaxUpdateAge() const;
Description
Returns the maximum update age
Return value
protected: TTimeIntervalMicroSeconds iUpdateInterval;
Description
The update interval
protected: TTimeIntervalMicroSeconds iUpdateTimeOut;
Description
The update timeout
protected: TTimeIntervalMicroSeconds iMaxUpdateAge;
Description
The maximum update age