equal
deleted
inserted
replaced
28 #include "ctlbshybridmolrstep.h" |
28 #include "ctlbshybridmolrstep.h" |
29 #include <lbs/test/lbsnetprotocolproxy.h> |
29 #include <lbs/test/lbsnetprotocolproxy.h> |
30 #include <lbs/test/posserverwatch.h> |
30 #include <lbs/test/posserverwatch.h> |
31 #include "ctlbstestactivemanager.h" |
31 #include "ctlbstestactivemanager.h" |
32 #include "ctlbsnetprotocol.h" |
32 #include "ctlbsnetprotocol.h" |
33 #include "lbs/lbspositioningstatus.h" |
|
34 |
33 |
35 // Literals used |
34 // Literals used |
36 _LIT(KLbsMolrTracking, "LbsMolrTracking"); |
35 _LIT(KLbsMolrTracking, "LbsMolrTracking"); |
37 |
36 |
38 class CT_LbsMolrTracking : public CT_LbsHybridMOLRStep, public MTestFlowObserver, public MLbsPositioningStatusObserver |
37 class CT_LbsMolrTracking : public CT_LbsHybridMOLRStep, public MTestFlowObserver |
39 { |
38 { |
40 private: |
39 private: |
41 class CT_ClientData : public CBase |
40 class CT_ClientData : public CBase |
42 { |
41 { |
43 public: |
42 public: |
103 void OnGetLastKnownPositionL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo); |
102 void OnGetLastKnownPositionL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo); |
104 void OnNotifyPositionUpdateL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo); |
103 void OnNotifyPositionUpdateL(TInt aObjectId, TInt32 aErr, const TPositionInfoBase& aPosInfo); |
105 void StopTest(); |
104 void StopTest(); |
106 void OnSignalNetworkStep(TInt aSessionId, TInt aSessionStep); |
105 void OnSignalNetworkStep(TInt aSessionId, TInt aSessionStep); |
107 |
106 |
108 //MLbsPositioningStatusObserver |
|
109 void OnPositioningStatusUpdate(const CLbsPositioningStatus::TLbsPositioningStatus& aPositioningStatus); |
|
110 |
|
111 protected: |
107 protected: |
112 CT_LbsMolrTracking(CT_LbsHybridMOLRServer& aParent); |
108 CT_LbsMolrTracking(CT_LbsHybridMOLRServer& aParent); |
113 void ConstructL(); |
109 void ConstructL(); |
114 |
110 |
115 private: |
111 private: |
132 // used for "one off" tests |
128 // used for "one off" tests |
133 // =1 - LastKnownPosition test |
129 // =1 - LastKnownPosition test |
134 // =2 - MaxAge test |
130 // =2 - MaxAge test |
135 // =3 - EarlyComplete test |
131 // =3 - EarlyComplete test |
136 TInt iSpecialTestMode; |
132 TInt iSpecialTestMode; |
137 TInt iPositioningIndicatorCount; |
|
138 TInt iPosStatusCount; |
|
139 CLbsPositioningStatus* iLbsPositioningStatus; |
|
140 CLbsPositioningStatus::TLbsPositioningStatus iPositioningStatus; |
|
141 }; |
133 }; |
142 |
134 |
143 #endif //__CT_LBS_MOLR_TRACKING_H__ |
135 #endif //__CT_LBS_MOLR_TRACKING_H__ |
144 |
136 |