- 1、本文档共237页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
AUTOCAD二次开发之ObjectARX
* * * * * * * * * * * * AcRxClass are runtime class identifiers for AcRxObject derived classes. Every object will have an object of this class in the inheritance tree... Class Factory – allows you to create an objects of a particular class with ::create Method Protocol Extensions – Sort of like inheritance by containment, except that the inherited class confirms to predefined AutoCAD interface. It applies to all objects of a particular class. * * * * * Object implementing filer protocol created * 1. Class identifier is read from filer 2. Class is instantiated by AcRxClass class factory 3. Filer is passed to the newly created object 4. Database object calls back into the filer * * * * * * * * * * * * * * * * * Subject - knows its observers. Any number of Observer objects may observe a subject - provides an interface for attaching and detaching Observer objects Observer - defines an updating interface for objects that should be notified of changes in a subject ConcreteSubject - stores state of interest to ConcreteObserver objects - sends a notification to its observers when its state changes ConcreteObserver - maintains a reference to a ConcreteSubject - stores state that should stay consistent with the subject’s - implements the Observer updating interface to keep its state consistent with the subject’s * * * * 反应器类从AcRxObject类中派生而来,而不是从AcDbObjct类派生而来。反应器的类型不同,接收的事件也不相同。反应器不是数据库对象,它与数据库没有隶属关系,因此它并没有对象ID。 * * * * * * * * * * * * * * * * * * * * * * * * * * * This talks about AcRxObject which all objects derives from. AcRx object provides RTTI. * * * * * * * * * * AcTransaction::getObject() takes ObjectId and OpenMode * * * * * Owner: AcDbObject::ownerId() Show with arxdbg 硬所有:必须包含于 硬指针:必须用到 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Iterator - Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation. * * * * C/C++运行库(Run-time Libra
您可能关注的文档
最近下载
- Unit 5 We’re family 第1课时(Get ready)(课件)外研版(三起)(2024)英语三年级上册.pptx
- 中国民间传说:田螺姑娘.ppt
- 医院岗位风险分级监管制度.docx VIP
- 八年级班级工作计划第一学期.pdf VIP
- 甘肃省平凉崆峒区2024年中考联考数学试卷含解析.doc
- 硅片加工表面抛光.ppt
- 正大猪三宝饲料推广会流程和操作实务.ppt
- 安徽省腰椎间盘突出症分级诊疗指南(2015年版)安徽省医学会(发布时间:2016-01).pdf VIP
- 国家食品安全抽样检验抽样单&填表说明.doc
- TASCAM达斯冠专业音响CD-RW901MKII说明书用户手册(1).pdf
文档评论(0)