+ }, high_priority);\r
+ }\r
+\r
+ boost::unique_future<boost::property_tree::wptree> info()\r
+ {\r
+ return std::move(executor_.begin_invoke([&]() -> boost::property_tree::wptree\r
+ {\r
+ boost::property_tree::wptree info;\r
+ BOOST_FOREACH(auto& layer, layers_) \r
+ info.add_child(L"layers.layer", layer.second.info())\r
+ .add(L"index", layer.first); \r
+ return info;\r
+ }, high_priority));\r
+ }\r
+\r
+ boost::unique_future<boost::property_tree::wptree> info(int index)\r
+ {\r
+ return std::move(executor_.begin_invoke([&]() -> boost::property_tree::wptree\r
+ {\r
+ return layers_[index].info();\r
+ }, high_priority));\r