@@ -36,246 +36,246 @@ class YARP_dev_API yarp::dev::Nav2D::IMap2D
36
36
37
37
/* *
38
38
Removes all the registered maps from the server.
39
- * @return true/false
39
+ * @return a ReturnValue, convertible to true/false
40
40
*/
41
41
virtual yarp::dev::ReturnValue clearAllMaps () = 0;
42
42
43
43
/* *
44
44
Stores a map into the map server.
45
- * @return true/false
45
+ * @return a ReturnValue, convertible to true/false
46
46
*/
47
47
virtual yarp::dev::ReturnValue store_map (const yarp::dev::Nav2D::MapGrid2D& map) = 0;
48
48
49
49
/* *
50
50
Gets a map from the map server.
51
- * @return true/false
51
+ * @return a ReturnValue, convertible to true/false
52
52
*/
53
53
virtual yarp::dev::ReturnValue get_map (std::string map_name, yarp::dev::Nav2D::MapGrid2D& map) = 0;
54
54
55
55
/* *
56
56
Gets a list containing the names of all registered maps.
57
- * @return true/false
57
+ * @return a ReturnValue, convertible to true/false
58
58
*/
59
59
virtual yarp::dev::ReturnValue get_map_names (std::vector<std::string>& map_names) = 0;
60
60
61
61
/* *
62
62
Removes a map from the map server.
63
- * @return true/false
63
+ * @return a ReturnValue, convertible to true/false
64
64
*/
65
65
virtual yarp::dev::ReturnValue remove_map (std::string map_name) = 0;
66
66
67
67
/* *
68
68
* Store a location specified by the user in the world reference frame
69
69
* @param location_name the name of the location
70
70
* @param loc the location of the robot
71
- * @return true/false
71
+ * @return a ReturnValue, convertible to true/false
72
72
*/
73
73
virtual yarp::dev::ReturnValue storeLocation (std::string location_name, yarp::dev::Nav2D::Map2DLocation loc) = 0;
74
74
75
75
/* *
76
76
* Store an area
77
77
* @param area_name the name of the area
78
78
* @param area the area
79
- * @return true/false
79
+ * @return a ReturnValue, convertible to true/false
80
80
*/
81
81
virtual yarp::dev::ReturnValue storeArea (std::string area_name, yarp::dev::Nav2D::Map2DArea area) = 0;
82
82
83
83
/* *
84
84
* Store a path
85
85
* @param path_name the name of the path
86
86
* @param path the path
87
- * @return true/false
87
+ * @return a ReturnValue, convertible to true/false
88
88
*/
89
89
virtual yarp::dev::ReturnValue storePath (std::string path_name, yarp::dev::Nav2D::Map2DPath path) = 0;
90
90
91
91
/* *
92
92
* Retrieves a location specified by the user in the world reference frame
93
93
* @param location_name the name of the location
94
94
* @param loc the location
95
- * @return true/false
95
+ * @return a ReturnValue, convertible to true/false
96
96
*/
97
97
virtual yarp::dev::ReturnValue getLocation (std::string location_name, yarp::dev::Nav2D::Map2DLocation& loc) = 0;
98
98
99
99
/* *
100
100
* Retrieves an area
101
101
* @param area_name the name of the area
102
102
* @param area the area
103
- * @return true/false
103
+ * @return a ReturnValue, convertible to true/false
104
104
*/
105
105
virtual yarp::dev::ReturnValue getArea (std::string area_name, yarp::dev::Nav2D::Map2DArea& area) = 0;
106
106
107
107
/* *
108
108
* Retrieves a path
109
109
* @param path_name the name of the path
110
110
* @param path the path
111
- * @return true/false
111
+ * @return a ReturnValue, convertible to true/false
112
112
*/
113
113
virtual yarp::dev::ReturnValue getPath (std::string path_name, yarp::dev::Nav2D::Map2DPath& path) = 0;
114
114
115
115
/* *
116
116
* Get a list of the names of all stored locations
117
117
* @param the returned list of locations names
118
- * @return true/false
118
+ * @return a ReturnValue, convertible to true/false
119
119
*/
120
120
virtual yarp::dev::ReturnValue getLocationsList (std::vector<std::string>& locations) = 0;
121
121
122
122
/* *
123
123
* Get a list of the names of all stored areas
124
124
* @param the returned list of areas names
125
- * @return true/false
125
+ * @return a ReturnValue, convertible to true/false
126
126
*/
127
127
virtual yarp::dev::ReturnValue getAreasList (std::vector<std::string>& areas) = 0;
128
128
129
129
/* *
130
130
* Get a list of the names of all stored paths
131
131
* @param the returned list of paths names
132
- * @return true/false
132
+ * @return a ReturnValue, convertible to true/false
133
133
*/
134
134
virtual yarp::dev::ReturnValue getPathsList (std::vector<std::string>& paths) = 0;
135
135
136
136
/* *
137
137
* Get a list of all stored locations
138
138
* @param the returned list of locations
139
- * @return true/false
139
+ * @return a ReturnValue, convertible to true/false
140
140
*/
141
141
virtual yarp::dev::ReturnValue getAllLocations (std::vector<yarp::dev::Nav2D::Map2DLocation>& locations) = 0;
142
142
143
143
/* *
144
144
* Get a list of all stored areas
145
145
* @param the returned list of areas
146
- * @return true/false
146
+ * @return a ReturnValue, convertible to true/false
147
147
*/
148
148
virtual yarp::dev::ReturnValue getAllAreas (std::vector<yarp::dev::Nav2D::Map2DArea>& areas) = 0;
149
149
150
150
/* *
151
151
* Get a list of all stored paths
152
152
* @param the returned list of paths
153
- * @return true/false
153
+ * @return a ReturnValue, convertible to true/false
154
154
*/
155
155
virtual yarp::dev::ReturnValue getAllPaths (std::vector<yarp::dev::Nav2D::Map2DPath>& paths) = 0;
156
156
157
157
/* *
158
158
* Searches for a location and renames it
159
159
* @param original_name the name of the area
160
160
* @param new_name the new name of the area
161
- * @return true/false
161
+ * @return a ReturnValue, convertible to true/false
162
162
*/
163
163
virtual yarp::dev::ReturnValue renameLocation (std::string original_name, std::string new_name) = 0;
164
164
165
165
/* *
166
166
* Delete a location
167
167
* @param location_name the name of the location
168
- * @return true/false
168
+ * @return a ReturnValue, convertible to true/false
169
169
*/
170
170
virtual yarp::dev::ReturnValue deleteLocation (std::string location_name) = 0;
171
171
172
172
/* *
173
173
* Delete a path
174
174
* @param path_name the name of the path
175
- * @return true/false
175
+ * @return a ReturnValue, convertible to true/false
176
176
*/
177
177
virtual yarp::dev::ReturnValue deletePath (std::string path_name) = 0;
178
178
179
179
/* *
180
180
* Searches for an area and renames it
181
181
* @param original_name the name of the area
182
182
* @param new_name the new name of the area
183
- * @return true/false
183
+ * @return a ReturnValue, convertible to true/false
184
184
*/
185
185
virtual yarp::dev::ReturnValue renameArea (std::string original_name, std::string new_name) = 0;
186
186
187
187
/* *
188
188
* Searches for a path and renames it
189
189
* @param original_name the name of the path
190
190
* @param new_name the new name of the path
191
- * @return true/false
191
+ * @return a ReturnValue, convertible to true/false
192
192
*/
193
193
virtual yarp::dev::ReturnValue renamePath (std::string original_name, std::string new_name) = 0;
194
194
195
195
/* *
196
196
* Delete an area
197
197
* @param area_name the name of the area
198
- * @return true/false
198
+ * @return a ReturnValue, convertible to true/false
199
199
*/
200
200
virtual yarp::dev::ReturnValue deleteArea (std::string area_name) = 0;
201
201
202
202
/* *
203
203
* Delete all stored locations
204
- * @return true/false
204
+ * @return a ReturnValue, convertible to true/false
205
205
*/
206
206
virtual yarp::dev::ReturnValue clearAllLocations () = 0;
207
207
208
208
/* *
209
209
* Delete all stored areas
210
- * @return true/false
210
+ * @return a ReturnValue, convertible to true/false
211
211
*/
212
212
virtual yarp::dev::ReturnValue clearAllAreas () = 0;
213
213
214
214
/* *
215
215
* Delete all stored paths
216
- * @return true/false
216
+ * @return a ReturnValue, convertible to true/false
217
217
*/
218
218
virtual yarp::dev::ReturnValue clearAllPaths () = 0;
219
219
220
220
/* *
221
221
* Clear all temporary flags from all stored maps
222
- * @return true/false
222
+ * @return a ReturnValue, convertible to true/false
223
223
*/
224
224
virtual yarp::dev::ReturnValue clearAllMapsTemporaryFlags () = 0;
225
225
226
226
/* *
227
227
* Clear all temporary flags from a specific map
228
- * @return true/false
228
+ * @return a ReturnValue, convertible to true/false
229
229
*/
230
230
virtual yarp::dev::ReturnValue clearMapTemporaryFlags (std::string map_name) = 0;
231
231
232
232
/* *
233
233
* Save a map to disk
234
234
* @param map_name the name of the area
235
235
* @param file_name file name with full path
236
- * @return true/false
236
+ * @return a ReturnValue, convertible to true/false
237
237
*/
238
238
virtual yarp::dev::ReturnValue saveMapToDisk (std::string map_name, std::string file_name) = 0;
239
239
240
240
/* *
241
241
* Load a map from disk
242
242
* @param file_name file name with full path
243
- * @return true/false
243
+ * @return a ReturnValue, convertible to true/false
244
244
*/
245
245
virtual yarp::dev::ReturnValue loadMapFromDisk (std::string file_name) = 0;
246
246
247
247
/* *
248
248
* Save a collection of maps to disk
249
249
* @param file_name file name with full path
250
- * @return true/false
250
+ * @return a ReturnValue, convertible to true/false
251
251
*/
252
252
virtual yarp::dev::ReturnValue saveMapsCollection (std::string file_name) = 0;
253
253
254
254
/* *
255
255
* Load a collection of maps from disk
256
256
* @param file_name file name with full path
257
- * @return true/false
257
+ * @return a ReturnValue, convertible to true/false
258
258
*/
259
259
virtual yarp::dev::ReturnValue loadMapsCollection (std::string file_name) = 0;
260
260
261
261
/* *
262
262
* Save a collection of locations/area/paths etc to disk
263
263
* @param file_name file name with full path
264
- * @return true/false
264
+ * @return a ReturnValue, convertible to true/false
265
265
*/
266
266
virtual yarp::dev::ReturnValue saveLocationsAndExtras (std::string file_name) = 0;
267
267
268
268
/* *
269
269
* Load a collection of locations/areas/paths etc from disk
270
270
* @param file_name file name with full path
271
- * @return true/false
271
+ * @return a ReturnValue, convertible to true/false
272
272
*/
273
273
virtual yarp::dev::ReturnValue loadLocationsAndExtras (std::string file_name) = 0;
274
274
275
275
/* *
276
- * 99999999999
276
+ * Enable/disables maps compression over the network
277
277
* @param enable
278
- * @return true/false
278
+ * @return a ReturnValue, convertible to true/false
279
279
*/
280
280
virtual yarp::dev::ReturnValue enableMapsCompression (bool enable) = 0;
281
281
};
0 commit comments