X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f7e6ba4976cdafcb4aa3e39b03539d5a3d12f6a4..2f5c973fdf3f7fb25b13996b66d566c58066f6a0:/Model/include/control.h?ds=sidebyside diff --git a/Model/include/control.h b/Model/include/control.h index 3763da9..35d55c2 100644 --- a/Model/include/control.h +++ b/Model/include/control.h @@ -19,6 +19,14 @@ public: /// Retorna un estado booleano dependiendo de su estado actual virtual bool get_output() = 0; + + /** Conecta una lógica de control a mi entrada */ + void connect_input_logic(LogicControl *); + /** Conecta una lógica de control a mi salida */ + void connect_output_logic(LogicControl *); + + LogicControl *get_logic_output() { return output; } + LogicControl *get_logic_input() { return input; } protected: LogicControl *input; LogicControl *output;