X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FGBlackBoxModel.h;h=c766dba08a26d75bcad5c949dd9213d80010ac24;hb=34bcc7054d714ab35dd9c0dae2b2f8a5c26f21b0;hp=87c47142b060230ab4df5b2929e30542fbe500c6;hpb=098558ac7780900858114a8ae01fe93847d67043;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.h b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.h index 87c4714..c766dba 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.h +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.h @@ -46,6 +46,7 @@ Version: $Revision$ //Includes same project #include "GlobalConstants.h" #include "GObjectModel.h" +#include "GPortModel.h" //Includes creaMaracasVisu @@ -68,19 +69,40 @@ namespace bbtk ~GBlackBoxModel(); //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); + + virtual std::string getStatusText(); + + bool isExecutable(); + void setExecutable(bool executable); + + std::vector getInputPorts(); + std::vector getOutputPorts(); + + void setValueToInputPort(int pos,std::string value); private: - //Attributes + //Private Attributes std::vector _inputs; std::vector _outputs; + bool _isExecutable; //Private Methods protected: + //Protected Attributes + std::string _bbtkPackage; + //Protected methods };