TPositionUpdateOptionsBase Class Reference

#include <lbscommon.h>

Link against: lbs.lib

class TPositionUpdateOptionsBase : public TPositionClassTypeBase, public TPositionClassTypeBase

Inherits from

Detailed Description

The base class for classes storing position update options

Member Attribute Documentation

iMaxUpdateAge

TTimeIntervalMicroSeconds iMaxUpdateAge[protected]

The maximum update age

iUpdateInterval

TTimeIntervalMicroSeconds iUpdateInterval[protected]

The update interval

iUpdateTimeOut

TTimeIntervalMicroSeconds iUpdateTimeOut[protected]

The update timeout

Constructor & Destructor Documentation

TPositionUpdateOptionsBase ( )

IMPORT_CTPositionUpdateOptionsBase()[protected]

Default constructor for TPositionUpdateOptionsBase

TPositionUpdateOptionsBase ( TTimeIntervalMicroSeconds, TTimeIntervalMicroSeconds, TTimeIntervalMicroSeconds )

IMPORT_CTPositionUpdateOptionsBase(TTimeIntervalMicroSecondsaInterval,
TTimeIntervalMicroSecondsaTimeOut =  TTimeIntervalMicroSeconds(0),
TTimeIntervalMicroSecondsaMaxAge =  TTimeIntervalMicroSeconds(0)
)[protected]

Constructor for TPositionUpdateOptionsBase. All parameters except aInterval have default values.

Parameters
aIntervalThe update interval to be set.
aTimeOutThe update timeout to be set. Defaults to zero.
aMaxAgeThe maximum update age to be set. Defaults to zero.
Panic Codes
"LocationClientEPositionBadTime" if aInterval, aMaxAge or aTimeOut is negative.

Member Function Documentation

MaxUpdateAge ( )

IMPORT_C TTimeIntervalMicroSecondsMaxUpdateAge()const

Returns the maximum update age

Return Value
The maximum update age

SetMaxUpdateAge ( TTimeIntervalMicroSeconds )

IMPORT_C voidSetMaxUpdateAge(TTimeIntervalMicroSecondsaMaxAge)
sets the maximum update age
Parameters
aMaxAgeThe maximum update age to be set
Panic Codes
"LocationClientEPositionBadTime" if aMaxAge is negative.

SetUpdateInterval ( TTimeIntervalMicroSeconds )

IMPORT_C voidSetUpdateInterval(TTimeIntervalMicroSecondsaInterval)
Sets update interval
Parameters
aIntervalThe update interval to be set
Panic Codes
"LocationClientEPositionBadTime" if aInterval is negative.

SetUpdateTimeOut ( TTimeIntervalMicroSeconds )

IMPORT_C voidSetUpdateTimeOut(TTimeIntervalMicroSecondsaTimeOut)
Sets the update timeout
Parameters
aTimeOutThe update timeout to be set
Panic Codes
"LocationClientEPositionBadTime" if aTimeOut is negative.

UpdateInterval ( )

IMPORT_C TTimeIntervalMicroSecondsUpdateInterval()const

Returns the update interval

Return Value
The update interval

UpdateTimeOut ( )

IMPORT_C TTimeIntervalMicroSecondsUpdateTimeOut()const

Returns the update timeout

Return Value
The update timeout