Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
map_location
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
map_location
Commits
0aa63a94
Commit
0aa63a94
authored
Apr 08, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
11f0b36e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
MapLocationBase.h
include/MapLocationBase.h
+3
-2
MapLocation.cpp
src/MapLocation.cpp
+7
-4
MapLocation.h
src/MapLocation.h
+4
-3
No files found.
include/MapLocationBase.h
View file @
0aa63a94
...
...
@@ -3,11 +3,12 @@
#include "EgoMotionStruct.h"
#include <functional>
typedef
void
(
MatchingResultCall
)(
MatchingResult
&
match
);
typedef
std
::
function
<
MatchingResultCall
>
MatchingResultCallback
;
namespace
JfxLocation
{
typedef
void
(
MatchingResultCall
)(
MatchingResult
&
match
);
typedef
std
::
function
<
MatchingResultCall
>
MatchingResultCallback
;
class
MapLocationBase
{
public
:
...
...
src/MapLocation.cpp
View file @
0aa63a94
...
...
@@ -3,16 +3,19 @@
namespace
JfxLocation
{
int
MapLocation
::
Init
()
int
MapLocation
::
SetMatchingResultCallback
(
MatchingResultCallback
cb
)
{
return
0
;
}
int
MapLocation
::
Deal
()
int
MapLocation
::
PushGPSFrame
(
GPSFrame
&
gps
)
{
return
0
;
}
int
MapLocation
::
PushLines
(
Lines
&
lines
)
{
return
0
;
}
int
MapLocation
::
Release
(
)
int
MapLocation
::
PushLocation
(
Location
&
loc
)
{
return
0
;
}
...
...
src/MapLocation.h
View file @
0aa63a94
...
...
@@ -8,9 +8,10 @@ namespace JfxLocation
{
public
:
virtual
int
Init
();
virtual
int
Deal
();
virtual
int
Release
();
virtual
int
SetMatchingResultCallback
(
MatchingResultCallback
cb
);
virtual
int
PushGPSFrame
(
GPSFrame
&
gps
);
virtual
int
PushLines
(
Lines
&
lines
);
virtual
int
PushLocation
(
Location
&
loc
);
public
:
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment