locationtriggering/ltstrategyengine/src/lbtcoordinatesupervisor.cpp
branchRCL_3
changeset 44 2b4ea9893b66
parent 13 19bff11d6c18
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
  1211 
  1211 
  1212             if( iNObservedValues.Count() == maxObsValues )
  1212             if( iNObservedValues.Count() == maxObsValues )
  1213                 {
  1213                 {
  1214                 iNObservedValues.Remove( 0 );
  1214                 iNObservedValues.Remove( 0 );
  1215                 }
  1215                 }
  1216             iNObservedValues.Append( obsValue );
  1216             TInt error = iNObservedValues.Append( obsValue );
  1217             
  1217             if( error != KErrNone )
       
  1218                 {
       
  1219                 LOG1("Failed to append obsValue:%d",error);
       
  1220                 }
  1218             TReal num = 0.0;
  1221             TReal num = 0.0;
  1219             TReal den = 0.0;
  1222             TReal den = 0.0;
  1220             TReal obsSpeed = 0.0;
  1223             TReal obsSpeed = 0.0;
  1221             TReal obsTime = 0.0;
  1224             TReal obsTime = 0.0;
  1222             TTime currentTime;
  1225             TTime currentTime;