...
首页> 外文期刊>C - C++ Users Journal >Prying Eyes: A Policy-Based Observer (Ⅰ)
【24h】

Prying Eyes: A Policy-Based Observer (Ⅰ)

机译:窥视:基于策略的观察者(一)

获取原文
获取原文并翻译 | 示例

摘要

This column discusses implementations of the Observer pattern (as described by the Gang of Four). The approach I take is similar to that of Modern C++ Design: First discuss the pattern itself, identifying its key points of customization—the places in which there is a design decision to be made. Then, I abstract the thusly discovered points of customization into policies, and assemble a generic Observer framework from those policies.
机译:本专栏讨论“观察者”模式的实现(如“四人帮”所述)。我采用的方法与现代C ++设计类似:首先讨论模式本身,确定其定制的关键点-在哪里进行设计决策。然后,我将由此发现的定制点抽象到策略中,并根据这些策略组装一个通用的Observer框架。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号