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 Compiler (0.14.1-yarped)
7//
8// This is an automatically generated file.
9// It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
10
11#ifndef YARP_THRIFT_GENERATOR_SERVICE_IMAP2DMSGS_H
12#define YARP_THRIFT_GENERATOR_SERVICE_IMAP2DMSGS_H
13
14#include <yarp/os/Wire.h>
19#include <return_get_area.h>
21#include <return_get_location.h>
23#include <return_get_map.h>
25#include <return_get_path.h>
27#include <yarp/dev/Map2DArea.h>
29#include <yarp/dev/Map2DPath.h>
30#include <yarp/dev/MapGrid2D.h>
31
33 public yarp::os::Wire
34{
35public:
36 // Constructor
37 IMap2DMsgs();
38
39 virtual bool clear_all_maps_RPC();
40
41 virtual bool store_map_RPC(const yarp::dev::Nav2D::MapGrid2D& themap);
42
43 virtual return_get_map get_map_RPC(const std::string& map_name);
44
46
47 virtual bool remove_map_RPC(const std::string& map_name);
48
49 virtual bool store_location_RPC(const std::string& location_name, const yarp::dev::Nav2D::Map2DLocation& loc);
50
51 virtual bool store_area_RPC(const std::string& area_name, const yarp::dev::Nav2D::Map2DArea& area);
52
53 virtual bool store_path_RPC(const std::string& path_name, const yarp::dev::Nav2D::Map2DPath& path);
54
55 virtual return_get_location get_location_RPC(const std::string& location_name);
56
57 virtual return_get_area get_area_RPC(const std::string& area_name);
58
59 virtual return_get_path get_path_RPC(const std::string& path_name);
60
62
64
66
68
70
72
73 virtual bool rename_location_RPC(const std::string& original_name, const std::string& new_name);
74
75 virtual bool delete_location_RPC(const std::string& location_name);
76
77 virtual bool delete_path_RPC(const std::string& path_name);
78
79 virtual bool rename_area_RPC(const std::string& original_name, const std::string& new_name);
80
81 virtual bool rename_path_RPC(const std::string& original_name, const std::string& new_name);
82
83 virtual bool delete_area_RPC(const std::string& area_name);
84
85 virtual bool clear_all_locations_RPC();
86
87 virtual bool clear_all_areas_RPC();
88
89 virtual bool clear_all_paths_RPC();
90
92
93 virtual bool clear_map_temporary_flags_RPC(const std::string& map_name);
94
95 virtual bool save_maps_collection_RPC(const std::string& maps_collection_file);
96
97 virtual bool load_maps_collection_RPC(const std::string& maps_collection_file);
98
99 virtual bool save_locations_and_extras_RPC(const std::string& locations_collection_file);
100
101 virtual bool load_locations_and_extras_RPC(const std::string& locations_collection_file);
102
103 virtual bool save_map_to_disk_RPC(const std::string& map_name, const std::string& file_name);
104
105 virtual bool load_map_from_disk_RPC(const std::string& file_name);
106
107 virtual bool enable_maps_compression_RPC(const bool enable_compression);
108
109 // help method
110 virtual std::vector<std::string> help(const std::string& functionName = "--all");
111
112 // read from ConnectionReader
113 bool read(yarp::os::ConnectionReader& connection) override;
114};
115
116#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 Map2DPath type
contains the definition of a map type
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)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
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 std::vector< std::string > help(const std::string &functionName="--all")
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)
An interface for reading from a network connection.
Base class for IDL client/server.
Definition Wire.h:18