aboutsummaryrefslogtreecommitdiffstats
path: root/src/navigation_info.cpp
blob: 9e89bc5ac9322a879c0080bee03e3b89ea356d41 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// Copyright 2019 NEDL CO.,LTD

#include<string.h>
#include "navigation_info.h"

using namespace std;

void NavigationInfo::setNaviInfoSessionHandle( char* sessionHandle )
{
	mSessionHandle = stoi(sessionHandle);
}

uint32_t NavigationInfo::getNaviInfoSessionHandle()
{
	return mSessionHandle;
}

void NavigationInfo::setNaviInfoClient( string client )
{
	mClient = client;
}

string NavigationInfo::getNaviInfoClient()
{
	return mClient;
}

void NavigationInfo::setNaviInfoCurrentLatitude( char* latitude )
{
	strcpy(mCurrentLatitude,latitude);
}

void NavigationInfo::setNaviInfoCurrentHeading( char* heading )
{
	strcpy(mCurrentHeading,heading);
}

char* NavigationInfo::getNaviInfoCurrentLatitude()
{
	return mCurrentLatitude;
}	

void NavigationInfo::setNaviInfoCurrentLongitude( char* longitude )
{
	strcpy(mCurrentLongitude,longitude);
}

char* NavigationInfo::getNaviInfoCurrentLongitude()
{
	return mCurrentLongitude;
}

char* NavigationInfo::getNaviInfoCurrentHeading()
{
	return mCurrentHeading;
}

void NavigationInfo::setNaviInfoAllRoutes( char* route )
{
	mRoutes = stoi(route);
}

uint32_t NavigationInfo::getNaviInfoAllRoutes()
{
	return mRoutes;
}

void NavigationInfo::setNaviInfoDestLatitude( char* latitude )
{
	strcpy(mDestLatitude,latitude);
}

char* NavigationInfo::getNaviInfoDestLatitude()
{
	return mDestLatitude;
}	

void NavigationInfo::setNaviInfoDestLongitude( char* longitude )
{
	strcpy(mDestLongitude,longitude);
}

char* NavigationInfo::getNaviInfoDestLongitude()
{
	return mDestLongitude;
}

void NavigationInfo::setNaviInfoDemoLatitude( char* latitude )
{
	strcpy(mDemoLatitude,latitude);
}

char* NavigationInfo::getNaviInfoDemoLatitude()
{
	return mDemoLatitude;
}	

void NavigationInfo::setNaviInfoDemoLongitude( char* longitude )
{
	strcpy(mDemoLongitude,longitude);
}

char* NavigationInfo::getNaviInfoDemoLongitude()
{
	return mDemoLongitude;
}

void NavigationInfo::setNaviInfoDemoDistance( char* distance )
{
	strcpy(mDemoDistance,distance);
}

char* NavigationInfo::getNaviInfoDemoDistance()
{
	return mDemoDistance;
}	

void NavigationInfo::setNaviInfoDemoDirection( char* direction )
{
	strcpy(mDemoDirection,direction);
}

char* NavigationInfo::getNaviInfoDemoDirection()
{
	return mDemoDirection;
}