⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msghndlrreg.h

📁 设计模式之singleton模式例程
💻 H
字号:
//  MsgHndlrReg.h : interface and implementation of CMsgHndlrRegistry class
//
/////////////////////////////////////////////////////////////////////////////

// Runtime class information of Message handler agents are self registered to 
// CObjRegistry via this class

// Written by : T. Kulathu Sarma

// This file is part of Singleton application to demonstrate the concept of Singleton classes.
// This file is provided "as is" with no expressed or implied warranty.

#ifndef _MSGHNDLR_REGISTRY
#define _MSGHNDLR_REGISTRY

#include "ObjReg.h"

template <class T> class CMsgHndlrRegistry : public CObjRegistry
{
	// Constructor
	public :
		CMsgHndlrRegistry( CRuntimeClass * pRuntimeClass, LPCSTR lpszKey ) : CObjRegistry( pRuntimeClass, lpszKey ) {	}
};
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -