18 #ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_SKELETON_H_ 19 #define LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_SKELETON_H_ 29 #include <core/dbus/message.h> 30 #include <core/dbus/object.h> 31 #include <core/dbus/skeleton.h> 54 core::dbus::Bus::Ptr
bus;
71 core::dbus::types::ObjectPath
path;
81 virtual const
core::
dbus::types::ObjectPath&
path() const;
85 virtual
void on_start_position_updates(const
core::
dbus::Message::Ptr&);
86 virtual
void on_stop_position_updates(const
core::
dbus::Message::Ptr&);
88 virtual
void on_start_heading_updates(const
core::
dbus::Message::Ptr&);
89 virtual
void on_stop_heading_updates(const
core::
dbus::Message::Ptr&);
91 virtual
void on_start_velocity_updates(const
core::
dbus::Message::Ptr&);
92 virtual
void on_stop_velocity_updates(const
core::
dbus::Message::Ptr&);
95 virtual
void on_position_changed(const
Update<
Position>& position);
97 virtual
void on_heading_changed(const
Update<
Heading>& heading);
99 virtual
void on_velocity_changed(const
Update<
Velocity>& velocity);
122 #endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_SERVICE_SESSION_SKELETON_H_ core::ScopedConnection position_changed
core::dbus::types::ObjectPath path
units::Quantity< units::Velocity > Velocity
Velocity is measured in m/s.
Templated class that wraps a value and timestamp.
virtual const core::dbus::types::ObjectPath & path() const
virtual ~Skeleton() noexcept
The Position struct models a position in the wgs84 coordinate system.
core::dbus::Object::Ptr object
core::ScopedConnection heading_changed
core::ScopedConnection velocity_changed
Skeleton(const Configuration &configuration)
std::shared_ptr< Interface > Ptr
units::Quantity< units::PlaneAngle > Heading