|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
19 #ifndef YARP_DEV_MAP2DCLIENT_H
20 #define YARP_DEV_MAP2DCLIENT_H
63 bool close()
override;
67 bool remove_map (std::string map_name)
override;
70 bool get_map_names(std::vector<std::string>& map_names)
override;
80 bool renameLocation(std::string original_name, std::string new_name)
override;
81 bool renameArea(std::string original_name, std::string new_name)
override;
82 bool renamePath(std::string original_name, std::string new_name)
override;
85 bool deleteArea(std::string location_name)
override;
86 bool deletePath(std::string path_name)
override;
89 bool getAreasList(std::vector<std::string>& locations)
override;
90 bool getPathsList(std::vector<std::string>& paths)
override;
97 #endif // YARP_DEV_MAP2DCLIENT_H
contains the definition of a map type
A base class for nested structures that can be searched.
contains the definition of a Map2DArea type
contains the definition of a Vector type
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
bool renameArea(std::string original_name, std::string new_name) override
Searches for an area and renames it.
bool getLocationsList(std::vector< std::string > &locations) override
Get a list of all stored locations.
Interface implemented by all device drivers.
bool deleteArea(std::string location_name) override
Delete an area.
map2DClient: A device which allows a client application to store/retrieve user maps device in a map s...
bool renamePath(std::string original_name, std::string new_name) override
Searches for a path and renames it.
bool close() override
Close the DeviceDriver.
bool get_map_names(std::vector< std::string > &map_names) override
Gets a list containing the names of all registered maps.
bool clearAllMaps() override
Removes all the registered maps from the server.
A mini-server for network communication.
bool get_map(std::string map_name, yarp::dev::Nav2D::MapGrid2D &map) override
Gets a map from the map server.
bool deletePath(std::string path_name) override
Delete a path.
bool clearAllAreas() override
Delete all stored areas.
bool clearAllPaths() override
Delete all stored paths.
bool getAreasList(std::vector< std::string > &locations) override
Get a list of all stored areas.
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 deleteLocation(std::string location_name) override
Delete a location.
contains the definition of a Map2DLocation type
bool storeArea(std::string location_name, yarp::dev::Nav2D::Map2DArea area) override
Store an area.
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 getPath(std::string path_name, yarp::dev::Nav2D::Map2DPath &path) override
Retrieves a path.
yarp::os::Port m_rpcPort_to_Map2DServer
bool getPathsList(std::vector< std::string > &paths) override
Get a list of all stored paths.
bool store_map(const yarp::dev::Nav2D::MapGrid2D &map) override
Stores a map into the map server.
bool clearAllLocations() override
Delete all stored locations.
bool renameLocation(std::string original_name, std::string new_name) override
Searches for a location and renames it.
bool remove_map(std::string map_name) override
Removes a map from the map server.
bool getArea(std::string location_name, yarp::dev::Nav2D::Map2DArea &area) override
Retrieves an area.
bool storePath(std::string path_name, yarp::dev::Nav2D::Map2DPath path) override
Store a path.