]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.h
Updated Version with the moving of the objects updated and the background doesn't...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GBlackBoxModel.h
index 4c10551ef4e912b0c5fa5214e4cc860ed17a46d2..5da5e84019f3711813ea9d6095c7bd3c8c5dcda5 100644 (file)
@@ -46,15 +46,19 @@ Version:   $Revision$
 //Includes same project
 #include "GlobalConstants.h"
 #include "GObjectModel.h"
+#include "GPortModel.h"
 
 //Includes creaMaracasVisu
 
 //Includes std
 #include <iostream>
 
+
 namespace bbtk
 {
 
+       class GPortModel;
+
        class GBlackBoxModel : public GObjectModel 
        {
 
@@ -64,19 +68,32 @@ namespace bbtk
                GBlackBoxModel();
                ~GBlackBoxModel();
                
-               //Public methods
-               
+               //Public methods                
+               virtual void setInicPoint(double& x, double& y, double& z);
+               void addInputPort(GPortModel *inputport);
+               void addOutputPort(GPortModel *outputport);
+               int getNumInputPorts();
+               int getNumOutputPorts();
+               virtual void move(double xx,double yy,double zz);
+               GPortModel* getStartOutputPort();
+
+               std::string getBBTKPackage();
+               void setBBTKPackage(std::string obpackage);
 
        private:
 
-               //Attributes
+               //Private Attributes
+               std::vector<GPortModel*> _inputs;
+               std::vector<GPortModel*> _outputs;
 
-       
                //Private Methods
 
        protected:
-               //Protected methods
+               //Protected Attributes
+               std::string _bbtkPackage;
 
+               //Protected methods
+               
        };