X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/bd2c5ebb465f2265d618feefb66479e5259dcfaa..HEAD:/Model/include/logiccontrol.h?ds=inline diff --git a/Model/include/logiccontrol.h b/Model/include/logiccontrol.h index 3a56c65..e3c252e 100644 --- a/Model/include/logiccontrol.h +++ b/Model/include/logiccontrol.h @@ -42,6 +42,12 @@ public: */ bool is_operational() { return (in_list.begin() != in_list.end()); } + void get_state_as_xml(std::stringstream &out) { + out << "\t" << std::endl; + out << "\t\t" << ((get_output())?"true":"false") << "" << std::endl; + out << "\t" << std::endl; + } + void set_name(const std::string &_name) { name = _name; } std::string get_name() { return name; } protected: