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{};
84 core::Property<Status> position_status{Status::disabled};
89 core::Property<Update<Heading>> heading{};
93 core::Property<Status> heading_status{Status::disabled};
98 core::Property<Update<Velocity>> velocity{};
102 core::Property<Status> velocity_status{Status::disabled};
105 typedef std::shared_ptr<Interface>
Ptr;
122 std::shared_ptr<Private> d;
130 #endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_INTERFACE_H_
virtual Updates & updates()
Provides access to the updates delivered for this session.
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.