#pragma once #include "afxcmn.h" #include "afxwin.h" #include "FastView.h" class CFastMainDialog : public CDialogEx { DECLARE_DYNAMIC(CFastMainDialog) public: CFastMainDialog(CWnd* pParent = NULL); // 标准构造函数 virtual ~CFastMainDialog(); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_MAIN_DIALOG }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 virtual BOOL PreTranslateMessage(MSG* pMsg); DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); void InitLocalCamera(); public: CFastView m_FastCam[4]; std::vector m_CameraDev; afx_msg void OnTimer(UINT_PTR nIDEvent); void ProcessPipeMsg(int lMsgId, char* pData, int lLen); };