* \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__
#include "GComplexBoxPortModel.h"
-
//Includes creaMaracasVisu
//Includes std
#include <bbtkInterpreter.h>
#include <bbtkFactory.h>
#include <bbtkPackage.h>
-
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: