5 #include "logiccontrol.h"
11 class Not:public LogicControl {
13 Not():LogicControl(1,1) {}
16 virtual bool get_output() {
17 LogicControl *mi_entrada;
19 /* Si tengo alguien conectado */
20 if (in_list.begin() != in_list.end()) {
21 mi_entrada = (LogicControl *)(*in_list.begin());
22 mi_salida = !(mi_entrada->get_output());
25 std::cout << "NOT NO CONECTADO" << std::endl;