-
Notifications
You must be signed in to change notification settings - Fork 0
/
TravelMode_ClassifierDoc.h
executable file
·56 lines (43 loc) · 1.2 KB
/
TravelMode_ClassifierDoc.h
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
// TravelMode_ClassifierDoc.h : CTravelMode_ClassifierDoc 类的接口
//
#pragma once
#include "GPoint.h"
class CTravelMode_ClassifierDoc : public CDocument
{
protected: // 仅从序列化创建
CTravelMode_ClassifierDoc();
DECLARE_DYNCREATE(CTravelMode_ClassifierDoc)
// 特性
public:
// 操作
public:
//void split(const std::string& s, char delim, std::vector<std::string>& elems);
// 重写
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
#ifdef SHARED_HANDLERS
virtual void InitializeSearchContent();
virtual void OnDrawThumbnail(CDC& dc, LPRECT lprcBounds);
#endif // SHARED_HANDLERS
// 实现
public:
virtual ~CTravelMode_ClassifierDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// 生成的消息映射函数
protected:
DECLARE_MESSAGE_MAP()
#ifdef SHARED_HANDLERS
// 用于为搜索处理程序设置搜索内容的 Helper 函数
void SetSearchContent(const CString& value);
#endif // SHARED_HANDLERS
public:
afx_msg void OnTravelmodeanalysisGpsdata();
afx_msg void OnTravelmodeanalysisMovingwindow();
double DirectDistance(GPoint p1, GPoint p2);
double ToRadians(double degrees);
};