Commit Graph

64 Commits (3e8904b9ebf0ba0fe4b60d1035336f3de77e9e15)

Author SHA1 Message Date
FengJungle 3e8904b9eb add 03.AbstractFactory.md 2021-09-15 21:39:58 +08:00
Qiangguo Feng d37087876b
Merge pull request #5 from ichdream/dp-ich
Linux平台下单例模式多线程编程支持
2021-09-13 19:30:54 +08:00
ichdream 0239628ce4 原来的main.cpp多线程执行的时候有bug,实际执行的是单线程 2021-09-10 16:37:10 +08:00
ichdream e0c7e3db25 增加单例的饿汉模式支持,饿汉单例模式本身是多线程安全的 2021-09-10 15:55:18 +08:00
ichdream 19ca5f026c 统一用Makefile管理编译过程 2021-09-10 15:23:29 +08:00
ichdream 2c293e434b 添加对Linux平台多线程单例模式调用的支持 2021-09-10 15:22:43 +08:00
Qiangguo Feng add73de3f5
Update 02.FactoryMethod.md 2021-09-09 22:29:04 +08:00
FengJungle 875e2b2bfc adjust format 2021-09-09 22:26:43 +08:00
FengJungle 687fcf5cb6 Merge branch 'master' of github.com:FengJungle/DesignPattern 2021-09-09 22:24:22 +08:00
FengJungle ff38625946 add markdown format for factoryMethod 2021-09-09 22:23:55 +08:00
Qiangguo Feng 240ad2d2fd
Update 01.SimpleFactory.md 2021-09-09 11:36:33 +08:00
Qiangguo Feng bee81868ea
Update 01.SimpleFactory.md
adjust markdown doc format
2021-09-09 11:36:10 +08:00
Qiangguo Feng 4adda6b931
Update 01.SimpleFactory.md 2021-09-09 11:35:43 +08:00
FengJungle 05577cf1c1 add markdown format for 01.SimpleFactory 2021-09-08 22:35:02 +08:00
Qiangguo Feng a258575e07
Update README.md 2021-09-07 13:30:23 +08:00
Qiangguo Feng b7b878eabf
Merge pull request #4 from ichdream/dp-ich
改用shared_ptr统一管理对象
2021-09-07 13:26:14 +08:00
ichdream 92a17eed14 类和应用对象管理统一改为shared_ptr 2021-08-30 22:19:44 +08:00
ichdream e3c2ea210e add .gitignore 2021-08-30 21:59:55 +08:00
ichdream 11e35f0589 增加项目管理工具配置Makefile文件 2021-08-30 21:57:31 +08:00
ichdream ea3ffad916 将fileencoding改为utf-8 2021-08-30 21:56:10 +08:00
ichdream 72a37f177a 改用shared_ptr统一管理对象 2021-08-30 20:13:41 +08:00
FengJungle 74259dea27 add some info into README.md 2021-04-04 21:22:03 +08:00
FengJungle 5b21352028 fix vitual base classes issues: add virtual destruct functions. 2021-04-04 21:09:08 +08:00
FengJungle 80c928a497 fix memory leak 2020-11-29 15:28:46 +08:00
FengJungle ed859f709e fix memory leak part 3 2020-11-29 13:40:29 +08:00
FengJungle b287aed6cc fix memory leak part 2 2020-11-29 11:17:40 +08:00
FengJungle c77d3d9a0c Refine memory leak 1 2020-11-29 10:02:40 +08:00
FengJungle 8f767aa8b8 add Visitor Pattern 2019-11-10 22:59:08 +08:00
FengJungle 3237803068 add Template Method Pattern 2019-11-10 10:50:30 +08:00
FengJungle d12d406ed1 add Strategy Pattern 2019-11-09 21:25:30 +08:00
FengJungle ba025cb044 add State Pattern 2019-11-09 10:41:43 +08:00
FengJungle 3b7a291d50 add Observer Pattern 2019-11-06 21:36:28 +08:00
FengJungle ea62a3b182 add Memento Pattern 2019-11-05 22:47:55 +08:00
FengJungle ea451138ef add Mediator Pattern 2019-11-04 07:46:24 +08:00
FengJungle 16faa3a386 add Iterator Pattern 2019-11-03 14:20:17 +08:00
FengJungle 7336d1f918 add Interpreter Pattern 2019-11-02 22:33:36 +08:00
FengJungle b8f48984ab add Command Pattern 2019-10-30 22:54:41 +08:00
FengJungle bf547ae8be add Chain-of-Responsibility Pattern 2019-10-29 22:14:19 +08:00
FengJungle e2135a6368 add Flyweight Pattern 2019-10-27 15:58:03 +08:00
FengJungle 8f0450d820 add Facade Pattern 2019-10-26 15:43:05 +08:00
FengJungle 6139398629 modify the names of folders 2019-10-25 00:06:52 +08:00
FengJungle c0ab6ab5fe add Decorator Pattern 2019-10-25 00:02:47 +08:00
FengJungle be358a9bd3 modify a picture 2019-10-24 21:34:07 +08:00
FengJungle bff93d45dc add Composite Pattern 2019-10-24 21:29:32 +08:00
FengJungle 594054237d add Composite Pattern 2019-10-24 08:32:55 +08:00
FengJungle deca28dddb add Bridge Pattern 2019-10-23 22:19:36 +08:00
FengJungle bb9400b945 add AdapterPattern 2019-10-22 08:24:54 +08:00
FengJungle 72d156e4c0 Update delete files 2019-10-20 19:00:21 +08:00
FengJungle 28da931795 add Singleton Pattern 2019-10-20 18:58:33 +08:00
FengJungle c41599e6f5 Merge branch 'master' of https://github.com/FengJungle/DesignPattern 2019-10-20 18:55:50 +08:00