X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/b75b5632c75f245e59a00775ffbe0affdedf8b6c..d940cfcd9606fbf7fc82376260f3a63573fd3795:/Model/include/union.h?ds=sidebyside diff --git a/Model/include/union.h b/Model/include/union.h index 71a8791..b08bc23 100644 --- a/Model/include/union.h +++ b/Model/include/union.h @@ -14,9 +14,11 @@ public: virtual ~Union(); virtual void recieve_msg(int msg, IConector *who, void *data); - virtual void update(); + virtual void update(int dir=OUT); virtual void simulate(); protected: + int in_on_zero; + int in_ready; private: Union(const Union &):Transport("null") {} Union &operator = (const Union &) { return *this; }