6#ifndef YARP_DEV_IMAP2D_H
7#define YARP_DEV_IMAP2D_H
140 virtual bool getAllLocations(std::vector<yarp::dev::Nav2D::Map2DLocation>& locations) = 0;
147 virtual bool getAllAreas(std::vector<yarp::dev::Nav2D::Map2DArea>& areas) = 0;
154 virtual bool getAllPaths(std::vector<yarp::dev::Nav2D::Map2DPath>& paths) = 0;
162 virtual bool renameLocation(std::string original_name, std::string new_name) = 0;
184 virtual bool renameArea(std::string original_name, std::string new_name) = 0;
192 virtual bool renamePath(std::string original_name, std::string new_name) = 0;
237 virtual bool saveMapToDisk(std::string map_name, std::string file_name) = 0;
constexpr yarp::conf::vocab32_t VOCAB_IMAP_LOAD_X
constexpr yarp::conf::vocab32_t VOCAB_IMAP_OK
constexpr yarp::conf::vocab32_t VOCAB_IMAP_SAVE_X
constexpr yarp::conf::vocab32_t VOCAB_IMAP
constexpr yarp::conf::vocab32_t VOCAB_IMAP_GET_MAP
constexpr yarp::conf::vocab32_t VOCAB_IMAP_SET_MAP
constexpr yarp::conf::vocab32_t VOCAB_IMAP_LOCATIONS_COLLECTION
constexpr yarp::conf::vocab32_t VOCAB_IMAP_MAPS_COLLECTION
constexpr yarp::conf::vocab32_t VOCAB_IMAP_CLEAR_ALL_MAPS
constexpr yarp::conf::vocab32_t VOCAB_IMAP_ERROR
constexpr yarp::conf::vocab32_t VOCAB_IMAP_REMOVE
constexpr yarp::conf::vocab32_t VOCAB_IMAP_GET_NAMES
contains the definition of a Map2DArea type
contains the definition of a Map2DLocation type
contains the definition of a Map2DPath type
contains the definition of a map type
virtual bool deleteLocation(std::string location_name)=0
Delete a location.
virtual bool getAllLocations(std::vector< yarp::dev::Nav2D::Map2DLocation > &locations)=0
Get a list of all stored locations.
virtual bool deletePath(std::string path_name)=0
Delete a path.
virtual bool get_map(std::string map_name, yarp::dev::Nav2D::MapGrid2D &map)=0
Gets a map from the map server.
virtual bool deleteArea(std::string area_name)=0
Delete an area.
virtual bool storeArea(std::string area_name, yarp::dev::Nav2D::Map2DArea area)=0
Store an area.
virtual bool remove_map(std::string map_name)=0
Removes a map from the map server.
virtual bool storePath(std::string path_name, yarp::dev::Nav2D::Map2DPath path)=0
Store a path.
virtual bool clearAllPaths()=0
Delete all stored paths.
virtual bool clearAllAreas()=0
Delete all stored areas.
virtual bool storeLocation(std::string location_name, yarp::dev::Nav2D::Map2DLocation loc)=0
Store a location specified by the user in the world reference frame.
virtual bool enableMapsCompression(bool enable)=0
99999999999
virtual bool getLocation(std::string location_name, yarp::dev::Nav2D::Map2DLocation &loc)=0
Retrieves a location specified by the user in the world reference frame.
virtual bool getAllAreas(std::vector< yarp::dev::Nav2D::Map2DArea > &areas)=0
Get a list of all stored areas.
virtual bool store_map(const yarp::dev::Nav2D::MapGrid2D &map)=0
Stores a map into the map server.
virtual bool clearAllLocations()=0
Delete all stored locations.
virtual bool getAllPaths(std::vector< yarp::dev::Nav2D::Map2DPath > &paths)=0
Get a list of all stored paths.
virtual bool clearAllMapsTemporaryFlags()=0
Clear all temporary flags from all stored maps.
virtual bool get_map_names(std::vector< std::string > &map_names)=0
Gets a list containing the names of all registered maps.
virtual ~IMap2D()
Destructor.
virtual bool renameArea(std::string original_name, std::string new_name)=0
Searches for an area and renames it.
virtual bool getPathsList(std::vector< std::string > &paths)=0
Get a list of the names of all stored paths.
virtual bool clearAllMaps()=0
Removes all the registered maps from the server.
virtual bool clearMapTemporaryFlags(std::string map_name)=0
Clear all temporary flags from a specific map.
virtual bool renamePath(std::string original_name, std::string new_name)=0
Searches for a path and renames it.
virtual bool loadMapFromDisk(std::string file_name)=0
Load a map from disk.
virtual bool saveMapsCollection(std::string file_name)=0
Save a collection of maps to disk.
virtual bool loadLocationsAndExtras(std::string file_name)=0
Load a collection of locations/areas/paths etc from disk.
virtual bool getArea(std::string area_name, yarp::dev::Nav2D::Map2DArea &area)=0
Retrieves an area.
virtual bool saveMapToDisk(std::string map_name, std::string file_name)=0
Save a map to disk.
virtual bool loadMapsCollection(std::string file_name)=0
Load a collection of maps from disk.
virtual bool getPath(std::string path_name, yarp::dev::Nav2D::Map2DPath &path)=0
Retrieves a path.
virtual bool renameLocation(std::string original_name, std::string new_name)=0
Searches for a location and renames it.
virtual bool getLocationsList(std::vector< std::string > &locations)=0
Get a list of the names of all stored locations.
virtual bool getAreasList(std::vector< std::string > &areas)=0
Get a list of the names of all stored areas.
virtual bool saveLocationsAndExtras(std::string file_name)=0
Save a collection of locations/area/paths etc to disk.
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.
The main, catch-all namespace for YARP.