YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IMap2DMsgs.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6// Autogenerated by Thrift (based on compiler 0.14.1-yarped)
7// yarpidl_thrift version 2.0 - 11/11/2026
8// Protocol version: protocol_version=0, yarp_major=4, yarp_minor=0, yarp_patch=2
9// This is an automatically generated file.
10// It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
11
12#ifndef YARP_THRIFT_GENERATOR_SERVICE_IMAP2DMSGS_H
13#define YARP_THRIFT_GENERATOR_SERVICE_IMAP2DMSGS_H
14
15#include <yarp/os/Wire.h>
22#include <return_get_area.h>
24#include <return_get_location.h>
26#include <return_get_map.h>
28#include <return_get_object.h>
30#include <return_get_path.h>
32#include <yarp/dev/Map2DArea.h>
35#include <yarp/dev/Map2DPath.h>
36#include <yarp/dev/MapGrid2D.h>
38
40 public yarp::os::Wire
41{
42public:
43 //ProtocolVersion
46 virtual bool checkProtocolVersion();
47
48 // Constructor
49 IMap2DMsgs();
50
51 //Service methods
53
55
56 virtual return_get_map get_map_RPC(const std::string& map_name);
57
59
60 virtual yarp::dev::ReturnValue remove_map_RPC(const std::string& map_name);
61
62 virtual yarp::dev::ReturnValue store_object_RPC(const std::string& object_name, const yarp::dev::Nav2D::Map2DObject& loc);
63
64 virtual yarp::dev::ReturnValue store_location_RPC(const std::string& location_name, const yarp::dev::Nav2D::Map2DLocation& loc);
65
66 virtual yarp::dev::ReturnValue store_area_RPC(const std::string& area_name, const yarp::dev::Nav2D::Map2DArea& area);
67
68 virtual yarp::dev::ReturnValue store_path_RPC(const std::string& path_name, const yarp::dev::Nav2D::Map2DPath& path);
69
70 virtual return_get_object get_object_RPC(const std::string& object_name);
71
72 virtual return_get_location get_location_RPC(const std::string& location_name);
73
74 virtual return_get_area get_area_RPC(const std::string& area_name);
75
76 virtual return_get_path get_path_RPC(const std::string& path_name);
77
79
81
83
85
87
89
91
93
94 virtual yarp::dev::ReturnValue rename_location_RPC(const std::string& original_name, const std::string& new_name);
95
96 virtual yarp::dev::ReturnValue delete_object_RPC(const std::string& object_name);
97
98 virtual yarp::dev::ReturnValue delete_location_RPC(const std::string& location_name);
99
100 virtual yarp::dev::ReturnValue delete_path_RPC(const std::string& path_name);
101
102 virtual yarp::dev::ReturnValue rename_object_RPC(const std::string& original_name, const std::string& new_name);
103
104 virtual yarp::dev::ReturnValue rename_area_RPC(const std::string& original_name, const std::string& new_name);
105
106 virtual yarp::dev::ReturnValue rename_path_RPC(const std::string& original_name, const std::string& new_name);
107
108 virtual yarp::dev::ReturnValue delete_area_RPC(const std::string& area_name);
109
111
113
115
117
119
120 virtual yarp::dev::ReturnValue clear_map_temporary_flags_RPC(const std::string& map_name);
121
122 virtual yarp::dev::ReturnValue save_maps_collection_RPC(const std::string& maps_collection_file);
123
124 virtual yarp::dev::ReturnValue load_maps_collection_RPC(const std::string& maps_collection_file);
125
126 virtual yarp::dev::ReturnValue save_locations_and_extras_RPC(const std::string& locations_collection_file);
127
128 virtual yarp::dev::ReturnValue load_locations_and_extras_RPC(const std::string& locations_collection_file);
129
130 virtual yarp::dev::ReturnValue save_map_to_disk_RPC(const std::string& map_name, const std::string& file_name);
131
132 virtual yarp::dev::ReturnValue load_map_from_disk_RPC(const std::string& file_name);
133
134 virtual yarp::dev::ReturnValue enable_maps_compression_RPC(const bool enable_compression);
135
137
139
140 // help method
141 virtual std::vector<std::string> help(const std::string& functionName = "--all");
142
143 // read from ConnectionReader
144 bool read(yarp::os::ConnectionReader& connection) override;
145};
146
147#endif // YARP_THRIFT_GENERATOR_SERVICE_IMAP2DMSGS_H
contains the definition of a Map2DArea type
contains the definition of a Map2DLocation type
contains the definition of a Map2DObject type
contains the definition of a Map2DPath type
contains the definition of a map type
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()
An interface for reading from a network connection.
Base class for IDL client/server.
Definition Wire.h:18