X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/b75b5632c75f245e59a00775ffbe0affdedf8b6c..f031c89fa8a00ea12ff7290569ec507f44402458:/Model/include/union.h 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; }