~thomas-voss/location-service/fix-service-path

« back to all changes in this revision

Viewing changes to src/location/providers/fusion/provider.h

Merge lp:~thomas-voss/location-service/refactor-location-position.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    Requirements requirements() const override;
46
46
    bool satisfies(const Criteria& criteria) override;
47
47
    const core::Signal<Update<Position>>& position_updates() const override;
48
 
    const core::Signal<Update<Heading>>& heading_updates() const override;
49
 
    const core::Signal<Update<Velocity>>& velocity_updates() const override;
 
48
    const core::Signal<Update<units::Degrees>>& heading_updates() const override;
 
49
    const core::Signal<Update<units::MetersPerSecond>>& velocity_updates() const override;
50
50
 
51
51
private:
52
52
    Provider(const std::set<location::Provider::Ptr>& providers, const UpdateSelector::Ptr& update_selector);
60
60
    struct
61
61
    {
62
62
        core::Signal<Update<Position>> position;
63
 
        core::Signal<Update<Heading>> heading;
64
 
        core::Signal<Update<Velocity>> velocity;
 
63
        core::Signal<Update<units::Degrees>> heading;
 
64
        core::Signal<Update<units::MetersPerSecond>> velocity;
65
65
    } updates;
66
66
};
67
67
}