Commit 0aa63a94 authored by oscar's avatar oscar

提交更新

parent 11f0b36e
......@@ -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:
......
......@@ -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;
}
......
......@@ -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:
};
......
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