|
@@ -468,7 +468,7 @@ namespace robotics {
|
|
item.key = it.second.get<std::string>("<xmlattr>.key", "");
|
|
item.key = it.second.get<std::string>("<xmlattr>.key", "");
|
|
item.route = it.second.get<std::string>("<xmlattr>.route", "");
|
|
item.route = it.second.get<std::string>("<xmlattr>.route", "");
|
|
item.enable = it.second.get<bool>("<xmlattr>.enable", false);
|
|
item.enable = it.second.get<bool>("<xmlattr>.enable", false);
|
|
- item.remarks = it.second.get<std::string>("<xmlattr>.remarks", "白名单");
|
|
|
|
|
|
+ item.remarks = it.second.get<std::string>("<xmlattr>.remarks", "白名单");//白名单
|
|
result->subscribes[item.key] = item;
|
|
result->subscribes[item.key] = item;
|
|
}
|
|
}
|
|
//发布
|
|
//发布
|
|
@@ -479,7 +479,7 @@ namespace robotics {
|
|
item.key = it.second.get<std::string>("<xmlattr>.key", "");
|
|
item.key = it.second.get<std::string>("<xmlattr>.key", "");
|
|
item.route = it.second.get<std::string>("<xmlattr>.route", "");
|
|
item.route = it.second.get<std::string>("<xmlattr>.route", "");
|
|
item.enable = it.second.get<bool>("<xmlattr>.enable", false);
|
|
item.enable = it.second.get<bool>("<xmlattr>.enable", false);
|
|
- item.remarks = it.second.get<std::string>("<xmlattr>.remarks", "白名单");
|
|
|
|
|
|
+ item.remarks = it.second.get<std::string>("<xmlattr>.remarks", "白名单");//白名单
|
|
result->publishers[item.key] = item;
|
|
result->publishers[item.key] = item;
|
|
}
|
|
}
|
|
return *result;
|
|
return *result;
|