📄 inteteam.h
字号:
//
// CInterTeam : the class of interface with the communication
//
//
/////////////////////////////////////////////////////////////////////////
#ifndef __INTERTEAM
#define __INTERTEAM
#include "SendTeam.h"
#ifndef uint
#define uint unsigned int
#endif
enum INTERFACE_TYPE
{
INTERFACE_NULL = -1,
INTERFACE_SITEID = 0,
INTERFACE_SAMPLE = 1,
INTERFACE_SERIAL = 2,
INTERFACE_BIAODINPLUSE = 3,
INTERFACE_BIAODINWAVE = 4,
INTERFACE_FILT = 5,
INTERFACE_CORRECT = 6
};
class CInterTeam : public CSendTeam
{
public:
CInterTeam();
~CInterTeam();
// Attribution
private:
char* m_pReceiveBuff;
INTERFACE_TYPE m_nSendType; // sign the send status
uint m_nTeamIndex;
// Operation
public:
void CheckTeamHead(char nChar);
// override
virtual char GetNext(unsigned int& nTeamIndex);
virtual void TeamIn(char nChar);
};
extern CInterTeam g_nInterTeam;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -