1
#include <com/ubuntu/location/service/session/implementation.h>
2
#include <com/ubuntu/location/logging.h>
1
#include <location/service/session/implementation.h>
2
#include <location/logging.h>
4
4
#include <functional>
7
namespace cu = com::ubuntu;
8
namespace cul = com::ubuntu::location;
9
namespace culs = com::ubuntu::location::service;
10
namespace culss = com::ubuntu::location::service::session;
12
7
namespace dbus = core::dbus;
14
struct culss::Implementation::Private
9
struct location::service::session::Implementation::Private
16
11
Provider::Ptr provider;
88
culss::Implementation::~Implementation() noexcept
83
location::service::session::Implementation::~Implementation() noexcept
90
85
stop_position_updates();
91
86
stop_heading_updates();
92
87
stop_velocity_updates();
95
void culss::Implementation::start_position_updates()
90
void location::service::session::Implementation::start_position_updates()
97
92
VLOG(10) << __PRETTY_FUNCTION__;
98
93
d->provider->state_controller()->start_position_updates();
101
void culss::Implementation::stop_position_updates() noexcept
96
void location::service::session::Implementation::stop_position_updates() noexcept
103
98
VLOG(10) << __PRETTY_FUNCTION__;
104
99
d->provider->state_controller()->stop_position_updates();
107
void culss::Implementation::start_velocity_updates()
102
void location::service::session::Implementation::start_velocity_updates()
109
104
VLOG(10) << __PRETTY_FUNCTION__;
110
105
d->provider->state_controller()->start_velocity_updates();
113
void culss::Implementation::stop_velocity_updates() noexcept
108
void location::service::session::Implementation::stop_velocity_updates() noexcept
115
110
VLOG(10) << __PRETTY_FUNCTION__;
116
111
d->provider->state_controller()->stop_velocity_updates();
119
void culss::Implementation::start_heading_updates()
114
void location::service::session::Implementation::start_heading_updates()
121
116
VLOG(10) << __PRETTY_FUNCTION__;
122
117
d->provider->state_controller()->start_heading_updates();
125
void culss::Implementation::stop_heading_updates() noexcept
120
void location::service::session::Implementation::stop_heading_updates() noexcept
127
122
VLOG(10) << __PRETTY_FUNCTION__;
128
123
d->provider->state_controller()->stop_heading_updates();