18 #ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_INTERFACE_H_ 19 #define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_INTERFACE_H_ 27 #include <core/property.h> 45 struct UpdatePosition;
46 struct UpdateVelocity;
49 struct StartPositionUpdates;
50 struct StopPositionUpdates;
52 struct StartVelocityUpdates;
53 struct StopVelocityUpdates;
55 struct StartHeadingUpdates;
56 struct StopHeadingUpdates;
60 struct ErrorParsingUpdate;
61 struct ErrorStartingUpdate;
80 core::Property<Update<Position>> position{};
89 core::Property<Update<Heading>> heading{};
98 core::Property<Update<Velocity>> velocity{};
105 typedef std::shared_ptr<Interface>
Ptr;
122 std::shared_ptr<Private> d;
130 #endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_INTERFACE_H_
The service has been disabled by the user.
virtual Updates & updates()
Provides access to the updates delivered for this session.
The service is enabled but not actively carrying out positioning.
Models a session with the location service.
Encapsulates updates provided for this session, and the ability to enable/disable updates...
virtual ~Interface() noexcept
std::shared_ptr< Interface > Ptr
Status
The Status enum models the possible states of updates.