vtkRefCount
来源:互联网 发布:微山湖武工队淘宝店 编辑:程序博客网 时间:2024/05/04 16:32
vtkRefCount:
功能:
reference counting,with the combination of New/Delete;继承自vtkobject
数据:
int RefCount; // Number of uses of this object by other objects
int ReferenceCounting; // Turn on/off reference counting mechanism
成员:
// 对一些off stack的对象,如自动对象(automatic object),设置ReferenceCounting=0
void ReferenceCountingOff();
// ++/--RefCount,当RefCount==0,则撤销对象
void Register(vtkObject* o);
void UnRegister(vtkObject* o);//在Delete()中调用
参考:
automatic object: http://msdn.microsoft.com/en-us/library/a06fs503.aspx
- vtkRefCount
- 项目管理系统-onepoint project
- Visual C++ 界面编程之动画进度条的制作
- Java AWT是什么?
- 部署现有web项目
- ArcGIS Server 开发系列(五)--自定义 Toolbar 工具
- vtkRefCount
- [原创]今天看到一RPG处理数据的题目,不知各位将如何解答和解释这几条常见的指令?
- [分享]尝试赞美这残缺的世界
- ArcGIS Server 开发系列(三)--漫游 Graphics data sources
- HTTP Response Status Code -- HTTP响应代码中文详解
- coldfusion文摘
- [技术讨论]代码调试,程序员的基本功
- O(∩_∩)O谢谢
- 在Symbian开发环境下如何编写静态接口DLL(动态链接库)