25 controller_node = controller_node.
next_sibling(
"controller")) {
28 const std::string controller_name = controller_node.attribute(
"name").value();
29 const uint32_t controller_sequence = controller_node.attribute(
"sequence").as_uint();
36 std::set<road::SignId> signals;
39 const road::SignId signal_id = control_node.attribute(
"signalId").value();
42 signals.insert(signal_id);
const char_t * value() const
xml_node next_sibling() const
void CreateController(const ContId controller_id, const std::string controller_name, const uint32_t controller_sequence, const std::set< road::SignId > &&signals)
This file contains definitions of common data structures used in traffic manager. ...
xml_attribute attribute(const char_t *name) const
static void log_debug(Args &&...)
xml_node child(const char_t *name) const
static void Parse(const pugi::xml_document &xml, carla::road::MapBuilder &map_builder)
xml_object_range< xml_node_iterator > children() const