bugfix: change character code : utf-8
parent
81bd28e821
commit
49bc9c8130
|
@ -6,7 +6,7 @@
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
//Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
// 目标抽象类
|
||||||
class Controller
|
class Controller
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -16,27 +16,27 @@ public:
|
||||||
private:
|
private:
|
||||||
};
|
};
|
||||||
|
|
||||||
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DxfParser
|
// 适配者类DxfParser
|
||||||
class DxfParser
|
class DxfParser
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DxfParser(){}
|
DxfParser(){}
|
||||||
void parseFile(){
|
void parseFile(){
|
||||||
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n");
|
printf("Parse dxf file\n");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PathPlanner
|
// 适配者类PathPlanner
|
||||||
class PathPlanner
|
class PathPlanner
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
PathPlanner(){}
|
PathPlanner(){}
|
||||||
void calculate(){
|
void calculate(){
|
||||||
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӹ<EFBFBD>·<EFBFBD><EFBFBD>\n");
|
printf("calculate path\n");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Adapter
|
// 适配器类Adapter
|
||||||
class Adapter:public Controller
|
class Adapter:public Controller
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -51,7 +51,7 @@ public:
|
||||||
Adapter(const Adapter& other) = delete;
|
Adapter(const Adapter& other) = delete;
|
||||||
Adapter& operator=(const Adapter& ) = delete;
|
Adapter& operator=(const Adapter& ) = delete;
|
||||||
void pathPlanning(){
|
void pathPlanning(){
|
||||||
printf("·<EFBFBD><EFBFBD><EFBFBD>滮<EFBFBD><EFBFBD>\n");
|
printf("pathPlanning\n");
|
||||||
dxfParser->parseFile();
|
dxfParser->parseFile();
|
||||||
pathPlanner->calculate();
|
pathPlanner->calculate();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue