X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FGObjectsMVCFactory.h;h=b7459ddac502efa02c2b89247898742886e7ea14;hb=ec2a52ce6421274d0c446fd95a6b5aee4ebad53f;hp=3364bb4253cdc1c6cedc9b287d9ead448e859bdd;hpb=254bc264b6efd44aaf3e6bc1b43f8113bc3d6476;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.h index 3364bb4..b7459dd 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.h @@ -35,10 +35,11 @@ Version: $Revision$ * \brief Class bbtk::GObjectsMVCFactory : abstract black-box interface. */ -/** -* \class bbtk::GObjectsMVCFactory -* \brief -*/ +/**** +* Design and Developpement of BBTK GEditor +* Ricardo A Corredor J +* RaC - 2010 +****/ #ifndef __GObjectsMVCFactory_h__ #define __GObjectsMVCFactory_h__ @@ -63,7 +64,6 @@ Version: $Revision$ #include "GComplexBoxPortModel.h" - //Includes creaMaracasVisu //Includes std @@ -87,11 +87,15 @@ namespace bbtk ~GObjectsMVCFactory(); //Public methods + + // Singleton to access to the Factory static GObjectsMVCFactory* getInstance(); static void destroyInstance(); + // Access to the BBTK library to get the descriptor of a box with the package and box names BlackBoxDescriptor::Pointer getBlackBoxDescriptor(std::string packageName, std::string boxName); + // Creates the MVC of the graphical objects depending on the object type vtkGObjectView* createGObjectView(int type); GObjectController* createGObjectController(int type); GObjectModel* createGObjectModel(int type);