1.       单例模式(Singleton) OGRE中用到的设计模式

2.       工厂方法(Factory Method) OGRE中用到的设计模式OGRE中用到的设计模式

3.       适配器模式(Adapter) OGRE中用到的设计模式OGRE中用到的设计模式

4.       桥接模式(Bridge) OGRE中用到的设计模式OGRE中用到的设计模式

5.       职责链模式(Chain of Responsibility) OGRE中用到的设计模式OGRE中用到的设计模式

6.       迭代器模式(Iterator)

Ogre::VectorIterator< T >

Ogre::MapIterator< T >

Ogre::ConstVectorIterator< T >

Ogre::ConstMapIterator< T >

7.       观察者模式(Observer)

如各种Listener OGRE中用到的设计模式

8.       模板方法模式(TemplateMethod)

基类定义全局和步骤,子类来实现每一步的细节 OGRE中用到的设计模式

还有Visitor, Façade, Strategy等等

posted on 2013-04-18 17:16 夜光猪 阅读(...) 评论(...) 编辑 收藏

转载于:https://www.cnblogs.com/Ogre/archive/2013/04/18/3029051.html

相关文章: