+
+ void get_state_as_xml(std::stringstream &out) {
+ out << "\t<logic name=\"" << name << "\">" << std::endl;
+ out << "\t\t<active>" << ((get_output())?"true":"false") << "</active>" << std::endl;
+ out << "\t</logic>" << std::endl;
+ }
+
+ void set_name(const std::string &_name) { name = _name; }
+ std::string get_name() { return name; }
+protected:
+ std::string name;