www.pudn.com > DalsaNetlink.rar > CyInterPacketDelayDialog.h


#if !defined(AFX_CYINTERPACKETDELAYDIALOG_H__90D2799B_78DF_4A0F_A774_12EE57151A91__INCLUDED_) 
#define AFX_CYINTERPACKETDELAYDIALOG_H__90D2799B_78DF_4A0F_A774_12EE57151A91__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// CyInterPacketDelayDialog.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CyInterPacketDelayDialog dialog 
 
#include  
#include  
#include  
 
class CyInterPacketDelayDialog : public CDialog 
{ 
// Construction 
public: 
	CyInterPacketDelayDialog( const CyImageBuffer&        aBuffer, 
                              unsigned long               aPacketSize, 
                              const CyConfig::AccessMode& aAccessMode, 
                              CWnd*                       aParent= NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CyInterPacketDelayDialog) 
	enum { IDD = IDD_INTER_PACKET_DELAY_DLG }; 
	CEdit	mIPDControl; 
	CComboBox	mLinkSpeed; 
	CEdit	mDataRate; 
	double	mFrameRate; 
	UINT	mPacketSize; 
	double	mPacketTransmitTime; 
	double	mPacketsPerSecond; 
	double	mTimePerPacket; 
	int		mLinkSpeedValue; 
	//}}AFX_DATA 
 
    unsigned short mInterPacketDelay; 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CyInterPacketDelayDialog) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CyInterPacketDelayDialog) 
	virtual BOOL OnInitDialog(); 
	//}}AFX_MSG 
 
	afx_msg void OnModified(); 
    DECLARE_MESSAGE_MAP() 
 
    const CyImageBuffer& mBuffer; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CYINTERPACKETDELAYDIALOG_H__90D2799B_78DF_4A0F_A774_12EE57151A91__INCLUDED_)