]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBoxModel.cxx
The actual version works with complex box automatic generated from selected boxes...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GBoxModel.cxx
index 0801e54007526b00185d2a8e86ef24c1df879b60..7f8f798330101348995f76815ae3a8e8e0acc976 100644 (file)
@@ -170,6 +170,20 @@ namespace bbtk
 
        //=========================================================================
 
+       GPortModel* GBoxModel::getInputPort(int pos)
+       {
+               return _inputs[pos];
+       }
+
+       //=========================================================================
+       
+       GPortModel* GBoxModel::getOutputPort(int pos)
+       {
+               return _outputs[pos];
+       }
+
+       //=========================================================================
+
        void GBoxModel::updatePorts()
        {
                for(int i = 0; i<_inputs.size();i++)