工厂模式
2022-01-23 14:55:05 8 举报
以相机为例
作者其他创作
大纲/内容
AbstractFactory<class AbstractProduct_t>
+CreateProduct():AbstractProduct_t*
BasicCamera
+ OpenCamera()
HikFactory
+CreateCamera()+CreateLen()
DaHuaCamera
HikCamera
BasicLen
+InstallLen()
+ OpenCamera():void
HikLen
+InstallLen():void
DaHuaFactory
+CreateCamera()
Factory
CameraFactory
0 条评论
下一页