ubuntu-location-service
0.0.2
Main Page
Classes
Files
File List
include
location_service
com
ubuntu
location
criteria.h
1
/*
2
* Copyright © 2012-2013 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License version 3,
6
* as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Thomas Voß <thomas.voss@canonical.com>
17
*/
18
#ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_CRITERIA_H_
19
#define LOCATION_SERVICE_COM_UBUNTU_LOCATION_CRITERIA_H_
20
21
#include "com/ubuntu/location/accuracy.h"
22
#include "com/ubuntu/location/heading.h"
23
#include "com/ubuntu/location/velocity.h"
24
#include "com/ubuntu/location/wgs84/altitude.h"
25
#include "com/ubuntu/location/wgs84/latitude.h"
26
#include "com/ubuntu/location/wgs84/longitude.h"
27
28
#include <limits>
29
#include <ostream>
30
#include <stdexcept>
31
32
namespace
com
33
{
34
namespace
ubuntu
35
{
36
namespace
location
37
{
38
struct
Criteria
39
{
40
Criteria
() : latitude_accuracy(),
41
longitude_accuracy(),
42
altitude_accuracy(),
43
velocity_accuracy(),
44
heading_accuracy()
45
{
46
}
47
48
Accuracy<wgs84::Latitude>
latitude_accuracy;
49
Accuracy<wgs84::Longitude>
longitude_accuracy;
50
Accuracy<wgs84::Altitude>
altitude_accuracy;
51
Accuracy<Velocity>
velocity_accuracy;
52
Accuracy<Heading>
heading_accuracy;
53
};
54
}
55
}
56
}
57
58
#endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_CRITERIA_H_
Generated on Mon Oct 21 2013 17:37:07 for ubuntu-location-service by
1.8.4