X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/48227aedaabfe971362c80f5f9eb4be29e2a64ed..acf9258bf769e7a5c87adb453945943770a2d6b8:/Model/include/elementoplanta.h?ds=sidebyside diff --git a/Model/include/elementoplanta.h b/Model/include/elementoplanta.h index 502c265..82a3031 100644 --- a/Model/include/elementoplanta.h +++ b/Model/include/elementoplanta.h @@ -3,6 +3,7 @@ #ifndef _ELEMENTO_PLANTA_H_ #define _ELEMENTO_PLANTA_H_ +#include #include "iconector.h" #include "rgb.h" @@ -11,7 +12,8 @@ namespace PlaQui { class ElementoPlanta:public IConector { public: /// Constructor - ElementoPlanta(); + ElementoPlanta(const std::string &_name); + ElementoPlanta(unsigned ins, unsigned outs); virtual ~ElementoPlanta(); // FIXME: ver que parametros seran necesarios @@ -38,6 +40,12 @@ public: }; protected: RGB fluid_color; + std::string name; + +private: + // Hago que no se puedan copiar objetos ElementosPlanta + ElementoPlanta(const ElementoPlanta &):IConector(0,0) {} + ElementoPlanta &operator = (const ElementoPlanta &) { return (*this); } }; }