]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Model/src/drainage.cpp
- Se arregla un poco la documentacion y se pasa el Doxyfile a nivel general (no
[z.facultad/75.42/plaqui.git] / Model / src / drainage.cpp
index 95c55e8c2bfbbefed375c2762cc4d026d167193b..80dc0101ec1a4a170f2d9dbd11df44e145430a71 100644 (file)
@@ -4,7 +4,7 @@
 
 using namespace PlaQui::Model;
 
-Drainage::Drainage(const std::string &_name):Drain(_name)
+Drainage::Drainage(const std::string &_name):Drain(_name),Control(_name)
 {
        in_slots = 1;
        out_slots = 0;
@@ -39,7 +39,6 @@ void Drainage::recieve_msg(int msg, IConector *who, void *data)
                case MSG_QUERY_MAX_FLOW_OUT:
                        // FIXME Hacer INFINITO !!!
                        actual_flow = *((float *)data);
-                       std::cout << "DD" << std::endl;
                        tmp = 999999;
                        who->recieve_msg(MSG_RESPONSE_MAX_FLOW, this, &tmp);
                        updated = true;