29 std::lock_guard <std::mutex> lg(
m_mutex);
35 std::lock_guard <std::mutex> lg(
m_mutex);
39 yCError(NAVIGATION2D_NWC,
"Unable to get_map");
48 std::lock_guard <std::mutex> lg(
m_mutex);
54 std::lock_guard <std::mutex> lg(
m_mutex);
58 yCError(NAVIGATION2D_NWC,
"Unable to get_map_names");
61 map_names =
ret.map_names;
67 std::lock_guard <std::mutex> lg(
m_mutex);
73 std::lock_guard <std::mutex> lg(
m_mutex);
79 std::lock_guard <std::mutex> lg(
m_mutex);
85 std::lock_guard <std::mutex> lg(
m_mutex);
91 std::lock_guard <std::mutex> lg(
m_mutex);
95 yCError(NAVIGATION2D_NWC,
"Unable to getLocationsList");
98 locations =
ret.locations;
104 std::lock_guard <std::mutex> lg(
m_mutex);
108 yCError(NAVIGATION2D_NWC,
"Unable to getAreasList");
117 std::lock_guard <std::mutex> lg(
m_mutex);
121 yCError(NAVIGATION2D_NWC,
"Unable to getPathsList");
130 std::lock_guard <std::mutex> lg(
m_mutex);
134 yCError(NAVIGATION2D_NWC,
"Unable to getAllLocations");
137 locations =
ret.locations;
143 std::lock_guard <std::mutex> lg(
m_mutex);
147 yCError(NAVIGATION2D_NWC,
"Unable to getAllAreas");
156 std::lock_guard <std::mutex> lg(
m_mutex);
160 yCError(NAVIGATION2D_NWC,
"Unable to getAllPaths");
169 std::lock_guard <std::mutex> lg(
m_mutex);
173 yCError(NAVIGATION2D_NWC,
"Unable to getLocation");
182 std::lock_guard <std::mutex> lg(
m_mutex);
186 yCError(NAVIGATION2D_NWC,
"Unable to getArea");
195 std::lock_guard <std::mutex> lg(
m_mutex);
199 yCError(NAVIGATION2D_NWC,
"Unable to getPath");
208 std::lock_guard <std::mutex> lg(
m_mutex);
214 std::lock_guard <std::mutex> lg(
m_mutex);
220 std::lock_guard <std::mutex> lg(
m_mutex);
226 std::lock_guard <std::mutex> lg(
m_mutex);
232 std::lock_guard <std::mutex> lg(
m_mutex);
238 std::lock_guard <std::mutex> lg(
m_mutex);
244 std::lock_guard <std::mutex> lg(
m_mutex);
250 std::lock_guard <std::mutex> lg(
m_mutex);
256 std::lock_guard <std::mutex> lg(
m_mutex);
262 std::lock_guard <std::mutex> lg(
m_mutex);
268 std::lock_guard <std::mutex> lg(
m_mutex);
274 std::lock_guard <std::mutex> lg(
m_mutex);
280 std::lock_guard <std::mutex> lg(
m_mutex);
286 std::lock_guard <std::mutex> lg(
m_mutex);
292 std::lock_guard <std::mutex> lg(
m_mutex);
298 std::lock_guard <std::mutex> lg(
m_mutex);
304 std::lock_guard <std::mutex> lg(
m_mutex);
310 std::lock_guard <std::mutex> lg(
m_mutex);
virtual return_get_map_names get_map_names_RPC()
virtual bool rename_path_RPC(const std::string &original_name, const std::string &new_name)
virtual bool store_path_RPC(const std::string &path_name, const yarp::dev::Nav2D::Map2DPath &path)
virtual bool clear_all_areas_RPC()
virtual bool clear_all_paths_RPC()
virtual bool save_map_to_disk_RPC(const std::string &map_name, const std::string &file_name)
virtual bool store_map_RPC(const yarp::dev::Nav2D::MapGrid2D &themap)
virtual bool load_map_from_disk_RPC(const std::string &file_name)
virtual bool delete_location_RPC(const std::string &location_name)
virtual bool clear_all_maps_temporary_flags_RPC()
virtual return_get_all_areas get_all_areas_RPC()
virtual bool load_locations_and_extras_RPC(const std::string &locations_collection_file)
virtual bool clear_map_temporary_flags_RPC(const std::string &map_name)
virtual return_get_location get_location_RPC(const std::string &location_name)
virtual bool load_maps_collection_RPC(const std::string &maps_collection_file)
virtual bool delete_path_RPC(const std::string &path_name)
virtual return_get_areas_list get_areas_list_RPC()
virtual return_get_path get_path_RPC(const std::string &path_name)
virtual bool store_location_RPC(const std::string &location_name, const yarp::dev::Nav2D::Map2DLocation &loc)
virtual bool clear_all_maps_RPC()
virtual return_get_area get_area_RPC(const std::string &area_name)
virtual return_get_all_paths get_all_paths_RPC()
virtual return_get_map get_map_RPC(const std::string &map_name)
virtual return_get_paths_list get_paths_list_RPC()
virtual bool remove_map_RPC(const std::string &map_name)
virtual return_get_locations_list get_locations_list_RPC()
virtual bool rename_location_RPC(const std::string &original_name, const std::string &new_name)
virtual bool save_locations_and_extras_RPC(const std::string &locations_collection_file)
virtual return_get_all_locations get_all_locations_RPC()
virtual bool save_maps_collection_RPC(const std::string &maps_collection_file)
virtual bool rename_area_RPC(const std::string &original_name, const std::string &new_name)
virtual bool store_area_RPC(const std::string &area_name, const yarp::dev::Nav2D::Map2DArea &area)
virtual bool clear_all_locations_RPC()
virtual bool enable_maps_compression_RPC(const bool enable_compression)
virtual bool delete_area_RPC(const std::string &area_name)
bool getLocation(std::string location_name, yarp::dev::Nav2D::Map2DLocation &loc) override
Retrieves a location specified by the user in the world reference frame.
bool getPathsList(std::vector< std::string > &paths) override
Get a list of the names of all stored paths.
bool store_map(const yarp::dev::Nav2D::MapGrid2D &map) override
Stores a map into the map server.
bool storePath(std::string path_name, yarp::dev::Nav2D::Map2DPath path) override
Store a path.
bool loadLocationsAndExtras(std::string locations_collection_file) override
Load a collection of locations/areas/paths etc from disk.
bool renameLocation(std::string original_name, std::string new_name) override
Searches for a location and renames it.
bool loadMapsCollection(std::string maps_collection_file) override
Load a collection of maps from disk.
bool enableMapsCompression(bool enable) override
99999999999
bool getPath(std::string path_name, yarp::dev::Nav2D::Map2DPath &path) override
Retrieves a path.
bool remove_map(std::string map_name) override
Removes a map from the map server.
bool getAllLocations(std::vector< yarp::dev::Nav2D::Map2DLocation > &locations) override
Get a list of all stored locations.
bool getLocationsList(std::vector< std::string > &locations) override
Get a list of the names of all stored locations.
bool getAreasList(std::vector< std::string > &locations) override
Get a list of the names of all stored areas.
bool renameArea(std::string original_name, std::string new_name) override
Searches for an area and renames it.
bool storeLocation(std::string location_name, yarp::dev::Nav2D::Map2DLocation loc) override
Store a location specified by the user in the world reference frame.
bool get_map_names(std::vector< std::string > &map_names) override
Gets a list containing the names of all registered maps.
bool clearAllPaths() override
Delete all stored paths.
bool deletePath(std::string path_name) override
Delete a path.
bool getAllAreas(std::vector< yarp::dev::Nav2D::Map2DArea > &areas) override
Get a list of all stored areas.
bool renamePath(std::string original_name, std::string new_name) override
Searches for a path and renames it.
bool saveLocationsAndExtras(std::string locations_collection_file) override
Save a collection of locations/area/paths etc to disk.
bool clearMapTemporaryFlags(std::string map_name) override
Clear all temporary flags from a specific map.
bool getAllPaths(std::vector< yarp::dev::Nav2D::Map2DPath > &paths) override
Get a list of all stored paths.
bool deleteLocation(std::string location_name) override
Delete a location.
bool saveMapsCollection(std::string maps_collection_file) override
Save a collection of maps to disk.
bool loadMapFromDisk(std::string file_name) override
Load a map from disk.
bool deleteArea(std::string location_name) override
Delete an area.
bool saveMapToDisk(std::string map_name, std::string file_name) override
Save a map to disk.
bool storeArea(std::string location_name, yarp::dev::Nav2D::Map2DArea area) override
Store an area.
bool clearAllAreas() override
Delete all stored areas.
bool clearAllLocations() override
Delete all stored locations.
bool clearAllMapsTemporaryFlags() override
Clear all temporary flags from all stored maps.
bool get_map(std::string map_name, yarp::dev::Nav2D::MapGrid2D &map) override
Gets a map from the map server.
bool getArea(std::string location_name, yarp::dev::Nav2D::Map2DArea &area) override
Retrieves an area.
bool clearAllMaps() override
Removes all the registered maps from the server.
#define yCError(component,...)
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.