Commit 0aa63a94 authored by oscar's avatar oscar

提交更新

parent 11f0b36e
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
#include "EgoMotionStruct.h" #include "EgoMotionStruct.h"
#include <functional> #include <functional>
typedef void (MatchingResultCall)(MatchingResult& match);
typedef std::function<MatchingResultCall> MatchingResultCallback;
namespace JfxLocation namespace JfxLocation
{ {
typedef void (MatchingResultCall)(MatchingResult& match);
typedef std::function<MatchingResultCall> MatchingResultCallback;
class MapLocationBase class MapLocationBase
{ {
public: public:
......
...@@ -3,16 +3,19 @@ ...@@ -3,16 +3,19 @@
namespace JfxLocation namespace JfxLocation
{ {
int MapLocation::SetMatchingResultCallback(MatchingResultCallback cb)
int MapLocation::Init()
{ {
return 0; return 0;
} }
int MapLocation::Deal() int MapLocation::PushGPSFrame(GPSFrame& gps)
{
return 0;
}
int MapLocation::PushLines(Lines& lines)
{ {
return 0; return 0;
} }
int MapLocation::Release() int MapLocation::PushLocation(Location& loc)
{ {
return 0; return 0;
} }
......
...@@ -8,9 +8,10 @@ namespace JfxLocation ...@@ -8,9 +8,10 @@ namespace JfxLocation
{ {
public: public:
virtual int Init(); virtual int SetMatchingResultCallback(MatchingResultCallback cb);
virtual int Deal(); virtual int PushGPSFrame(GPSFrame& gps);
virtual int Release(); virtual int PushLines(Lines& lines);
virtual int PushLocation(Location& loc);
public: public:
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment