X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FGBlackBoxModel.h;h=000950c93a474d250142468763fa4bd321aa788d;hb=a6d479881eeb637cd06afa3b2177e430fa05571e;hp=87c47142b060230ab4df5b2929e30542fbe500c6;hpb=098558ac7780900858114a8ae01fe93847d67043;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.h b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.h index 87c4714..000950c 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,38 @@ 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(); private: - //Attributes + //Private Attributes std::vector _inputs; std::vector _outputs; + bool _isExecutable; //Private Methods protected: + //Protected Attributes + std::string _bbtkPackage; + //Protected methods };