📄 dfb1doc.h
字号:
// DFB1Doc.h : interface of the CDFB1Doc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DFB1DOC_H__35D161E6_7C64_490A_B96D_5CEA71234256__INCLUDED_)
#define AFX_DFB1DOC_H__35D161E6_7C64_490A_B96D_5CEA71234256__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDFB1Doc : public CDocument
{
protected: // create from serialization only
CDFB1Doc();
DECLARE_DYNCREATE(CDFB1Doc)
// Attributes
public:
int m_ndocchannel; //incoherent消色散时候的channel数目
double m_ndocDM; //DM
double *m_ndocinputdata;
double m_ndocstartfreq; //
double m_ndocendfreq; //这两个量确定带宽
int m_nnum; //实际一次读的数据大小
int m_nreadnum; //实际一次读的数据大小
double *m_nfir;
int m_nfirnum;
double *m_ninco_output; //incoherent's output
double *m_folded_output;
int bins;
int numspp;
// float m_ninputdata[400]; //先不定义,因为不知道一次读的数据有多大,所以在程序OnFileOpen()中用new函数动态生成
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDFB1Doc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual void DeleteContents();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDFB1Doc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDFB1Doc)
afx_msg void OnMenuitem32771();
afx_msg void OnMenuitem32772();
afx_msg void OnFileSaveAs();
afx_msg void OnFileOpen();
afx_msg void OnUpdateMenuitem32771(CCmdUI* pCmdUI);
afx_msg void OnUpdateMenuitem32772(CCmdUI* pCmdUI);
afx_msg void OnUpdateMenuitem32773(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DFB1DOC_H__35D161E6_7C64_490A_B96D_5CEA71234256__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -