什么是可插拔的适配器模式 [英] what is pluggable adapter pattern

查看:166
本文介绍了什么是可插拔的适配器模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是一名c ++开发人员,并尝试了解设计模式。在结构模式中有一种称为适配器模式的特定模式。我如何从GOF书中理解这种模式。这个模式,有可插拔的适配器模式,非常混乱,无法理解它.Google搜索很多,但无法找到一个满意的答案。可以解释什么是可插拔适配器设计模式,用c ++示例?以及普通适配器模式和可插拔适配器模式之间的区别。

提前谢谢

解决方案

参见 http://msdn.microsoft.com/en-us/library/orm-9780596527730-01-04.aspx [ ^ ]。

Hi,
I am a c++ developer and try to understand the design pattern .In structural pattern there is a specific pattern called adapter pattern.some how i understand this pattern from the GOF book.In this pattern ,there is pluggable adapter pattern,which very confusing and not able to understand it .Googled lot but not able to find a satisfactory answer.Can any one explain what is pluggable adapter design pattern ,with a c++ example ? and also the difference between normal adapter pattern and pluggable adapter pattern.
Thanks in advance

解决方案

See http://msdn.microsoft.com/en-us/library/orm-9780596527730-01-04.aspx[^].


这篇关于什么是可插拔的适配器模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆