?? ppq.h
字號:
// PPQ.h: interface for the PPQ class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PPQ_H__5F702B11_0DDB_47EC_9EBD_846F959357C3__INCLUDED_)
#define AFX_PPQ_H__5F702B11_0DDB_47EC_9EBD_846F959357C3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "DSP.h"
#include "HGF.h"
class PPQ : public DSPACT
{
SELF_SERIALIZE("zzz.ghd@PPQ.DSP","PPQ",DSPACT);
protected:
virtual bool AttrSectRecv(BYTE byClassLevels,BYTE byAttrNo,const char* const lpBuff,DWORD dwLen,bool bLast);
virtual bool AttrSectSend(BYTE byClassLevels,BYTE byAttrNo,char** const lpBuff,DWORD& dwLen,bool& bContinue);
virtual bool Serialize(BYTE byClassLevels,BYTE byAttrNo,DSP::_DSPPACKET &dsp);
virtual bool UnSerialize(BYTE byClassLevels,BYTE byAttrNo,DSP::_DSPPACKET &dsp,DWORD dwLen);
public:
PPQ();
virtual ~PPQ();
ifstream ifs;
ofstream ofs;
bool m_bBool;
BOOL m_bBOOL;
char m_cValue;
BYTE m_byValue;
short m_sValue;
HGF m_hgf;
WORD m_wValue;
int m_iValue;
DWORD m_dwValue;
char m_chBuff[512];
std::string m_str;
static DSPACT* GetDSPObject(const std::string& strID)
{
return (new PPQ());
};
};
#endif // !defined(AFX_PPQ_H__5F702B11_0DDB_47EC_9EBD_846F959357C3__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -