67 static constexpr const char*
s_tag{
"clear_all_maps_RPC"};
71 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::clear_all_maps_RPC()"};
72 static constexpr const char*
s_help{
""};
130 static constexpr const char*
s_tag{
"store_map_RPC"};
134 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::store_map_RPC(const yarp::dev::Nav2D::MapGrid2D& themap)"};
193 static constexpr const char*
s_tag{
"get_map_RPC"};
197 static constexpr const char*
s_prototype{
"return_get_map IMap2DMsgs::get_map_RPC(const std::string& map_name)"};
251 static constexpr const char*
s_tag{
"get_map_names_RPC"};
255 static constexpr const char*
s_prototype{
"return_get_map_names IMap2DMsgs::get_map_names_RPC()"};
314 static constexpr const char*
s_tag{
"remove_map_RPC"};
318 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::remove_map_RPC(const std::string& map_name)"};
378 static constexpr const char*
s_tag{
"store_location_RPC"};
382 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::store_location_RPC(const std::string& location_name, const yarp::dev::Nav2D::Map2DLocation& loc)"};
442 static constexpr const char*
s_tag{
"store_area_RPC"};
446 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::store_area_RPC(const std::string& area_name, const yarp::dev::Nav2D::Map2DArea& area)"};
506 static constexpr const char*
s_tag{
"store_path_RPC"};
510 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::store_path_RPC(const std::string& path_name, const yarp::dev::Nav2D::Map2DPath& path)"};
569 static constexpr const char*
s_tag{
"get_location_RPC"};
573 static constexpr const char*
s_prototype{
"return_get_location IMap2DMsgs::get_location_RPC(const std::string& location_name)"};
632 static constexpr const char*
s_tag{
"get_area_RPC"};
636 static constexpr const char*
s_prototype{
"return_get_area IMap2DMsgs::get_area_RPC(const std::string& area_name)"};
695 static constexpr const char*
s_tag{
"get_path_RPC"};
699 static constexpr const char*
s_prototype{
"return_get_path IMap2DMsgs::get_path_RPC(const std::string& path_name)"};
753 static constexpr const char*
s_tag{
"get_locations_list_RPC"};
757 static constexpr const char*
s_prototype{
"return_get_locations_list IMap2DMsgs::get_locations_list_RPC()"};
811 static constexpr const char*
s_tag{
"get_areas_list_RPC"};
815 static constexpr const char*
s_prototype{
"return_get_areas_list IMap2DMsgs::get_areas_list_RPC()"};
869 static constexpr const char*
s_tag{
"get_paths_list_RPC"};
873 static constexpr const char*
s_prototype{
"return_get_paths_list IMap2DMsgs::get_paths_list_RPC()"};
927 static constexpr const char*
s_tag{
"get_all_locations_RPC"};
931 static constexpr const char*
s_prototype{
"return_get_all_locations IMap2DMsgs::get_all_locations_RPC()"};
985 static constexpr const char*
s_tag{
"get_all_areas_RPC"};
989 static constexpr const char*
s_prototype{
"return_get_all_areas IMap2DMsgs::get_all_areas_RPC()"};
1043 static constexpr const char*
s_tag{
"get_all_paths_RPC"};
1047 static constexpr const char*
s_prototype{
"return_get_all_paths IMap2DMsgs::get_all_paths_RPC()"};
1101 using funcptr_t = bool (*)(
const std::string&,
const std::string&);
1107 static constexpr const char*
s_tag{
"rename_location_RPC"};
1111 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::rename_location_RPC(const std::string& original_name, const std::string& new_name)"};
1170 static constexpr const char*
s_tag{
"delete_location_RPC"};
1174 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::delete_location_RPC(const std::string& location_name)"};
1233 static constexpr const char*
s_tag{
"delete_path_RPC"};
1237 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::delete_path_RPC(const std::string& path_name)"};
1291 using funcptr_t = bool (*)(
const std::string&,
const std::string&);
1297 static constexpr const char*
s_tag{
"rename_area_RPC"};
1301 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::rename_area_RPC(const std::string& original_name, const std::string& new_name)"};
1355 using funcptr_t = bool (*)(
const std::string&,
const std::string&);
1361 static constexpr const char*
s_tag{
"rename_path_RPC"};
1365 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::rename_path_RPC(const std::string& original_name, const std::string& new_name)"};
1424 static constexpr const char*
s_tag{
"delete_area_RPC"};
1428 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::delete_area_RPC(const std::string& area_name)"};
1482 static constexpr const char*
s_tag{
"clear_all_locations_RPC"};
1486 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::clear_all_locations_RPC()"};
1540 static constexpr const char*
s_tag{
"clear_all_areas_RPC"};
1544 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::clear_all_areas_RPC()"};
1598 static constexpr const char*
s_tag{
"clear_all_paths_RPC"};
1602 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::clear_all_paths_RPC()"};
1656 static constexpr const char*
s_tag{
"clear_all_maps_temporary_flags_RPC"};
1660 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::clear_all_maps_temporary_flags_RPC()"};
1719 static constexpr const char*
s_tag{
"clear_map_temporary_flags_RPC"};
1723 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::clear_map_temporary_flags_RPC(const std::string& map_name)"};
1782 static constexpr const char*
s_tag{
"save_maps_collection_RPC"};
1786 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::save_maps_collection_RPC(const std::string& maps_collection_file)"};
1845 static constexpr const char*
s_tag{
"load_maps_collection_RPC"};
1849 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::load_maps_collection_RPC(const std::string& maps_collection_file)"};
1908 static constexpr const char*
s_tag{
"save_locations_and_extras_RPC"};
1912 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::save_locations_and_extras_RPC(const std::string& locations_collection_file)"};
1971 static constexpr const char*
s_tag{
"load_locations_and_extras_RPC"};
1975 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::load_locations_and_extras_RPC(const std::string& locations_collection_file)"};
2029 using funcptr_t = bool (*)(
const std::string&,
const std::string&);
2035 static constexpr const char*
s_tag{
"save_map_to_disk_RPC"};
2039 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::save_map_to_disk_RPC(const std::string& map_name, const std::string& file_name)"};
2098 static constexpr const char*
s_tag{
"load_map_from_disk_RPC"};
2102 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::load_map_from_disk_RPC(const std::string& file_name)"};
2161 static constexpr const char*
s_tag{
"enable_maps_compression_RPC"};
2165 static constexpr const char*
s_prototype{
"bool IMap2DMsgs::enable_maps_compression_RPC(const bool enable_compression)"};
2186 return write(writer);
2196 return read(reader);
2201 if (!writeTag(writer)) {
2204 if (!writeArgs(writer)) {
2225 if (!readTag(reader)) {
2228 if (!readArgs(reader)) {
2259 return write(writer);
2265 return read(reader);
2290 if (!reader.
readBool(return_helper)) {
2329 return write(writer);
2339 return read(reader);
2344 if (!writeTag(writer)) {
2347 if (!writeArgs(writer)) {
2371 if (!readTag(reader)) {
2374 if (!readArgs(reader)) {
2413 return write(writer);
2419 return read(reader);
2444 if (!reader.
readBool(return_helper)) {
2483 return write(writer);
2493 return read(reader);
2498 if (!writeTag(writer)) {
2501 if (!writeArgs(writer)) {
2525 if (!readTag(reader)) {
2528 if (!readArgs(reader)) {
2567 return write(writer);
2573 return read(reader);
2582 if (!writer.
write(return_helper)) {
2598 if (!reader.
read(return_helper)) {
2627 return write(writer);
2637 return read(reader);
2642 if (!writeTag(writer)) {
2645 if (!writeArgs(writer)) {
2666 if (!readTag(reader)) {
2669 if (!readArgs(reader)) {
2700 return write(writer);
2706 return read(reader);
2715 if (!writer.
write(return_helper)) {
2731 if (!reader.
read(return_helper)) {
2770 return write(writer);
2780 return read(reader);
2785 if (!writeTag(writer)) {
2788 if (!writeArgs(writer)) {
2812 if (!readTag(reader)) {
2815 if (!readArgs(reader)) {
2854 return write(writer);
2860 return read(reader);
2885 if (!reader.
readBool(return_helper)) {
2899 cmd{location_name, loc}
2914 location_name{location_name},
2925 return write(writer);
2935 return read(reader);
2940 if (!writeTag(writer)) {
2943 if (!writeArgs(writer)) {
2970 if (!readTag(reader)) {
2973 if (!readArgs(reader)) {
3020 return write(writer);
3026 return read(reader);
3051 if (!reader.
readBool(return_helper)) {
3065 cmd{area_name, area}
3080 area_name{area_name},
3091 return write(writer);
3101 return read(reader);
3106 if (!writeTag(writer)) {
3109 if (!writeArgs(writer)) {
3136 if (!readTag(reader)) {
3139 if (!readArgs(reader)) {
3186 return write(writer);
3192 return read(reader);
3217 if (!reader.
readBool(return_helper)) {
3231 cmd{path_name, path}
3246 path_name{path_name},
3257 return write(writer);
3267 return read(reader);
3272 if (!writeTag(writer)) {
3275 if (!writeArgs(writer)) {
3302 if (!readTag(reader)) {
3305 if (!readArgs(reader)) {
3352 return write(writer);
3358 return read(reader);
3383 if (!reader.
readBool(return_helper)) {
3412 location_name{location_name}
3422 return write(writer);
3432 return read(reader);
3437 if (!writeTag(writer)) {
3440 if (!writeArgs(writer)) {
3464 if (!readTag(reader)) {
3467 if (!readArgs(reader)) {
3506 return write(writer);
3512 return read(reader);
3521 if (!writer.
write(return_helper)) {
3537 if (!reader.
read(return_helper)) {
3566 area_name{area_name}
3576 return write(writer);
3586 return read(reader);
3591 if (!writeTag(writer)) {
3594 if (!writeArgs(writer)) {
3618 if (!readTag(reader)) {
3621 if (!readArgs(reader)) {
3660 return write(writer);
3666 return read(reader);
3675 if (!writer.
write(return_helper)) {
3691 if (!reader.
read(return_helper)) {
3720 path_name{path_name}
3730 return write(writer);
3740 return read(reader);
3745 if (!writeTag(writer)) {
3748 if (!writeArgs(writer)) {
3772 if (!readTag(reader)) {
3775 if (!readArgs(reader)) {
3814 return write(writer);
3820 return read(reader);
3829 if (!writer.
write(return_helper)) {
3845 if (!reader.
read(return_helper)) {
3874 return write(writer);
3884 return read(reader);
3889 if (!writeTag(writer)) {
3892 if (!writeArgs(writer)) {
3913 if (!readTag(reader)) {
3916 if (!readArgs(reader)) {
3947 return write(writer);
3953 return read(reader);
3962 if (!writer.
write(return_helper)) {
3978 if (!reader.
read(return_helper)) {
4007 return write(writer);
4017 return read(reader);
4022 if (!writeTag(writer)) {
4025 if (!writeArgs(writer)) {
4046 if (!readTag(reader)) {
4049 if (!readArgs(reader)) {
4080 return write(writer);
4086 return read(reader);
4095 if (!writer.
write(return_helper)) {
4111 if (!reader.
read(return_helper)) {
4140 return write(writer);
4150 return read(reader);
4155 if (!writeTag(writer)) {
4158 if (!writeArgs(writer)) {
4179 if (!readTag(reader)) {
4182 if (!readArgs(reader)) {
4213 return write(writer);
4219 return read(reader);
4228 if (!writer.
write(return_helper)) {
4244 if (!reader.
read(return_helper)) {
4273 return write(writer);
4283 return read(reader);
4288 if (!writeTag(writer)) {
4291 if (!writeArgs(writer)) {
4312 if (!readTag(reader)) {
4315 if (!readArgs(reader)) {
4346 return write(writer);
4352 return read(reader);
4361 if (!writer.
write(return_helper)) {
4377 if (!reader.
read(return_helper)) {
4406 return write(writer);
4416 return read(reader);
4421 if (!writeTag(writer)) {
4424 if (!writeArgs(writer)) {
4445 if (!readTag(reader)) {
4448 if (!readArgs(reader)) {
4479 return write(writer);
4485 return read(reader);
4494 if (!writer.
write(return_helper)) {
4510 if (!reader.
read(return_helper)) {
4539 return write(writer);
4549 return read(reader);
4554 if (!writeTag(writer)) {
4557 if (!writeArgs(writer)) {
4578 if (!readTag(reader)) {
4581 if (!readArgs(reader)) {
4612 return write(writer);
4618 return read(reader);
4627 if (!writer.
write(return_helper)) {
4643 if (!reader.
read(return_helper)) {
4657 cmd{original_name, new_name}
4672 original_name{original_name},
4683 return write(writer);
4693 return read(reader);
4698 if (!writeTag(writer)) {
4701 if (!writeArgs(writer)) {
4728 if (!readTag(reader)) {
4731 if (!readArgs(reader)) {
4778 return write(writer);
4784 return read(reader);
4809 if (!reader.
readBool(return_helper)) {
4838 location_name{location_name}
4848 return write(writer);
4858 return read(reader);
4863 if (!writeTag(writer)) {
4866 if (!writeArgs(writer)) {
4890 if (!readTag(reader)) {
4893 if (!readArgs(reader)) {
4932 return write(writer);
4938 return read(reader);
4963 if (!reader.
readBool(return_helper)) {
4992 path_name{path_name}
5002 return write(writer);
5012 return read(reader);
5017 if (!writeTag(writer)) {
5020 if (!writeArgs(writer)) {
5044 if (!readTag(reader)) {
5047 if (!readArgs(reader)) {
5086 return write(writer);
5092 return read(reader);
5117 if (!reader.
readBool(return_helper)) {
5131 cmd{original_name, new_name}
5146 original_name{original_name},
5157 return write(writer);
5167 return read(reader);
5172 if (!writeTag(writer)) {
5175 if (!writeArgs(writer)) {
5202 if (!readTag(reader)) {
5205 if (!readArgs(reader)) {
5252 return write(writer);
5258 return read(reader);
5283 if (!reader.
readBool(return_helper)) {
5297 cmd{original_name, new_name}
5312 original_name{original_name},
5323 return write(writer);
5333 return read(reader);
5338 if (!writeTag(writer)) {
5341 if (!writeArgs(writer)) {
5368 if (!readTag(reader)) {
5371 if (!readArgs(reader)) {
5418 return write(writer);
5424 return read(reader);
5449 if (!reader.
readBool(return_helper)) {
5478 area_name{area_name}
5488 return write(writer);
5498 return read(reader);
5503 if (!writeTag(writer)) {
5506 if (!writeArgs(writer)) {
5530 if (!readTag(reader)) {
5533 if (!readArgs(reader)) {
5572 return write(writer);
5578 return read(reader);
5603 if (!reader.
readBool(return_helper)) {
5632 return write(writer);
5642 return read(reader);
5647 if (!writeTag(writer)) {
5650 if (!writeArgs(writer)) {
5671 if (!readTag(reader)) {
5674 if (!readArgs(reader)) {
5705 return write(writer);
5711 return read(reader);
5736 if (!reader.
readBool(return_helper)) {
5765 return write(writer);
5775 return read(reader);
5780 if (!writeTag(writer)) {
5783 if (!writeArgs(writer)) {
5804 if (!readTag(reader)) {
5807 if (!readArgs(reader)) {
5838 return write(writer);
5844 return read(reader);
5869 if (!reader.
readBool(return_helper)) {
5898 return write(writer);
5908 return read(reader);
5913 if (!writeTag(writer)) {
5916 if (!writeArgs(writer)) {
5937 if (!readTag(reader)) {
5940 if (!readArgs(reader)) {
5971 return write(writer);
5977 return read(reader);
6002 if (!reader.
readBool(return_helper)) {
6031 return write(writer);
6041 return read(reader);
6046 if (!writeTag(writer)) {
6049 if (!writeArgs(writer)) {
6070 if (!readTag(reader)) {
6073 if (!readArgs(reader)) {
6104 return write(writer);
6110 return read(reader);
6135 if (!reader.
readBool(return_helper)) {
6174 return write(writer);
6184 return read(reader);
6189 if (!writeTag(writer)) {
6192 if (!writeArgs(writer)) {
6216 if (!readTag(reader)) {
6219 if (!readArgs(reader)) {
6258 return write(writer);
6264 return read(reader);
6289 if (!reader.
readBool(return_helper)) {
6303 cmd{maps_collection_file}
6318 maps_collection_file{maps_collection_file}
6328 return write(writer);
6338 return read(reader);
6343 if (!writeTag(writer)) {
6346 if (!writeArgs(writer)) {
6370 if (!readTag(reader)) {
6373 if (!readArgs(reader)) {
6398 if (!reader.
readString(maps_collection_file)) {
6412 return write(writer);
6418 return read(reader);
6443 if (!reader.
readBool(return_helper)) {
6457 cmd{maps_collection_file}
6472 maps_collection_file{maps_collection_file}
6482 return write(writer);
6492 return read(reader);
6497 if (!writeTag(writer)) {
6500 if (!writeArgs(writer)) {
6524 if (!readTag(reader)) {
6527 if (!readArgs(reader)) {
6552 if (!reader.
readString(maps_collection_file)) {
6566 return write(writer);
6572 return read(reader);
6597 if (!reader.
readBool(return_helper)) {
6611 cmd{locations_collection_file}
6626 locations_collection_file{locations_collection_file}
6636 return write(writer);
6646 return read(reader);
6651 if (!writeTag(writer)) {
6654 if (!writeArgs(writer)) {
6670 if (!writer.
writeString(locations_collection_file)) {
6678 if (!readTag(reader)) {
6681 if (!readArgs(reader)) {
6706 if (!reader.
readString(locations_collection_file)) {
6720 return write(writer);
6726 return read(reader);
6751 if (!reader.
readBool(return_helper)) {
6765 cmd{locations_collection_file}
6780 locations_collection_file{locations_collection_file}
6790 return write(writer);
6800 return read(reader);
6805 if (!writeTag(writer)) {
6808 if (!writeArgs(writer)) {
6824 if (!writer.
writeString(locations_collection_file)) {
6832 if (!readTag(reader)) {
6835 if (!readArgs(reader)) {
6860 if (!reader.
readString(locations_collection_file)) {
6874 return write(writer);
6880 return read(reader);
6905 if (!reader.
readBool(return_helper)) {
6919 cmd{map_name, file_name}
6935 file_name{file_name}
6945 return write(writer);
6955 return read(reader);
6960 if (!writeTag(writer)) {
6963 if (!writeArgs(writer)) {
6990 if (!readTag(reader)) {
6993 if (!readArgs(reader)) {
7040 return write(writer);
7046 return read(reader);
7071 if (!reader.
readBool(return_helper)) {
7100 file_name{file_name}
7110 return write(writer);
7120 return read(reader);
7125 if (!writeTag(writer)) {
7128 if (!writeArgs(writer)) {
7152 if (!readTag(reader)) {
7155 if (!readArgs(reader)) {
7194 return write(writer);
7200 return read(reader);
7225 if (!reader.
readBool(return_helper)) {
7239 cmd{enable_compression}
7254 enable_compression{enable_compression}
7264 return write(writer);
7274 return read(reader);
7279 if (!writeTag(writer)) {
7282 if (!writeArgs(writer)) {
7298 if (!writer.
writeBool(enable_compression)) {
7306 if (!readTag(reader)) {
7309 if (!readArgs(reader)) {
7334 if (!reader.
readBool(enable_compression)) {
7348 return write(writer);
7354 return read(reader);
7379 if (!reader.
readBool(return_helper)) {
7394 yarp().setOwner(*
this);
7399 if (!
yarp().canWrite()) {
7403 bool ok =
yarp().write(helper, helper);
7404 return ok ? helper.reply.return_helper :
bool{};
7409 if (!
yarp().canWrite()) {
7413 bool ok =
yarp().write(helper, helper);
7414 return ok ? helper.reply.return_helper :
bool{};
7419 if (!
yarp().canWrite()) {
7423 bool ok =
yarp().write(helper, helper);
7429 if (!
yarp().canWrite()) {
7433 bool ok =
yarp().write(helper, helper);
7439 if (!
yarp().canWrite()) {
7443 bool ok =
yarp().write(helper, helper);
7444 return ok ? helper.reply.return_helper :
bool{};
7449 if (!
yarp().canWrite()) {
7453 bool ok =
yarp().write(helper, helper);
7454 return ok ? helper.reply.return_helper :
bool{};
7459 if (!
yarp().canWrite()) {
7463 bool ok =
yarp().write(helper, helper);
7464 return ok ? helper.reply.return_helper :
bool{};
7469 if (!
yarp().canWrite()) {
7473 bool ok =
yarp().write(helper, helper);
7474 return ok ? helper.reply.return_helper :
bool{};
7479 if (!
yarp().canWrite()) {
7483 bool ok =
yarp().write(helper, helper);
7489 if (!
yarp().canWrite()) {
7493 bool ok =
yarp().write(helper, helper);
7499 if (!
yarp().canWrite()) {
7503 bool ok =
yarp().write(helper, helper);
7509 if (!
yarp().canWrite()) {
7513 bool ok =
yarp().write(helper, helper);
7519 if (!
yarp().canWrite()) {
7523 bool ok =
yarp().write(helper, helper);
7529 if (!
yarp().canWrite()) {
7533 bool ok =
yarp().write(helper, helper);
7539 if (!
yarp().canWrite()) {
7543 bool ok =
yarp().write(helper, helper);
7549 if (!
yarp().canWrite()) {
7553 bool ok =
yarp().write(helper, helper);
7559 if (!
yarp().canWrite()) {
7563 bool ok =
yarp().write(helper, helper);
7569 if (!
yarp().canWrite()) {
7573 bool ok =
yarp().write(helper, helper);
7574 return ok ? helper.reply.return_helper :
bool{};
7579 if (!
yarp().canWrite()) {
7583 bool ok =
yarp().write(helper, helper);
7584 return ok ? helper.reply.return_helper :
bool{};
7589 if (!
yarp().canWrite()) {
7593 bool ok =
yarp().write(helper, helper);
7594 return ok ? helper.reply.return_helper :
bool{};
7599 if (!
yarp().canWrite()) {
7603 bool ok =
yarp().write(helper, helper);
7604 return ok ? helper.reply.return_helper :
bool{};
7609 if (!
yarp().canWrite()) {
7613 bool ok =
yarp().write(helper, helper);
7614 return ok ? helper.reply.return_helper :
bool{};
7619 if (!
yarp().canWrite()) {
7623 bool ok =
yarp().write(helper, helper);
7624 return ok ? helper.reply.return_helper :
bool{};
7629 if (!
yarp().canWrite()) {
7633 bool ok =
yarp().write(helper, helper);
7634 return ok ? helper.reply.return_helper :
bool{};
7639 if (!
yarp().canWrite()) {
7643 bool ok =
yarp().write(helper, helper);
7644 return ok ? helper.reply.return_helper :
bool{};
7649 if (!
yarp().canWrite()) {
7653 bool ok =
yarp().write(helper, helper);
7654 return ok ? helper.reply.return_helper :
bool{};
7659 if (!
yarp().canWrite()) {
7663 bool ok =
yarp().write(helper, helper);
7664 return ok ? helper.reply.return_helper :
bool{};
7669 if (!
yarp().canWrite()) {
7673 bool ok =
yarp().write(helper, helper);
7674 return ok ? helper.reply.return_helper :
bool{};
7679 if (!
yarp().canWrite()) {
7683 bool ok =
yarp().write(helper, helper);
7684 return ok ? helper.reply.return_helper :
bool{};
7689 if (!
yarp().canWrite()) {
7693 bool ok =
yarp().write(helper, helper);
7694 return ok ? helper.reply.return_helper :
bool{};
7699 if (!
yarp().canWrite()) {
7703 bool ok =
yarp().write(helper, helper);
7704 return ok ? helper.reply.return_helper :
bool{};
7709 if (!
yarp().canWrite()) {
7713 bool ok =
yarp().write(helper, helper);
7714 return ok ? helper.reply.return_helper :
bool{};
7719 if (!
yarp().canWrite()) {
7723 bool ok =
yarp().write(helper, helper);
7724 return ok ? helper.reply.return_helper :
bool{};
7729 if (!
yarp().canWrite()) {
7733 bool ok =
yarp().write(helper, helper);
7734 return ok ? helper.reply.return_helper :
bool{};
7739 if (!
yarp().canWrite()) {
7743 bool ok =
yarp().write(helper, helper);
7744 return ok ? helper.reply.return_helper :
bool{};
7750 bool showAll = (functionName ==
"--all");
7751 std::vector<std::string> helpString;
7753 helpString.emplace_back(
"*** Available commands:");
7789 helpString.emplace_back(
"help");
7896 if (functionName ==
"help") {
7897 helpString.emplace_back(
"std::vector<std::string> help(const std::string& functionName = \"--all\")");
7898 helpString.emplace_back(
"Return list of available commands, or help message for a specific function");
7899 helpString.emplace_back(
"@param functionName name of command for which to get a detailed description. If none or '--all' is provided, print list of available commands");
7900 helpString.emplace_back(
"@return list of strings (one string per line)");
7903 if (helpString.empty()) {
7904 helpString.emplace_back(
"Command not found");
7912 constexpr size_t max_tag_len = 6;
7922 std::string tag = reader.
readTag(1);
7923 bool direct = (tag ==
"__direct__");
7927 while (tag_len <= max_tag_len && !reader.
isError()) {
8453 if (tag ==
"help") {
8454 std::string functionName;
8456 functionName =
"--all";
8458 auto help_strings = help(functionName);
8464 if (!writer.
writeTag(
"many", 1, 0)) {
8470 for (
const auto& help_string : help_strings) {
8486 std::string next_tag = reader.
readTag(1);
8487 if (next_tag.empty()) {
8490 tag.append(
"_").append(next_tag);
8491 tag_len = std::count(tag.begin(), tag.end(),
'_') + 1;
~Command() override=default
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
static constexpr const char * s_tag
IMap2DMsgs_clear_all_areas_RPC_helper()=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_reply_len
static constexpr const char * s_prototype
static constexpr size_t s_tag_len
static constexpr size_t s_cmd_len
static constexpr const char * s_help
void call(IMap2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
IMap2DMsgs_clear_all_locations_RPC_helper()=default
static constexpr size_t s_reply_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
void call(IMap2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
static constexpr const char * s_prototype
static constexpr size_t s_tag_len
static constexpr size_t s_cmd_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
IMap2DMsgs_clear_all_maps_RPC_helper()=default
static constexpr const char * s_prototype
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
static constexpr size_t s_reply_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
static constexpr size_t s_tag_len
static constexpr const char * s_tag
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readTag(yarp::os::idl::WireReader &reader)
bool readArgs(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
IMap2DMsgs_clear_all_maps_temporary_flags_RPC_helper()=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_cmd_len
static constexpr const char * s_help
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_tag_len
static constexpr const char * s_prototype
static constexpr size_t s_reply_len
void call(IMap2DMsgs *ptr)
static constexpr const char * s_tag
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool readArgs(yarp::os::idl::WireReader &reader)
~Command() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_prototype
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
IMap2DMsgs_clear_all_paths_RPC_helper()=default
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
static constexpr const char * s_tag
static constexpr size_t s_reply_len
static constexpr size_t s_tag_len
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
static constexpr size_t s_tag_len
void call(IMap2DMsgs *ptr)
IMap2DMsgs_clear_map_temporary_flags_RPC_helper()=default
bool(*)(const std::string &) funcptr_t
static constexpr size_t s_reply_len
static constexpr const char * s_tag
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
bool(*)(const std::string &) funcptr_t
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
IMap2DMsgs_delete_area_RPC_helper()=default
void call(IMap2DMsgs *ptr)
static constexpr const char * s_tag
static constexpr const char * s_prototype
static constexpr size_t s_reply_len
static constexpr const char * s_help
static constexpr size_t s_tag_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
std::string location_name
~Command() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_tag_len
static constexpr const char * s_help
static constexpr size_t s_reply_len
static constexpr const char * s_prototype
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_cmd_len
void call(IMap2DMsgs *ptr)
static constexpr const char * s_tag
IMap2DMsgs_delete_location_RPC_helper()=default
bool(*)(const std::string &) funcptr_t
bool readTag(yarp::os::idl::WireReader &reader)
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
IMap2DMsgs_delete_path_RPC_helper()=default
static constexpr size_t s_cmd_len
void call(IMap2DMsgs *ptr)
static constexpr const char * s_prototype
static constexpr const char * s_tag
bool(*)(const std::string &) funcptr_t
static constexpr size_t s_reply_len
static constexpr const char * s_help
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_tag_len
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_prototype
bool(*)(const bool) funcptr_t
static constexpr size_t s_tag_len
IMap2DMsgs_enable_maps_compression_RPC_helper()=default
static constexpr const char * s_tag
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
static constexpr const char * s_help
static constexpr size_t s_reply_len
void call(IMap2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Reply() override=default
return_get_all_areas return_helper
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_prototype
static constexpr size_t s_tag_len
static constexpr size_t s_reply_len
static constexpr const char * s_help
void call(IMap2DMsgs *ptr)
return_get_all_areas(*)() funcptr_t
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_cmd_len
IMap2DMsgs_get_all_areas_RPC_helper()=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
return_get_all_locations return_helper
return_get_all_locations(*)() funcptr_t
static constexpr size_t s_reply_len
void call(IMap2DMsgs *ptr)
static constexpr size_t s_tag_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_prototype
IMap2DMsgs_get_all_locations_RPC_helper()=default
static constexpr const char * s_help
static constexpr size_t s_cmd_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_tag
~Command() override=default
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool readArgs(yarp::os::idl::WireReader &reader)
~Reply() override=default
return_get_all_paths return_helper
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
static constexpr size_t s_tag_len
static constexpr size_t s_cmd_len
IMap2DMsgs_get_all_paths_RPC_helper()=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
return_get_all_paths(*)() funcptr_t
static constexpr const char * s_prototype
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
static constexpr size_t s_reply_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
return_get_area return_helper
~Reply() override=default
static constexpr const char * s_prototype
static constexpr const char * s_tag
IMap2DMsgs_get_area_RPC_helper()=default
static constexpr size_t s_reply_len
return_get_area(*)(const std::string &) funcptr_t
static constexpr size_t s_tag_len
static constexpr size_t s_cmd_len
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
return_get_areas_list return_helper
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
IMap2DMsgs_get_areas_list_RPC_helper()=default
void call(IMap2DMsgs *ptr)
static constexpr size_t s_cmd_len
static constexpr const char * s_prototype
return_get_areas_list(*)() funcptr_t
static constexpr const char * s_tag
static constexpr size_t s_reply_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_tag_len
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
std::string location_name
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
return_get_location return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_reply_len
static constexpr const char * s_prototype
static constexpr size_t s_tag_len
static constexpr size_t s_cmd_len
return_get_location(*)(const std::string &) funcptr_t
IMap2DMsgs_get_location_RPC_helper()=default
static constexpr const char * s_help
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
void call(IMap2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
return_get_locations_list return_helper
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
void call(IMap2DMsgs *ptr)
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
static constexpr size_t s_reply_len
static constexpr const char * s_tag
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
IMap2DMsgs_get_locations_list_RPC_helper()=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
return_get_locations_list(*)() funcptr_t
static constexpr const char * s_help
static constexpr size_t s_tag_len
bool readTag(yarp::os::idl::WireReader &reader)
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
return_get_map return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_help
static constexpr size_t s_cmd_len
static constexpr const char * s_tag
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_prototype
static constexpr size_t s_tag_len
IMap2DMsgs_get_map_RPC_helper()=default
return_get_map(*)(const std::string &) funcptr_t
void call(IMap2DMsgs *ptr)
static constexpr size_t s_reply_len
~Command() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
return_get_map_names return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_reply_len
IMap2DMsgs_get_map_names_RPC_helper()=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
static constexpr const char * s_help
return_get_map_names(*)() funcptr_t
static constexpr size_t s_tag_len
static constexpr const char * s_prototype
static constexpr const char * s_tag
void call(IMap2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
return_get_path return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
void call(IMap2DMsgs *ptr)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_tag
IMap2DMsgs_get_path_RPC_helper()=default
return_get_path(*)(const std::string &) funcptr_t
static constexpr size_t s_reply_len
static constexpr const char * s_help
static constexpr size_t s_tag_len
static constexpr size_t s_cmd_len
static constexpr const char * s_prototype
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
return_get_paths_list return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
static constexpr const char * s_prototype
IMap2DMsgs_get_paths_list_RPC_helper()=default
return_get_paths_list(*)() funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
static constexpr const char * s_tag
static constexpr size_t s_reply_len
static constexpr size_t s_tag_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
std::string locations_collection_file
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_tag
IMap2DMsgs_load_locations_and_extras_RPC_helper()=default
static constexpr const char * s_prototype
static constexpr size_t s_reply_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_tag_len
bool(*)(const std::string &) funcptr_t
static constexpr size_t s_cmd_len
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
bool(*)(const std::string &) funcptr_t
static constexpr size_t s_reply_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
IMap2DMsgs_load_map_from_disk_RPC_helper()=default
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
static constexpr const char * s_prototype
static constexpr size_t s_tag_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
std::string maps_collection_file
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
static constexpr const char * s_help
static constexpr size_t s_tag_len
bool(*)(const std::string &) funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_prototype
static constexpr const char * s_tag
static constexpr size_t s_reply_len
void call(IMap2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
IMap2DMsgs_load_maps_collection_RPC_helper()=default
static constexpr size_t s_cmd_len
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
static constexpr size_t s_cmd_len
static constexpr size_t s_reply_len
static constexpr const char * s_help
void call(IMap2DMsgs *ptr)
IMap2DMsgs_remove_map_RPC_helper()=default
static constexpr const char * s_prototype
static constexpr size_t s_tag_len
bool(*)(const std::string &) funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
std::string original_name
~Command() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
static constexpr size_t s_tag_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_tag
static constexpr const char * s_prototype
IMap2DMsgs_rename_area_RPC_helper()=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool(*)(const std::string &, const std::string &) funcptr_t
static constexpr size_t s_cmd_len
static constexpr size_t s_reply_len
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
std::string original_name
bool readTag(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool(*)(const std::string &, const std::string &) funcptr_t
void call(IMap2DMsgs *ptr)
static constexpr const char * s_prototype
static constexpr const char * s_tag
static constexpr size_t s_tag_len
static constexpr size_t s_reply_len
static constexpr const char * s_help
IMap2DMsgs_rename_location_RPC_helper()=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
std::string original_name
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_help
void call(IMap2DMsgs *ptr)
static constexpr size_t s_tag_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_reply_len
IMap2DMsgs_rename_path_RPC_helper()=default
static constexpr size_t s_cmd_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
bool(*)(const std::string &, const std::string &) funcptr_t
static constexpr const char * s_prototype
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
std::string locations_collection_file
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_cmd_len
static constexpr const char * s_help
IMap2DMsgs_save_locations_and_extras_RPC_helper()=default
static constexpr size_t s_tag_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool(*)(const std::string &) funcptr_t
void call(IMap2DMsgs *ptr)
static constexpr const char * s_tag
static constexpr const char * s_prototype
static constexpr size_t s_reply_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
static constexpr size_t s_reply_len
bool(*)(const std::string &, const std::string &) funcptr_t
static constexpr size_t s_tag_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
IMap2DMsgs_save_map_to_disk_RPC_helper()=default
static constexpr size_t s_cmd_len
static constexpr const char * s_prototype
void call(IMap2DMsgs *ptr)
static constexpr const char * s_tag
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
std::string maps_collection_file
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
void call(IMap2DMsgs *ptr)
static constexpr size_t s_cmd_len
static constexpr const char * s_prototype
static constexpr const char * s_tag
static constexpr const char * s_help
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_reply_len
bool(*)(const std::string &) funcptr_t
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
IMap2DMsgs_save_maps_collection_RPC_helper()=default
static constexpr size_t s_tag_len
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::Nav2D::Map2DArea area
bool readArgs(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
static constexpr size_t s_reply_len
static constexpr size_t s_tag_len
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
static constexpr const char * s_help
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
void call(IMap2DMsgs *ptr)
bool(*)(const std::string &, const yarp::dev::Nav2D::Map2DArea &) funcptr_t
IMap2DMsgs_store_area_RPC_helper()=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
std::string location_name
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::Nav2D::Map2DLocation loc
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
static constexpr size_t s_reply_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
IMap2DMsgs_store_location_RPC_helper()=default
void call(IMap2DMsgs *ptr)
static constexpr const char * s_tag
static constexpr size_t s_tag_len
bool(*)(const std::string &, const yarp::dev::Nav2D::Map2DLocation &) funcptr_t
static constexpr const char * s_prototype
static constexpr const char * s_help
static constexpr size_t s_cmd_len
bool readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::Nav2D::MapGrid2D themap
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
bool(*)(const yarp::dev::Nav2D::MapGrid2D &) funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_prototype
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
void call(IMap2DMsgs *ptr)
IMap2DMsgs_store_map_RPC_helper()=default
static constexpr size_t s_tag_len
static constexpr const char * s_help
static constexpr size_t s_cmd_len
static constexpr size_t s_reply_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
yarp::dev::Nav2D::Map2DPath path
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool(*)(const std::string &, const yarp::dev::Nav2D::Map2DPath &) funcptr_t
static constexpr size_t s_tag_len
void call(IMap2DMsgs *ptr)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
IMap2DMsgs_store_path_RPC_helper()=default
static constexpr size_t s_cmd_len
static constexpr size_t s_reply_len
static constexpr const char * s_help
static constexpr const char * s_prototype
static constexpr const char * s_tag
virtual return_get_map_names get_map_names_RPC()
virtual bool rename_path_RPC(const std::string &original_name, const std::string &new_name)
virtual bool store_path_RPC(const std::string &path_name, const yarp::dev::Nav2D::Map2DPath &path)
virtual bool clear_all_areas_RPC()
virtual bool clear_all_paths_RPC()
virtual bool save_map_to_disk_RPC(const std::string &map_name, const std::string &file_name)
virtual bool store_map_RPC(const yarp::dev::Nav2D::MapGrid2D &themap)
virtual bool load_map_from_disk_RPC(const std::string &file_name)
virtual bool delete_location_RPC(const std::string &location_name)
virtual bool clear_all_maps_temporary_flags_RPC()
virtual return_get_all_areas get_all_areas_RPC()
virtual bool load_locations_and_extras_RPC(const std::string &locations_collection_file)
virtual bool clear_map_temporary_flags_RPC(const std::string &map_name)
virtual return_get_location get_location_RPC(const std::string &location_name)
virtual bool load_maps_collection_RPC(const std::string &maps_collection_file)
virtual bool delete_path_RPC(const std::string &path_name)
virtual return_get_areas_list get_areas_list_RPC()
virtual return_get_path get_path_RPC(const std::string &path_name)
virtual bool store_location_RPC(const std::string &location_name, const yarp::dev::Nav2D::Map2DLocation &loc)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool clear_all_maps_RPC()
virtual return_get_area get_area_RPC(const std::string &area_name)
virtual return_get_all_paths get_all_paths_RPC()
virtual return_get_map get_map_RPC(const std::string &map_name)
virtual return_get_paths_list get_paths_list_RPC()
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual bool remove_map_RPC(const std::string &map_name)
virtual return_get_locations_list get_locations_list_RPC()
virtual bool rename_location_RPC(const std::string &original_name, const std::string &new_name)
virtual bool save_locations_and_extras_RPC(const std::string &locations_collection_file)
virtual return_get_all_locations get_all_locations_RPC()
virtual bool save_maps_collection_RPC(const std::string &maps_collection_file)
virtual bool rename_area_RPC(const std::string &original_name, const std::string &new_name)
virtual bool store_area_RPC(const std::string &area_name, const yarp::dev::Nav2D::Map2DArea &area)
virtual bool clear_all_locations_RPC()
virtual bool enable_maps_compression_RPC(const bool enable_compression)
virtual bool delete_area_RPC(const std::string &area_name)
An interface for reading from a network connection.
An interface for writing to a network connection.
This is a base class for objects that can be both read from and be written to the YARP network.
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
IDL-friendly connection reader.
bool readNested(WirePortable &obj)
bool readString(std::string &str, bool *is_vocab=nullptr)
std::string readTag(size_t len=static_cast< size_t >(-1))
bool read(WirePortable &obj)
IDL-friendly connection writer.
bool writeBool(bool x, bool skip_tag=false) const
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeTag(const char *tag, int split, int len) const
bool writeString(const std::string &str, bool skip_tag=false) const
bool writeListEnd() const
bool writeNested(const WirePortable &obj) const
bool writeListBegin(int tag, size_t len) const
The main, catch-all namespace for YARP.