#include <lbscommon.h>
Link against: lbs.lib
| class TPositionUpdateOptionsBase : public TPositionClassTypeBase, public TPositionClassTypeBase | 
| Protected Attributes | |
|---|---|
| TTimeIntervalMicroSeconds | iMaxUpdateAge | 
| TTimeIntervalMicroSeconds | iUpdateInterval | 
| TTimeIntervalMicroSeconds | iUpdateTimeOut | 
| Public Member Functions | |
|---|---|
| IMPORT_C TTimeIntervalMicroSeconds | MaxUpdateAge() | 
| IMPORT_C void | SetMaxUpdateAge(TTimeIntervalMicroSeconds) | 
| IMPORT_C void | SetUpdateInterval(TTimeIntervalMicroSeconds) | 
| IMPORT_C void | SetUpdateTimeOut(TTimeIntervalMicroSeconds) | 
| IMPORT_C TTimeIntervalMicroSeconds | UpdateInterval() | 
| IMPORT_C TTimeIntervalMicroSeconds | UpdateTimeOut() | 
| Protected Member Functions | |
|---|---|
| TPositionUpdateOptionsBase() | |
| TPositionUpdateOptionsBase(TTimeIntervalMicroSeconds, TTimeIntervalMicroSeconds, TTimeIntervalMicroSeconds) | |
| Inherited Attributes | |
|---|---|
| TPositionClassTypeBase::iPosClassSize | |
| TPositionClassTypeBase::iPosClassType | |
| Inherited Functions | |
|---|---|
| TPositionClassTypeBase::PositionClassSize()const | |
| TPositionClassTypeBase::PositionClassType()const | |
| TPositionClassTypeBase::TPositionClassTypeBase() | |
The base class for classes storing position update options
| IMPORT_C | TPositionUpdateOptionsBase | ( | ) | [protected] | 
Default constructor for TPositionUpdateOptionsBase
| IMPORT_C | TPositionUpdateOptionsBase | ( | TTimeIntervalMicroSeconds | aInterval, | 
| TTimeIntervalMicroSeconds | aTimeOut = TTimeIntervalMicroSeconds(0), | |||
| TTimeIntervalMicroSeconds | aMaxAge = TTimeIntervalMicroSeconds(0) | |||
| ) | [protected] | |||
Constructor for TPositionUpdateOptionsBase. All parameters except aInterval have default values.
| Parameters | |
|---|---|
| aInterval | The update interval to be set. | 
| aTimeOut | The update timeout to be set. Defaults to zero. | 
| aMaxAge | The maximum update age to be set. Defaults to zero. | 
| Panic Codes | |
|---|---|
| "LocationClient | EPositionBadTime" if aInterval, aMaxAge or aTimeOut is negative. | 
| IMPORT_C TTimeIntervalMicroSeconds | MaxUpdateAge | ( | ) | const | 
Returns the maximum update age
| IMPORT_C void | SetMaxUpdateAge | ( | TTimeIntervalMicroSeconds | aMaxAge | ) | 
| Parameters | |
|---|---|
| aMaxAge | The maximum update age to be set | 
| Panic Codes | |
|---|---|
| "LocationClient | EPositionBadTime" if aMaxAge is negative. | 
| IMPORT_C void | SetUpdateInterval | ( | TTimeIntervalMicroSeconds | aInterval | ) | 
| Parameters | |
|---|---|
| aInterval | The update interval to be set | 
| Panic Codes | |
|---|---|
| "LocationClient | EPositionBadTime" if aInterval is negative. | 
| IMPORT_C void | SetUpdateTimeOut | ( | TTimeIntervalMicroSeconds | aTimeOut | ) | 
| Parameters | |
|---|---|
| aTimeOut | The update timeout to be set | 
| Panic Codes | |
|---|---|
| "LocationClient | EPositionBadTime" if aTimeOut is negative. | 
| IMPORT_C TTimeIntervalMicroSeconds | UpdateInterval | ( | ) | const | 
Returns the update interval
| IMPORT_C TTimeIntervalMicroSeconds | UpdateTimeOut | ( | ) | const | 
Returns the update timeout