17 #ifndef HLIDAC_PES_XML_WRITER_H
18 #define HLIDAC_PES_XML_WRITER_H
39 Indent(
const uint32_t& indent) : mIndent(indent) { }
67 void writeXmlFile(std::string filename = Settings::OUTPUT_FILE);
void writeRobotXmlPart(std::ostream &out, Robot *robot, const uint32_t &robotId, uint32_t length)
It writes a part of the xml file corresponding to one robot.
void writeCollisionsXmlPart(std::ostream &out, RoboticLine *line, uint32_t length)
It writes a part of the xml file corresponding to the spatial collisions.
std::ostream & operator<<(std::ostream &out, const Indent &indent)
It writes the white space to the output. It is an auxiliary method for XmlWriter class.
Instance of the class includes all the data structures and methods related to a robot.
void writeDynamicActivityXmlPart(std::ostream &out, DynamicActivity *a, uint32_t length)
It writes a part of the xml file corresponding to one dynamic activity.
Collection of movements between two static activities.
void writeInstanceXmlPart(std::ostream &out, RoboticLine *line, const uint32_t &lineId, uint32_t length)
It writes a part of the xml file corresponding to one robotic cell.
void writeXmlFile(std::string filename=Settings::OUTPUT_FILE)
It transforms the instances of the robotic cells to the form of the xml file.
Collection of locations in which a robot operation can be performed.
std::vector< RoboticLine * > mLines
Robotic cells to be written to the xml file.
XmlWriter(const std::vector< RoboticLine * > &lines)
It initialises the XmlWriter instance by the given robotic cells.
It declares the namespace for program settings.
Auxiliary structure corresponding to the tabulator in an xml file.
void writeInterRobotOperationsXmlPart(std::ostream &out, RoboticLine *line, uint32_t length)
It writes a part of the xml file corresponding to the inter-robot operations.
It writes problem instances to the xml file.
The robotic cell corresponds to an instance of this class.
The file contains various classes devoted to abstract representation of the robotic cell...
void writeStaticActivityXmlPart(std::ostream &out, StaticActivity *a, uint32_t length)
It writes a part of the xml file corresponding to one static activity.