summaryrefslogtreecommitdiff
path: root/enhanced-position-service/api/franca/EnhancedPositionServiceTypes.fidl
blob: 1b692a2af2157c5eb15537aa4201f2595d383141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*  SPDX-License-Identifier: MPL-2.0
    Component Name: EnhancedPositionService
    Compliance Level: Abstract Component
    Copyright (C) 2012, BMW Car IT GmbH, Continental Automotive GmbH, PCA Peugeot Citroën, XS Embedded GmbH
    License:
    This Source Code Form is subject to the terms of the
    Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
    this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package org.genivi.positioning.EnhancedPositionService

typeCollection EnhancedPositionServiceTypes {
	
	<** @description : A template to generate a dbus 'v'.**>
	union Value {
		UInt32 uInt32Value	
	}

	enumeration BasicEnum {
		INVALID = 0x0000
	}
	
    typedef Handle is UInt32

	<** @description: version.**>			
	struct Version {
		<** @description : when the major changes, then backward compatibility with previous releases is not granted.**>
		UInt16 ^major
		<** @description : when the minor changes, then backward compatibility with previous releases is granted, but something changed in the implementation of the API (e.g. new methods may have been added).**>
		UInt16 ^minor
		<** @description : when the micro changes, then backward compatibility with previous releases is granted (bug fixes or documentation modifications).**>
		UInt16 ^micro
		<** @description : release date (e.g. 21-06-2011).**>
		String date
	}


    <** @description: 2D geocoordinate.**>	
	struct Coordinate2D {
        <**	@description : latitude of a vertex of the polygon in format %3.6f. Range [-90:+90]. Example: 48.053250.**>
		Double latitude
        <**	@description : longitude of a vertex of the polygon in format %3.6f. Range [-180:+180]. Example: 48.053250.**>
		Double longitude
	}

    <** @description: 3D geocoordinate.**>	
	struct Coordinate3D extends Coordinate2D {
        <**	@description : altitude above the sea level of the current position in meters.**>
		Int32 altitude
	}
	
}