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;
89 core::Property<Update<Heading>>
heading{};
105 typedef std::shared_ptr<Interface>
Ptr;
122 std::shared_ptr<Private> d;
130 #endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_INTERFACE_H_
core::Property< Update< Position > > position
Updates for position measurements.
core::Property< Update< Velocity > > velocity
Updates for velocity measurements.
virtual Updates & updates()
Provides access to the updates delivered for this session.
core::Property< Status > heading_status
Status of position updates, mutable.
Updates are disabled and not delivered to this session.
core::Property< Status > velocity_status
Status of velocity updates, mutable.
Models a session with the location service.
Updates are enabled and delivered to this session.
core::Property< Update< Heading > > heading
Updates for the heading measurements.
Encapsulates updates provided for this session, and the ability to enable/disable updates...
core::Property< Status > position_status
Status of position updates, mutable.
virtual ~Interface() noexcept
std::shared_ptr< Interface > Ptr
Status
The Status enum models the possible states of updates.