Vanetza
Loading...
Searching...
No Matches
position_provider.hpp
1
#ifndef POSITION_PROVIDER_HPP_4CZDVALU
2
#define POSITION_PROVIDER_HPP_4CZDVALU
3
4
#include <vanetza/common/position_fix.hpp>
5
6
namespace
vanetza
7
{
8
9
/**
10
* PositionProvider is a generic interface to retrieve positioning data.
11
*
12
* How the data has been gathered is not defined, i.e. it may come from an attached GNSS receiver or
13
* something completely different.
14
*/
15
class
PositionProvider
16
{
17
public
:
18
/**
19
* Get current position fix
20
* \return position with latitude and longitude
21
*/
22
virtual
const
PositionFix
&
position_fix
() = 0;
23
24
virtual
~PositionProvider
() =
default
;
25
};
26
27
}
// namespace vanetza
28
29
#endif
/* POSITION_PROVIDER_HPP_4CZDVALU */
30
vanetza::PositionProvider
Definition:
position_provider.hpp:16
vanetza::PositionProvider::position_fix
virtual const PositionFix & position_fix()=0
vanetza::PositionFix
Definition:
position_fix.hpp:16
vanetza
common
position_provider.hpp
Generated on Thu Nov 30 2023 12:03:35 for Vanetza by
1.9.6