43 if (!writer.
writeString(
"getRemoteProtocolVersion")) {
57 if (!helper_proto.read(connection)) {
67 if(!
yarp().canWrite()) {
68 yError(
" Missing server method IMap2DMsgs::getRemoteProtocolVersion");
73 return helper.helper_proto;}
84 if (remproto.protocol_version != locproto.protocol_version)
86 yCError(SERVICE_LOG_COMPONENT) <<
"Invalid communication protocol.";
87 yCError(SERVICE_LOG_COMPONENT) <<
"Local Protocol Version: " << locproto.toString();
88 yCError(SERVICE_LOG_COMPONENT) <<
"Remote Protocol Version: " << remproto.toString();
158 static constexpr const char*
s_tag{
"clear_all_maps_RPC"};
162 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::clear_all_maps_RPC()"};
221 static constexpr const char*
s_tag{
"store_map_RPC"};
225 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::store_map_RPC(const yarp::dev::Nav2D::MapGrid2D& themap)"};
284 static constexpr const char*
s_tag{
"get_map_RPC"};
288 static constexpr const char*
s_prototype{
"return_get_map IMap2DMsgs::get_map_RPC(const std::string& map_name)"};
342 static constexpr const char*
s_tag{
"get_map_names_RPC"};
346 static constexpr const char*
s_prototype{
"return_get_map_names IMap2DMsgs::get_map_names_RPC()"};
405 static constexpr const char*
s_tag{
"remove_map_RPC"};
409 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::remove_map_RPC(const std::string& map_name)"};
469 static constexpr const char*
s_tag{
"store_object_RPC"};
473 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::store_object_RPC(const std::string& object_name, const yarp::dev::Nav2D::Map2DObject& loc)"};
533 static constexpr const char*
s_tag{
"store_location_RPC"};
537 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::store_location_RPC(const std::string& location_name, const yarp::dev::Nav2D::Map2DLocation& loc)"};
597 static constexpr const char*
s_tag{
"store_area_RPC"};
601 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::store_area_RPC(const std::string& area_name, const yarp::dev::Nav2D::Map2DArea& area)"};
661 static constexpr const char*
s_tag{
"store_path_RPC"};
665 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::store_path_RPC(const std::string& path_name, const yarp::dev::Nav2D::Map2DPath& path)"};
724 static constexpr const char*
s_tag{
"get_object_RPC"};
728 static constexpr const char*
s_prototype{
"return_get_object IMap2DMsgs::get_object_RPC(const std::string& object_name)"};
787 static constexpr const char*
s_tag{
"get_location_RPC"};
791 static constexpr const char*
s_prototype{
"return_get_location IMap2DMsgs::get_location_RPC(const std::string& location_name)"};
850 static constexpr const char*
s_tag{
"get_area_RPC"};
854 static constexpr const char*
s_prototype{
"return_get_area IMap2DMsgs::get_area_RPC(const std::string& area_name)"};
913 static constexpr const char*
s_tag{
"get_path_RPC"};
917 static constexpr const char*
s_prototype{
"return_get_path IMap2DMsgs::get_path_RPC(const std::string& path_name)"};
971 static constexpr const char*
s_tag{
"get_objects_list_RPC"};
975 static constexpr const char*
s_prototype{
"return_get_objects_list IMap2DMsgs::get_objects_list_RPC()"};
1029 static constexpr const char*
s_tag{
"get_locations_list_RPC"};
1033 static constexpr const char*
s_prototype{
"return_get_locations_list IMap2DMsgs::get_locations_list_RPC()"};
1087 static constexpr const char*
s_tag{
"get_areas_list_RPC"};
1091 static constexpr const char*
s_prototype{
"return_get_areas_list IMap2DMsgs::get_areas_list_RPC()"};
1145 static constexpr const char*
s_tag{
"get_paths_list_RPC"};
1149 static constexpr const char*
s_prototype{
"return_get_paths_list IMap2DMsgs::get_paths_list_RPC()"};
1203 static constexpr const char*
s_tag{
"get_all_objects_RPC"};
1207 static constexpr const char*
s_prototype{
"return_get_all_objects IMap2DMsgs::get_all_objects_RPC()"};
1261 static constexpr const char*
s_tag{
"get_all_locations_RPC"};
1265 static constexpr const char*
s_prototype{
"return_get_all_locations IMap2DMsgs::get_all_locations_RPC()"};
1319 static constexpr const char*
s_tag{
"get_all_areas_RPC"};
1323 static constexpr const char*
s_prototype{
"return_get_all_areas IMap2DMsgs::get_all_areas_RPC()"};
1377 static constexpr const char*
s_tag{
"get_all_paths_RPC"};
1381 static constexpr const char*
s_prototype{
"return_get_all_paths IMap2DMsgs::get_all_paths_RPC()"};
1441 static constexpr const char*
s_tag{
"rename_location_RPC"};
1445 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::rename_location_RPC(const std::string& original_name, const std::string& new_name)"};
1504 static constexpr const char*
s_tag{
"delete_object_RPC"};
1508 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::delete_object_RPC(const std::string& object_name)"};
1567 static constexpr const char*
s_tag{
"delete_location_RPC"};
1571 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::delete_location_RPC(const std::string& location_name)"};
1630 static constexpr const char*
s_tag{
"delete_path_RPC"};
1634 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::delete_path_RPC(const std::string& path_name)"};
1694 static constexpr const char*
s_tag{
"rename_object_RPC"};
1698 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::rename_object_RPC(const std::string& original_name, const std::string& new_name)"};
1758 static constexpr const char*
s_tag{
"rename_area_RPC"};
1762 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::rename_area_RPC(const std::string& original_name, const std::string& new_name)"};
1822 static constexpr const char*
s_tag{
"rename_path_RPC"};
1826 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::rename_path_RPC(const std::string& original_name, const std::string& new_name)"};
1885 static constexpr const char*
s_tag{
"delete_area_RPC"};
1889 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::delete_area_RPC(const std::string& area_name)"};
1943 static constexpr const char*
s_tag{
"clear_all_objects_RPC"};
1947 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::clear_all_objects_RPC()"};
2001 static constexpr const char*
s_tag{
"clear_all_locations_RPC"};
2005 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::clear_all_locations_RPC()"};
2059 static constexpr const char*
s_tag{
"clear_all_areas_RPC"};
2063 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::clear_all_areas_RPC()"};
2117 static constexpr const char*
s_tag{
"clear_all_paths_RPC"};
2121 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::clear_all_paths_RPC()"};
2175 static constexpr const char*
s_tag{
"clear_all_maps_temporary_flags_RPC"};
2179 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::clear_all_maps_temporary_flags_RPC()"};
2238 static constexpr const char*
s_tag{
"clear_map_temporary_flags_RPC"};
2242 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::clear_map_temporary_flags_RPC(const std::string& map_name)"};
2301 static constexpr const char*
s_tag{
"save_maps_collection_RPC"};
2305 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::save_maps_collection_RPC(const std::string& maps_collection_file)"};
2364 static constexpr const char*
s_tag{
"load_maps_collection_RPC"};
2368 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::load_maps_collection_RPC(const std::string& maps_collection_file)"};
2427 static constexpr const char*
s_tag{
"save_locations_and_extras_RPC"};
2431 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::save_locations_and_extras_RPC(const std::string& locations_collection_file)"};
2490 static constexpr const char*
s_tag{
"load_locations_and_extras_RPC"};
2494 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::load_locations_and_extras_RPC(const std::string& locations_collection_file)"};
2554 static constexpr const char*
s_tag{
"save_map_to_disk_RPC"};
2558 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::save_map_to_disk_RPC(const std::string& map_name, const std::string& file_name)"};
2617 static constexpr const char*
s_tag{
"load_map_from_disk_RPC"};
2621 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::load_map_from_disk_RPC(const std::string& file_name)"};
2680 static constexpr const char*
s_tag{
"enable_maps_compression_RPC"};
2684 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::enable_maps_compression_RPC(const bool enable_compression)"};
2738 static constexpr const char*
s_tag{
"reload_maps_collection_RPC"};
2742 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::reload_maps_collection_RPC()"};
2796 static constexpr const char*
s_tag{
"reload_locations_and_extras_RPC"};
2800 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue IMap2DMsgs::reload_locations_and_extras_RPC()"};
2821 return write(writer);
2831 return read(reader);
2836 if (!writeTag(writer)) {
2839 if (!writeArgs(writer)) {
2860 if (!readTag(reader)) {
2863 if (!readArgs(reader)) {
2894 return write(writer);
2900 return read(reader);
2906 if (!writer.
write(return_helper)) {
2919 if (!reader.
read(return_helper)) {
2958 return write(writer);
2968 return read(reader);
2973 if (!writeTag(writer)) {
2976 if (!writeArgs(writer)) {
3000 if (!readTag(reader)) {
3003 if (!readArgs(reader)) {
3042 return write(writer);
3048 return read(reader);
3054 if (!writer.
write(return_helper)) {
3067 if (!reader.
read(return_helper)) {
3106 return write(writer);
3116 return read(reader);
3121 if (!writeTag(writer)) {
3124 if (!writeArgs(writer)) {
3148 if (!readTag(reader)) {
3151 if (!readArgs(reader)) {
3190 return write(writer);
3196 return read(reader);
3205 if (!writer.
write(return_helper)) {
3221 if (!reader.
read(return_helper)) {
3250 return write(writer);
3260 return read(reader);
3265 if (!writeTag(writer)) {
3268 if (!writeArgs(writer)) {
3289 if (!readTag(reader)) {
3292 if (!readArgs(reader)) {
3323 return write(writer);
3329 return read(reader);
3338 if (!writer.
write(return_helper)) {
3354 if (!reader.
read(return_helper)) {
3393 return write(writer);
3403 return read(reader);
3408 if (!writeTag(writer)) {
3411 if (!writeArgs(writer)) {
3435 if (!readTag(reader)) {
3438 if (!readArgs(reader)) {
3477 return write(writer);
3483 return read(reader);
3489 if (!writer.
write(return_helper)) {
3502 if (!reader.
read(return_helper)) {
3516 cmd{object_name, loc}
3531 object_name{object_name},
3542 return write(writer);
3552 return read(reader);
3557 if (!writeTag(writer)) {
3560 if (!writeArgs(writer)) {
3587 if (!readTag(reader)) {
3590 if (!readArgs(reader)) {
3637 return write(writer);
3643 return read(reader);
3649 if (!writer.
write(return_helper)) {
3662 if (!reader.
read(return_helper)) {
3676 cmd{location_name, loc}
3691 location_name{location_name},
3702 return write(writer);
3712 return read(reader);
3717 if (!writeTag(writer)) {
3720 if (!writeArgs(writer)) {
3747 if (!readTag(reader)) {
3750 if (!readArgs(reader)) {
3797 return write(writer);
3803 return read(reader);
3809 if (!writer.
write(return_helper)) {
3822 if (!reader.
read(return_helper)) {
3836 cmd{area_name, area}
3851 area_name{area_name},
3862 return write(writer);
3872 return read(reader);
3877 if (!writeTag(writer)) {
3880 if (!writeArgs(writer)) {
3907 if (!readTag(reader)) {
3910 if (!readArgs(reader)) {
3957 return write(writer);
3963 return read(reader);
3969 if (!writer.
write(return_helper)) {
3982 if (!reader.
read(return_helper)) {
3996 cmd{path_name, path}
4011 path_name{path_name},
4022 return write(writer);
4032 return read(reader);
4037 if (!writeTag(writer)) {
4040 if (!writeArgs(writer)) {
4067 if (!readTag(reader)) {
4070 if (!readArgs(reader)) {
4117 return write(writer);
4123 return read(reader);
4129 if (!writer.
write(return_helper)) {
4142 if (!reader.
read(return_helper)) {
4171 object_name{object_name}
4181 return write(writer);
4191 return read(reader);
4196 if (!writeTag(writer)) {
4199 if (!writeArgs(writer)) {
4223 if (!readTag(reader)) {
4226 if (!readArgs(reader)) {
4265 return write(writer);
4271 return read(reader);
4280 if (!writer.
write(return_helper)) {
4296 if (!reader.
read(return_helper)) {
4325 location_name{location_name}
4335 return write(writer);
4345 return read(reader);
4350 if (!writeTag(writer)) {
4353 if (!writeArgs(writer)) {
4377 if (!readTag(reader)) {
4380 if (!readArgs(reader)) {
4419 return write(writer);
4425 return read(reader);
4434 if (!writer.
write(return_helper)) {
4450 if (!reader.
read(return_helper)) {
4479 area_name{area_name}
4489 return write(writer);
4499 return read(reader);
4504 if (!writeTag(writer)) {
4507 if (!writeArgs(writer)) {
4531 if (!readTag(reader)) {
4534 if (!readArgs(reader)) {
4573 return write(writer);
4579 return read(reader);
4588 if (!writer.
write(return_helper)) {
4604 if (!reader.
read(return_helper)) {
4633 path_name{path_name}
4643 return write(writer);
4653 return read(reader);
4658 if (!writeTag(writer)) {
4661 if (!writeArgs(writer)) {
4685 if (!readTag(reader)) {
4688 if (!readArgs(reader)) {
4727 return write(writer);
4733 return read(reader);
4742 if (!writer.
write(return_helper)) {
4758 if (!reader.
read(return_helper)) {
4787 return write(writer);
4797 return read(reader);
4802 if (!writeTag(writer)) {
4805 if (!writeArgs(writer)) {
4826 if (!readTag(reader)) {
4829 if (!readArgs(reader)) {
4860 return write(writer);
4866 return read(reader);
4875 if (!writer.
write(return_helper)) {
4891 if (!reader.
read(return_helper)) {
4920 return write(writer);
4930 return read(reader);
4935 if (!writeTag(writer)) {
4938 if (!writeArgs(writer)) {
4959 if (!readTag(reader)) {
4962 if (!readArgs(reader)) {
4993 return write(writer);
4999 return read(reader);
5008 if (!writer.
write(return_helper)) {
5024 if (!reader.
read(return_helper)) {
5053 return write(writer);
5063 return read(reader);
5068 if (!writeTag(writer)) {
5071 if (!writeArgs(writer)) {
5092 if (!readTag(reader)) {
5095 if (!readArgs(reader)) {
5126 return write(writer);
5132 return read(reader);
5141 if (!writer.
write(return_helper)) {
5157 if (!reader.
read(return_helper)) {
5186 return write(writer);
5196 return read(reader);
5201 if (!writeTag(writer)) {
5204 if (!writeArgs(writer)) {
5225 if (!readTag(reader)) {
5228 if (!readArgs(reader)) {
5259 return write(writer);
5265 return read(reader);
5274 if (!writer.
write(return_helper)) {
5290 if (!reader.
read(return_helper)) {
5319 return write(writer);
5329 return read(reader);
5334 if (!writeTag(writer)) {
5337 if (!writeArgs(writer)) {
5358 if (!readTag(reader)) {
5361 if (!readArgs(reader)) {
5392 return write(writer);
5398 return read(reader);
5407 if (!writer.
write(return_helper)) {
5423 if (!reader.
read(return_helper)) {
5452 return write(writer);
5462 return read(reader);
5467 if (!writeTag(writer)) {
5470 if (!writeArgs(writer)) {
5491 if (!readTag(reader)) {
5494 if (!readArgs(reader)) {
5525 return write(writer);
5531 return read(reader);
5540 if (!writer.
write(return_helper)) {
5556 if (!reader.
read(return_helper)) {
5585 return write(writer);
5595 return read(reader);
5600 if (!writeTag(writer)) {
5603 if (!writeArgs(writer)) {
5624 if (!readTag(reader)) {
5627 if (!readArgs(reader)) {
5658 return write(writer);
5664 return read(reader);
5673 if (!writer.
write(return_helper)) {
5689 if (!reader.
read(return_helper)) {
5718 return write(writer);
5728 return read(reader);
5733 if (!writeTag(writer)) {
5736 if (!writeArgs(writer)) {
5757 if (!readTag(reader)) {
5760 if (!readArgs(reader)) {
5791 return write(writer);
5797 return read(reader);
5806 if (!writer.
write(return_helper)) {
5822 if (!reader.
read(return_helper)) {
5836 cmd{original_name, new_name}
5851 original_name{original_name},
5862 return write(writer);
5872 return read(reader);
5877 if (!writeTag(writer)) {
5880 if (!writeArgs(writer)) {
5907 if (!readTag(reader)) {
5910 if (!readArgs(reader)) {
5957 return write(writer);
5963 return read(reader);
5969 if (!writer.
write(return_helper)) {
5982 if (!reader.
read(return_helper)) {
6011 object_name{object_name}
6021 return write(writer);
6031 return read(reader);
6036 if (!writeTag(writer)) {
6039 if (!writeArgs(writer)) {
6063 if (!readTag(reader)) {
6066 if (!readArgs(reader)) {
6105 return write(writer);
6111 return read(reader);
6117 if (!writer.
write(return_helper)) {
6130 if (!reader.
read(return_helper)) {
6159 location_name{location_name}
6169 return write(writer);
6179 return read(reader);
6184 if (!writeTag(writer)) {
6187 if (!writeArgs(writer)) {
6211 if (!readTag(reader)) {
6214 if (!readArgs(reader)) {
6253 return write(writer);
6259 return read(reader);
6265 if (!writer.
write(return_helper)) {
6278 if (!reader.
read(return_helper)) {
6307 path_name{path_name}
6317 return write(writer);
6327 return read(reader);
6332 if (!writeTag(writer)) {
6335 if (!writeArgs(writer)) {
6359 if (!readTag(reader)) {
6362 if (!readArgs(reader)) {
6401 return write(writer);
6407 return read(reader);
6413 if (!writer.
write(return_helper)) {
6426 if (!reader.
read(return_helper)) {
6440 cmd{original_name, new_name}
6455 original_name{original_name},
6466 return write(writer);
6476 return read(reader);
6481 if (!writeTag(writer)) {
6484 if (!writeArgs(writer)) {
6511 if (!readTag(reader)) {
6514 if (!readArgs(reader)) {
6561 return write(writer);
6567 return read(reader);
6573 if (!writer.
write(return_helper)) {
6586 if (!reader.
read(return_helper)) {
6600 cmd{original_name, new_name}
6615 original_name{original_name},
6626 return write(writer);
6636 return read(reader);
6641 if (!writeTag(writer)) {
6644 if (!writeArgs(writer)) {
6671 if (!readTag(reader)) {
6674 if (!readArgs(reader)) {
6721 return write(writer);
6727 return read(reader);
6733 if (!writer.
write(return_helper)) {
6746 if (!reader.
read(return_helper)) {
6760 cmd{original_name, new_name}
6775 original_name{original_name},
6786 return write(writer);
6796 return read(reader);
6801 if (!writeTag(writer)) {
6804 if (!writeArgs(writer)) {
6831 if (!readTag(reader)) {
6834 if (!readArgs(reader)) {
6881 return write(writer);
6887 return read(reader);
6893 if (!writer.
write(return_helper)) {
6906 if (!reader.
read(return_helper)) {
6935 area_name{area_name}
6945 return write(writer);
6955 return read(reader);
6960 if (!writeTag(writer)) {
6963 if (!writeArgs(writer)) {
6987 if (!readTag(reader)) {
6990 if (!readArgs(reader)) {
7029 return write(writer);
7035 return read(reader);
7041 if (!writer.
write(return_helper)) {
7054 if (!reader.
read(return_helper)) {
7083 return write(writer);
7093 return read(reader);
7098 if (!writeTag(writer)) {
7101 if (!writeArgs(writer)) {
7122 if (!readTag(reader)) {
7125 if (!readArgs(reader)) {
7156 return write(writer);
7162 return read(reader);
7168 if (!writer.
write(return_helper)) {
7181 if (!reader.
read(return_helper)) {
7210 return write(writer);
7220 return read(reader);
7225 if (!writeTag(writer)) {
7228 if (!writeArgs(writer)) {
7249 if (!readTag(reader)) {
7252 if (!readArgs(reader)) {
7283 return write(writer);
7289 return read(reader);
7295 if (!writer.
write(return_helper)) {
7308 if (!reader.
read(return_helper)) {
7337 return write(writer);
7347 return read(reader);
7352 if (!writeTag(writer)) {
7355 if (!writeArgs(writer)) {
7376 if (!readTag(reader)) {
7379 if (!readArgs(reader)) {
7410 return write(writer);
7416 return read(reader);
7422 if (!writer.
write(return_helper)) {
7435 if (!reader.
read(return_helper)) {
7464 return write(writer);
7474 return read(reader);
7479 if (!writeTag(writer)) {
7482 if (!writeArgs(writer)) {
7503 if (!readTag(reader)) {
7506 if (!readArgs(reader)) {
7537 return write(writer);
7543 return read(reader);
7549 if (!writer.
write(return_helper)) {
7562 if (!reader.
read(return_helper)) {
7591 return write(writer);
7601 return read(reader);
7606 if (!writeTag(writer)) {
7609 if (!writeArgs(writer)) {
7630 if (!readTag(reader)) {
7633 if (!readArgs(reader)) {
7664 return write(writer);
7670 return read(reader);
7676 if (!writer.
write(return_helper)) {
7689 if (!reader.
read(return_helper)) {
7728 return write(writer);
7738 return read(reader);
7743 if (!writeTag(writer)) {
7746 if (!writeArgs(writer)) {
7770 if (!readTag(reader)) {
7773 if (!readArgs(reader)) {
7812 return write(writer);
7818 return read(reader);
7824 if (!writer.
write(return_helper)) {
7837 if (!reader.
read(return_helper)) {
7851 cmd{maps_collection_file}
7866 maps_collection_file{maps_collection_file}
7876 return write(writer);
7886 return read(reader);
7891 if (!writeTag(writer)) {
7894 if (!writeArgs(writer)) {
7918 if (!readTag(reader)) {
7921 if (!readArgs(reader)) {
7946 if (!reader.
readString(maps_collection_file)) {
7960 return write(writer);
7966 return read(reader);
7972 if (!writer.
write(return_helper)) {
7985 if (!reader.
read(return_helper)) {
7999 cmd{maps_collection_file}
8014 maps_collection_file{maps_collection_file}
8024 return write(writer);
8034 return read(reader);
8039 if (!writeTag(writer)) {
8042 if (!writeArgs(writer)) {
8066 if (!readTag(reader)) {
8069 if (!readArgs(reader)) {
8094 if (!reader.
readString(maps_collection_file)) {
8108 return write(writer);
8114 return read(reader);
8120 if (!writer.
write(return_helper)) {
8133 if (!reader.
read(return_helper)) {
8147 cmd{locations_collection_file}
8162 locations_collection_file{locations_collection_file}
8172 return write(writer);
8182 return read(reader);
8187 if (!writeTag(writer)) {
8190 if (!writeArgs(writer)) {
8206 if (!writer.
writeString(locations_collection_file)) {
8214 if (!readTag(reader)) {
8217 if (!readArgs(reader)) {
8242 if (!reader.
readString(locations_collection_file)) {
8256 return write(writer);
8262 return read(reader);
8268 if (!writer.
write(return_helper)) {
8281 if (!reader.
read(return_helper)) {
8295 cmd{locations_collection_file}
8310 locations_collection_file{locations_collection_file}
8320 return write(writer);
8330 return read(reader);
8335 if (!writeTag(writer)) {
8338 if (!writeArgs(writer)) {
8354 if (!writer.
writeString(locations_collection_file)) {
8362 if (!readTag(reader)) {
8365 if (!readArgs(reader)) {
8390 if (!reader.
readString(locations_collection_file)) {
8404 return write(writer);
8410 return read(reader);
8416 if (!writer.
write(return_helper)) {
8429 if (!reader.
read(return_helper)) {
8443 cmd{map_name, file_name}
8459 file_name{file_name}
8469 return write(writer);
8479 return read(reader);
8484 if (!writeTag(writer)) {
8487 if (!writeArgs(writer)) {
8514 if (!readTag(reader)) {
8517 if (!readArgs(reader)) {
8564 return write(writer);
8570 return read(reader);
8576 if (!writer.
write(return_helper)) {
8589 if (!reader.
read(return_helper)) {
8618 file_name{file_name}
8628 return write(writer);
8638 return read(reader);
8643 if (!writeTag(writer)) {
8646 if (!writeArgs(writer)) {
8670 if (!readTag(reader)) {
8673 if (!readArgs(reader)) {
8712 return write(writer);
8718 return read(reader);
8724 if (!writer.
write(return_helper)) {
8737 if (!reader.
read(return_helper)) {
8751 cmd{enable_compression}
8766 enable_compression{enable_compression}
8776 return write(writer);
8786 return read(reader);
8791 if (!writeTag(writer)) {
8794 if (!writeArgs(writer)) {
8810 if (!writer.
writeBool(enable_compression)) {
8818 if (!readTag(reader)) {
8821 if (!readArgs(reader)) {
8846 if (!reader.
readBool(enable_compression)) {
8860 return write(writer);
8866 return read(reader);
8872 if (!writer.
write(return_helper)) {
8885 if (!reader.
read(return_helper)) {
8914 return write(writer);
8924 return read(reader);
8929 if (!writeTag(writer)) {
8932 if (!writeArgs(writer)) {
8953 if (!readTag(reader)) {
8956 if (!readArgs(reader)) {
8987 return write(writer);
8993 return read(reader);
8999 if (!writer.
write(return_helper)) {
9012 if (!reader.
read(return_helper)) {
9041 return write(writer);
9051 return read(reader);
9056 if (!writeTag(writer)) {
9059 if (!writeArgs(writer)) {
9080 if (!readTag(reader)) {
9083 if (!readArgs(reader)) {
9114 return write(writer);
9120 return read(reader);
9126 if (!writer.
write(return_helper)) {
9139 if (!reader.
read(return_helper)) {
9154 yarp().setOwner(*
this);
9159 if (!
yarp().canWrite()) {
9163 bool ok =
yarp().write(helper, helper);
9169 if (!
yarp().canWrite()) {
9173 bool ok =
yarp().write(helper, helper);
9179 if (!
yarp().canWrite()) {
9183 bool ok =
yarp().write(helper, helper);
9189 if (!
yarp().canWrite()) {
9193 bool ok =
yarp().write(helper, helper);
9199 if (!
yarp().canWrite()) {
9203 bool ok =
yarp().write(helper, helper);
9209 if (!
yarp().canWrite()) {
9213 bool ok =
yarp().write(helper, helper);
9219 if (!
yarp().canWrite()) {
9223 bool ok =
yarp().write(helper, helper);
9229 if (!
yarp().canWrite()) {
9233 bool ok =
yarp().write(helper, helper);
9239 if (!
yarp().canWrite()) {
9243 bool ok =
yarp().write(helper, helper);
9249 if (!
yarp().canWrite()) {
9253 bool ok =
yarp().write(helper, helper);
9259 if (!
yarp().canWrite()) {
9263 bool ok =
yarp().write(helper, helper);
9269 if (!
yarp().canWrite()) {
9273 bool ok =
yarp().write(helper, helper);
9279 if (!
yarp().canWrite()) {
9283 bool ok =
yarp().write(helper, helper);
9289 if (!
yarp().canWrite()) {
9293 bool ok =
yarp().write(helper, helper);
9299 if (!
yarp().canWrite()) {
9303 bool ok =
yarp().write(helper, helper);
9309 if (!
yarp().canWrite()) {
9313 bool ok =
yarp().write(helper, helper);
9319 if (!
yarp().canWrite()) {
9323 bool ok =
yarp().write(helper, helper);
9329 if (!
yarp().canWrite()) {
9333 bool ok =
yarp().write(helper, helper);
9339 if (!
yarp().canWrite()) {
9343 bool ok =
yarp().write(helper, helper);
9349 if (!
yarp().canWrite()) {
9353 bool ok =
yarp().write(helper, helper);
9359 if (!
yarp().canWrite()) {
9363 bool ok =
yarp().write(helper, helper);
9369 if (!
yarp().canWrite()) {
9373 bool ok =
yarp().write(helper, helper);
9379 if (!
yarp().canWrite()) {
9383 bool ok =
yarp().write(helper, helper);
9389 if (!
yarp().canWrite()) {
9393 bool ok =
yarp().write(helper, helper);
9399 if (!
yarp().canWrite()) {
9403 bool ok =
yarp().write(helper, helper);
9409 if (!
yarp().canWrite()) {
9413 bool ok =
yarp().write(helper, helper);
9419 if (!
yarp().canWrite()) {
9423 bool ok =
yarp().write(helper, helper);
9429 if (!
yarp().canWrite()) {
9433 bool ok =
yarp().write(helper, helper);
9439 if (!
yarp().canWrite()) {
9443 bool ok =
yarp().write(helper, helper);
9449 if (!
yarp().canWrite()) {
9453 bool ok =
yarp().write(helper, helper);
9459 if (!
yarp().canWrite()) {
9463 bool ok =
yarp().write(helper, helper);
9469 if (!
yarp().canWrite()) {
9473 bool ok =
yarp().write(helper, helper);
9479 if (!
yarp().canWrite()) {
9483 bool ok =
yarp().write(helper, helper);
9489 if (!
yarp().canWrite()) {
9493 bool ok =
yarp().write(helper, helper);
9499 if (!
yarp().canWrite()) {
9503 bool ok =
yarp().write(helper, helper);
9509 if (!
yarp().canWrite()) {
9513 bool ok =
yarp().write(helper, helper);
9519 if (!
yarp().canWrite()) {
9523 bool ok =
yarp().write(helper, helper);
9529 if (!
yarp().canWrite()) {
9533 bool ok =
yarp().write(helper, helper);
9539 if (!
yarp().canWrite()) {
9543 bool ok =
yarp().write(helper, helper);
9549 if (!
yarp().canWrite()) {
9553 bool ok =
yarp().write(helper, helper);
9559 if (!
yarp().canWrite()) {
9563 bool ok =
yarp().write(helper, helper);
9569 if (!
yarp().canWrite()) {
9573 bool ok =
yarp().write(helper, helper);
9579 if (!
yarp().canWrite()) {
9583 bool ok =
yarp().write(helper, helper);
9589 if (!
yarp().canWrite()) {
9593 bool ok =
yarp().write(helper, helper);
9600 bool showAll = (functionName ==
"--all");
9601 std::vector<std::string> helpString;
9603 helpString.emplace_back(
"*** Available commands:");
9648 helpString.emplace_back(
"help");
9782 if (functionName ==
"help") {
9783 helpString.emplace_back(
"std::vector<std::string> help(const std::string& functionName = \"--all\")");
9784 helpString.emplace_back(
"Return list of available commands, or help message for a specific function");
9785 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");
9786 helpString.emplace_back(
"@return list of strings (one string per line)");
9789 if (helpString.empty()) {
9790 helpString.emplace_back(
"Command not found");
9798 constexpr size_t max_tag_len = 6;
9808 std::string tag = reader.
readTag(1);
9809 bool direct = (tag ==
"__direct__");
9813 while (tag_len <= max_tag_len && !reader.
isError()) {
9814 if(tag ==
"getRemoteProtocolVersion") {
9821 auto proto = getLocalProtocolVersion();
9827 if (!writer.
write(proto)) {
10494 if (tag ==
"help") {
10495 std::string functionName;
10497 functionName =
"--all";
10499 auto help_strings = help(functionName);
10505 if (!writer.
writeTag(
"many", 1, 0)) {
10511 for (
const auto& help_string : help_strings) {
10527 std::string next_tag = reader.
readTag(1);
10528 if (next_tag.empty()) {
10531 tag.append(
"_").append(next_tag);
10532 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.
yarp::dev::ReturnValue return_helper
~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.
yarp::dev::ReturnValue(*)() funcptr_t
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
yarp::dev::ReturnValue return_helper
IMap2DMsgs_clear_all_locations_RPC_helper()=default
static constexpr size_t s_reply_len
yarp::dev::ReturnValue(*)() funcptr_t
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
yarp::dev::ReturnValue return_helper
~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)
yarp::dev::ReturnValue(*)() funcptr_t
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.
yarp::dev::ReturnValue return_helper
~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
yarp::dev::ReturnValue(*)() funcptr_t
static constexpr const char * s_prototype
static constexpr size_t s_reply_len
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 read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
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 readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::ReturnValue return_helper
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
yarp::dev::ReturnValue(*)() funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
void call(IMap2DMsgs *ptr)
static constexpr const char * s_tag
static constexpr const char * s_prototype
static constexpr const char * s_help
static constexpr size_t s_tag_len
IMap2DMsgs_clear_all_objects_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 size_t s_reply_len
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
yarp::dev::ReturnValue return_helper
~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
yarp::dev::ReturnValue(*)() funcptr_t
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.
yarp::dev::ReturnValue return_helper
~Reply() override=default
static constexpr size_t s_tag_len
void call(IMap2DMsgs *ptr)
IMap2DMsgs_clear_map_temporary_flags_RPC_helper()=default
yarp::dev::ReturnValue(*)(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.
yarp::dev::ReturnValue return_helper
static constexpr size_t s_cmd_len
yarp::dev::ReturnValue(*)(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.
yarp::dev::ReturnValue return_helper
~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
yarp::dev::ReturnValue(*)(const std::string &) funcptr_t
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
~Command() override=default
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.
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.
yarp::dev::ReturnValue return_helper
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
static constexpr const char * s_help
static constexpr size_t s_reply_len
IMap2DMsgs_delete_object_RPC_helper()=default
void call(IMap2DMsgs *ptr)
static constexpr const char * s_prototype
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
yarp::dev::ReturnValue(*)(const std::string &) funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_tag
static constexpr size_t s_tag_len
static constexpr size_t s_cmd_len
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.
yarp::dev::ReturnValue 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
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
static constexpr size_t s_reply_len
static constexpr const char * s_help
yarp::dev::ReturnValue(*)(const std::string &) funcptr_t
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.
yarp::dev::ReturnValue return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_prototype
static constexpr size_t s_tag_len
IMap2DMsgs_enable_maps_compression_RPC_helper()=default
yarp::dev::ReturnValue(*)(const bool) funcptr_t
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.
yarp::os::ApplicationNetworkProtocolVersion helper_proto
IMap2DMsgs_getRemoteProtocolVersion_helper()=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.
~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 writeArgs(const yarp::os::idl::WireWriter &writer) const
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 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.
return_get_all_objects return_helper
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
static constexpr const char * s_tag
static constexpr size_t s_tag_len
return_get_all_objects(*)() funcptr_t
IMap2DMsgs_get_all_objects_RPC_helper()=default
static constexpr size_t s_cmd_len
static constexpr const char * s_prototype
void call(IMap2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_reply_len
~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.
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 writeTag(const yarp::os::idl::WireWriter &writer) const
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 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.
return_get_object return_helper
void call(IMap2DMsgs *ptr)
static constexpr const char * s_prototype
static constexpr const char * s_help
IMap2DMsgs_get_object_RPC_helper()=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_tag_len
static constexpr size_t s_reply_len
static constexpr size_t s_cmd_len
return_get_object(*)(const std::string &) funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_tag
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 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
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
return_get_objects_list return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_prototype
IMap2DMsgs_get_objects_list_RPC_helper()=default
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
static constexpr size_t s_reply_len
static constexpr size_t s_tag_len
return_get_objects_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
~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.
yarp::dev::ReturnValue return_helper
~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
static constexpr size_t s_cmd_len
void call(IMap2DMsgs *ptr)
yarp::dev::ReturnValue(*)(const std::string &) funcptr_t
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)
yarp::dev::ReturnValue 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
static constexpr size_t s_reply_len
yarp::dev::ReturnValue(*)(const std::string &) funcptr_t
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.
yarp::dev::ReturnValue return_helper
~Reply() override=default
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.
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
yarp::dev::ReturnValue(*)(const std::string &) funcptr_t
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool writeTag(const yarp::os::idl::WireWriter &writer) const
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
bool readTag(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.
~Reply() override=default
yarp::dev::ReturnValue return_helper
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.
yarp::dev::ReturnValue(*)() funcptr_t
static constexpr const char * s_tag
static constexpr size_t s_tag_len
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
void call(IMap2DMsgs *ptr)
static constexpr size_t s_reply_len
IMap2DMsgs_reload_locations_and_extras_RPC_helper()=default
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
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.
~Reply() override=default
yarp::dev::ReturnValue 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.
static constexpr const char * s_prototype
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
void call(IMap2DMsgs *ptr)
IMap2DMsgs_reload_maps_collection_RPC_helper()=default
static constexpr size_t s_reply_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
yarp::dev::ReturnValue(*)() funcptr_t
static constexpr const char * s_tag
static constexpr size_t s_cmd_len
static constexpr size_t s_tag_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.
yarp::dev::ReturnValue return_helper
~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 read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::ReturnValue(*)(const std::string &) funcptr_t
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
yarp::dev::ReturnValue return_helper
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
yarp::dev::ReturnValue(*)(const std::string &, const std::string &) funcptr_t
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
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.
yarp::dev::ReturnValue return_helper
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
yarp::dev::ReturnValue(*)(const std::string &, const std::string &) funcptr_t
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 writeTag(const yarp::os::idl::WireWriter &writer) const
std::string original_name
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 readArgs(yarp::os::idl::WireReader &reader)
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::ReturnValue return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_reply_len
void call(IMap2DMsgs *ptr)
static constexpr const char * s_help
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
static constexpr const char * s_tag
yarp::dev::ReturnValue(*)(const std::string &, const std::string &) funcptr_t
IMap2DMsgs_rename_object_RPC_helper()=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 size_t s_tag_len
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.
yarp::dev::ReturnValue return_helper
~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
yarp::dev::ReturnValue(*)(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)
yarp::dev::ReturnValue return_helper
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.
yarp::dev::ReturnValue(*)(const std::string &) funcptr_t
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.
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.
yarp::dev::ReturnValue return_helper
~Reply() override=default
static constexpr size_t s_reply_len
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
yarp::dev::ReturnValue(*)(const std::string &, const std::string &) funcptr_t
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.
yarp::dev::ReturnValue return_helper
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 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
yarp::dev::ReturnValue(*)(const std::string &) funcptr_t
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
yarp::dev::ReturnValue return_helper
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
yarp::dev::ReturnValue(*)(const std::string &, const yarp::dev::Nav2D::Map2DArea &) funcptr_t
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)
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.
yarp::dev::ReturnValue return_helper
~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
yarp::dev::ReturnValue(*)(const std::string &, const yarp::dev::Nav2D::Map2DLocation &) funcptr_t
static constexpr size_t s_tag_len
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.
yarp::dev::ReturnValue return_helper
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
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
yarp::dev::ReturnValue(*)(const yarp::dev::Nav2D::MapGrid2D &) funcptr_t
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
bool readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::Nav2D::Map2DObject loc
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.
yarp::dev::ReturnValue return_helper
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
static constexpr size_t s_tag_len
yarp::dev::ReturnValue(*)(const std::string &, const yarp::dev::Nav2D::Map2DObject &) funcptr_t
static constexpr const char * s_help
void call(IMap2DMsgs *ptr)
static constexpr size_t s_reply_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.
IMap2DMsgs_store_object_RPC_helper()=default
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.
yarp::dev::ReturnValue return_helper
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
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.
yarp::dev::ReturnValue(*)(const std::string &, const yarp::dev::Nav2D::Map2DPath &) funcptr_t
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 yarp::dev::ReturnValue save_map_to_disk_RPC(const std::string &map_name, const std::string &file_name)
virtual return_get_objects_list get_objects_list_RPC()
virtual yarp::dev::ReturnValue save_maps_collection_RPC(const std::string &maps_collection_file)
virtual yarp::dev::ReturnValue remove_map_RPC(const std::string &map_name)
virtual yarp::dev::ReturnValue clear_all_areas_RPC()
virtual yarp::dev::ReturnValue enable_maps_compression_RPC(const bool enable_compression)
virtual yarp::dev::ReturnValue store_area_RPC(const std::string &area_name, const yarp::dev::Nav2D::Map2DArea &area)
virtual yarp::dev::ReturnValue rename_path_RPC(const std::string &original_name, const std::string &new_name)
virtual yarp::dev::ReturnValue delete_path_RPC(const std::string &path_name)
virtual yarp::dev::ReturnValue store_object_RPC(const std::string &object_name, const yarp::dev::Nav2D::Map2DObject &loc)
virtual return_get_all_areas get_all_areas_RPC()
virtual yarp::dev::ReturnValue store_map_RPC(const yarp::dev::Nav2D::MapGrid2D &themap)
virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion()
virtual yarp::dev::ReturnValue rename_location_RPC(const std::string &original_name, const std::string &new_name)
virtual yarp::dev::ReturnValue reload_locations_and_extras_RPC()
virtual return_get_location get_location_RPC(const std::string &location_name)
virtual return_get_areas_list get_areas_list_RPC()
virtual yarp::dev::ReturnValue load_map_from_disk_RPC(const std::string &file_name)
virtual bool checkProtocolVersion()
virtual return_get_path get_path_RPC(const std::string &path_name)
virtual return_get_object get_object_RPC(const std::string &object_name)
virtual yarp::dev::ReturnValue store_path_RPC(const std::string &path_name, const yarp::dev::Nav2D::Map2DPath &path)
virtual yarp::dev::ReturnValue delete_object_RPC(const std::string &object_name)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual yarp::dev::ReturnValue clear_all_locations_RPC()
virtual yarp::dev::ReturnValue rename_area_RPC(const std::string &original_name, const std::string &new_name)
virtual yarp::dev::ReturnValue clear_all_maps_RPC()
virtual yarp::dev::ReturnValue delete_location_RPC(const std::string &location_name)
virtual yarp::dev::ReturnValue load_locations_and_extras_RPC(const std::string &locations_collection_file)
virtual yarp::dev::ReturnValue load_maps_collection_RPC(const std::string &maps_collection_file)
virtual yarp::dev::ReturnValue delete_area_RPC(const std::string &area_name)
virtual yarp::dev::ReturnValue store_location_RPC(const std::string &location_name, const yarp::dev::Nav2D::Map2DLocation &loc)
virtual return_get_area get_area_RPC(const std::string &area_name)
virtual return_get_all_paths get_all_paths_RPC()
virtual yarp::dev::ReturnValue reload_maps_collection_RPC()
virtual yarp::dev::ReturnValue clear_all_objects_RPC()
virtual return_get_map get_map_RPC(const std::string &map_name)
virtual yarp::dev::ReturnValue save_locations_and_extras_RPC(const std::string &locations_collection_file)
virtual yarp::dev::ReturnValue clear_all_maps_temporary_flags_RPC()
virtual return_get_paths_list get_paths_list_RPC()
virtual yarp::dev::ReturnValue rename_object_RPC(const std::string &original_name, const std::string &new_name)
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual yarp::dev::ReturnValue clear_all_paths_RPC()
virtual return_get_locations_list get_locations_list_RPC()
virtual return_get_all_locations get_all_locations_RPC()
virtual return_get_all_objects get_all_objects_RPC()
virtual yarp::dev::ReturnValue clear_map_temporary_flags_RPC(const std::string &map_name)
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion()
short int protocol_version
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.
bool write(PortWriter &writer)
Write a message to the associated port or reader.
yarp::os::WireLink & yarp()
Get YARP state associated with this object.
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
#define yCError(component,...)
#define YARP_LOG_COMPONENT(name,...)
The main, catch-all namespace for YARP.
#define YARP_VERSION_PATCH
#define YARP_VERSION_MAJOR
#define YARP_VERSION_MINOR