📄 cmclwaitableobject.h
字号:
//
// FILE: CMclWaitableObject.h
//
// Copyright (c) 1997 by Aaron Michael Cohen and Mike Woodring
//
/////////////////////////////////////////////////////////////////////////
#ifndef __CMCLWAITABLEOBJECT_H__
#define __CMCLWAITABLEOBJECT_H__
#include "CMclGlobal.h"
class CMclWaitableObject {
// class has no member data, it's only purpose is to provide
// a base class for waitable objects which have internal HANDLES
// and Status...
// class needs no construtor, since it has no members...
public:
// get the internal handle...
// this member function is virtual to assure
// this function appears in all derived classes
// and pure (= 0) so that this class cannot be instantiated...
virtual HANDLE GetHandle(void) const = 0;
// get the internal object status...
// this member function is virtual to assure
// this function appears in all derived classes
// and pure (= 0) so that this class cannot be instantiated...
virtual DWORD Status(void) const = 0;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -