lp:~thomas-voss/location-service/refactor-location-position
Created by
Thomas Voß
and last modified
- Get this branch:
- bzr branch lp:~thomas-voss/location-service/refactor-location-position
Only
Thomas Voß
can upload to this branch. If you are
Thomas Voß
please log in for upload directions.
Branch merges
Propose for merging
- Simon Fels (community): Approve
- Thomas Voß: Pending requested
-
Diff: 3174 lines (+699/-1100)56 files modifiedinclude/location/accuracy.h (+0/-72)
include/location/criteria.h (+4/-4)
include/location/heading.h (+0/-29)
include/location/position.h (+104/-26)
include/location/provider.h (+2/-4)
include/location/service.h (+2/-4)
include/location/space_vehicle.h (+6/-6)
include/location/units/units.h (+17/-17)
include/location/velocity.h (+0/-29)
include/location/wgs84/altitude.h (+0/-42)
include/location/wgs84/coordinate.h (+0/-78)
include/location/wgs84/latitude.h (+0/-59)
include/location/wgs84/longitude.h (+0/-59)
src/location/cmds/monitor.cpp (+4/-4)
src/location/cmds/monitor.h (+4/-6)
src/location/dbus/codec.h (+33/-87)
src/location/dbus/skeleton/session.cpp (+4/-4)
src/location/dbus/skeleton/session.h (+2/-4)
src/location/dbus/stub/session.cpp (+2/-2)
src/location/dbus/stub/session.h (+0/-2)
src/location/engine.h (+2/-2)
src/location/position.cpp (+218/-55)
src/location/providers/dummy/provider.cpp (+12/-28)
src/location/providers/dummy/provider.h (+11/-25)
src/location/providers/fusion/newer_or_more_accurate_update_selector.h (+3/-3)
src/location/providers/fusion/provider.cpp (+4/-4)
src/location/providers/fusion/provider.h (+4/-4)
src/location/providers/fusion/update_selector.h (+6/-0)
src/location/providers/gps/android_hardware_abstraction_layer.cpp (+23/-35)
src/location/providers/gps/android_hardware_abstraction_layer.h (+6/-6)
src/location/providers/gps/hardware_abstraction_layer.h (+2/-4)
src/location/providers/gps/provider.cpp (+6/-6)
src/location/providers/gps/provider.h (+4/-4)
src/location/providers/mls/provider.cpp (+6/-9)
src/location/providers/mls/provider.h (+4/-4)
src/location/providers/proxy.cpp (+4/-4)
src/location/providers/proxy.h (+4/-4)
src/location/providers/remote/interface.h (+0/-3)
src/location/providers/remote/provider.cpp (+16/-16)
src/location/providers/remote/provider.h (+12/-12)
src/location/providers/state_tracking_provider.cpp (+2/-2)
src/location/providers/state_tracking_provider.h (+2/-2)
src/location/session_with_provider.cpp (+2/-2)
src/location/time_based_update_policy.cpp (+23/-14)
src/location/time_based_update_policy.h (+5/-5)
src/location/update_policy.h (+2/-4)
tests/CMakeLists.txt (+0/-1)
tests/acceptance_tests.cpp (+4/-10)
tests/mock_event_consumer.h (+2/-2)
tests/mock_provider.h (+6/-6)
tests/position_test.cpp (+16/-22)
tests/reference_position_updated_test.cpp (+4/-15)
tests/remote_provider_test.cpp (+14/-25)
tests/state_tracking_provider_test.cpp (+19/-23)
tests/time_based_update_policy_test.cpp (+67/-72)
tests/wgs84_test.cpp (+0/-129)
Branch information
Recent revisions
- 265. By Thomas Voß
-
Refactor location::Position.
- refactor explicit typing of Latitude/Longitude and instead
just use units as types.
- remove explicit types for heading and velocity. - 263. By Thomas Voß
-
Simplify the location::Provider interface.
Move all state-machine semantics into the implementation and
only expose a pure virtual interface for providers to implement.
Remove specific event-handlers and instead go fo an extensible location::Event
with location::Provider extending on location::Event: :Receiver. With that, we
can easily extend events going forward in an ABI compatible way. - 256. By Scott Sweeny
-
Fusion provider: Always use an update that came from the same source as the previous used update (fixes LP: #1570878) (LP: #1570878)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:location-service/trunk