?? sink.h
字號:
#if !defined(AFX_SINK_H__5E788B05_32A4_4EAA_95FB_FACD94A3E716__INCLUDED_)
#define AFX_SINK_H__5E788B05_32A4_4EAA_95FB_FACD94A3E716__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Sink.h : header file
//
#include "Msg.h"
#include "MsgBuff.h"
/////////////////////////////////////////////////////////////////////////////
// CSink thread
class CSink : public CWinThread
{
DECLARE_DYNCREATE(CSink)
public:
CSink(); // protected constructor used by dynamic creation
// Attributes
public:
CMsgBuff MsgBuff;
//CMsgStrain *pHead, *pTail;
CRITICAL_SECTION Locked;
public:
int SinkId;
static BOOL SinkEnd;
// Operations
public:
static UINT SinkWorkProc(LPVOID pParam);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSink)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
public:
void Action();
void DesposeMessage(CMsg *pMsg);
void SetNodeYPos();
void SetNodeXPos();
virtual ~CSink();
// Generated message map functions
//{{AFX_MSG(CSink)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SINK_H__5E788B05_32A4_4EAA_95FB_FACD94A3E716__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -