lomiri-location-service
..
An aggregating location service providing positioning and geocoding capabilities to applications.
|
Go to the documentation of this file.
18 #ifndef LOCATION_SERVICE_COM_LOMIRI_LOCATION_FUSION_PROVIDER_H
19 #define LOCATION_SERVICE_COM_LOMIRI_LOCATION_FUSION_PROVIDER_H
36 typedef std::shared_ptr<FusionProvider>
Ptr;
54 std::set<Provider::Ptr> providers;
55 std::vector<core::ScopedConnection> connections;
61 #endif // LOCATION_SERVICE_COM_LOMIRI_LOCATION_FUSION_PROVIDER_H
void on_wifi_and_cell_reporting_state_changed(location::WifiAndCellIdReportingState state) override
Called by the engine whenever the wifi and cell ID reporting state changes.
WifiAndCellIdReportingState
std::shared_ptr< UpdateSelector > Ptr
boost::optional< T > Optional
bool matches_criteria(const Criteria &criteria) override
Checks if a provider satisfies a set of accuracy criteria.
FusionProvider(const std::set< Provider::Ptr > &providers, const UpdateSelector::Ptr &update_selector)
void start_velocity_updates() override
Implementation-specific, empty by default.
void start_heading_updates() override
Implementation-specific, empty by default.
void stop_velocity_updates() override
Implementation-specific, empty by default.
void start_position_updates() override
Implementation-specific, empty by default.
void stop_position_updates() override
Implementation-specific, empty by default.
void on_reference_location_updated(const Update< Position > &position) override
Called by the engine whenever the reference location changed.
std::shared_ptr< FusionProvider > Ptr
void stop_heading_updates() override
Implementation-specific, empty by default.
Summarizes criteria of a client session with respect to functionality and accuracy for position,...
The Provider class is the abstract base of all positioning providers.
void on_reference_velocity_updated(const Update< Velocity > &velocity) override
Called by the engine whenever the reference velocity changed.
void on_reference_heading_updated(const Update< Heading > &heading) override
Called by the engine whenever the reference heading changed.
Templated class that wraps a value and timestamp.