]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/GObjectsMVCFactory.h
Feature #1347
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / GObjectsMVCFactory.h
index 606b0952ead28a06e4514ad432a5a476d6685687..099e7a652ae7b2fd1d8cb24d7ac923f81d51341b 100644 (file)
@@ -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 <ra.corredor67@uniandes.edu.co>
+* RaC - 2010
+****/
 
 #ifndef __GObjectsMVCFactory_h__
 #define __GObjectsMVCFactory_h__
@@ -63,7 +64,6 @@ Version:   $Revision$
 #include "GComplexBoxPortModel.h"
 
 
-
 //Includes creaMaracasVisu
 
 //Includes std
@@ -73,7 +73,6 @@ Version:   $Revision$
 #include <bbtkInterpreter.h>
 #include <bbtkFactory.h>
 #include <bbtkPackage.h>
-
 namespace bbtk
 {
 
@@ -87,23 +86,29 @@ 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);
 
+               //Public attributes
                Interpreter::Pointer _interpreter;
 
        private:
 
-               //Attributes
-               static GObjectsMVCFactory* instance;
-               
-
                //Private Methods
 
+               //Private Attributes
+               static GObjectsMVCFactory* instance;
+
 
        protected: