首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 创建处理对象的工厂框架

创建处理对象的工厂框架

资 源 简 介

HandleFactory is a C++ factory framework for creating handles to objects. Typically these objects will have private constructors and a private destructor in order to make sure that a user can only create instances of these objects using the HandleFactory framework. The HandleFactory framework typically returns handles to objects that are of "smart pointer" type, i.e., the handles point to the object and at the same time they keep track of the total number of handles that point to this same object. If this number becomes zero the object is deleted automatically. The HandleFactory framework provides the possiblity to generate handles of well known type such as boost::shared_ptr, boost::intrusive_ptr, std::auto_ptr. One can also generate handles of my own implementation of a reference counting smart pointer which is included with the library.

文 件 列 表

HandleFactory
.svn
prop-base
debug
Handle.h
HandleFactory.h
HandleFactoryObjectCreatorImpl.h
HandleImpl.h
release
.svn

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP