Main Page
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Functions
Variables
Typedefs
Friends
Pages
Core
ILocation.h
1
//------------------------------------------------------------------------------
2
//
3
// Copyright (c) 2012 Glympse Inc. All rights reserved.
4
//
5
//------------------------------------------------------------------------------
6
7
#ifndef ILOCATION_H__GLYMPSE__
8
#define ILOCATION_H__GLYMPSE__
9
10
namespace
Glympse
11
{
12
13
/*C*/
14
struct
ILocation;
15
typedef
O< ILocation > GLocation;
16
17
22
/*O*public**/
struct
ILocation
:
public
ILatLng
23
{
27
public
:
virtual
bool
hasProvider
() = 0;
28
32
public
:
virtual
bool
hasAltitude
() = 0;
33
37
public
:
virtual
bool
hasBearing
() = 0;
38
42
public
:
virtual
bool
hasSpeed
() = 0;
43
47
public
:
virtual
bool
hasHAccuracy
() = 0;
48
52
public
:
virtual
bool
hasVAccuracy
() = 0;
53
57
public
:
virtual
bool
hasTime
() = 0;
58
63
public
:
virtual
int32
getProvider
() = 0;
64
70
public
:
virtual
float
getAltitude
() = 0;
71
80
public
:
virtual
float
getBearing
() = 0;
81
87
public
:
virtual
float
getSpeed
() = 0;
88
94
public
:
virtual
float
getHAccuracy
() = 0;
95
101
public
:
virtual
float
getVAccuracy
() = 0;
102
106
public
:
virtual
int64
getTime
() = 0;
107
111
public
:
virtual
GLocation
clone
() = 0;
112
120
public
:
virtual
float
distanceTo
(
const
GLatLng
& dest) = 0;
121
130
public
:
virtual
float
bearingTo
(
const
GLatLng
& dest) = 0;
131
};
132
133
}
134
135
#endif // !ILOCATION_H__GLYMPSE__
Generated on Tue Jun 26 2018 08:46:46 by
1.8.4