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