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>
20#include <return_get_area.h>
22#include <return_get_location.h>
24#include <return_get_map.h>
26#include <return_get_path.h>
28#include <yarp/dev/Map2DArea.h>
30#include <yarp/dev/Map2DPath.h>
31#include <yarp/dev/MapGrid2D.h>
33
35 public yarp::os::Wire
36{
37public:
38 //ProtocolVersion
41 virtual bool checkProtocolVersion();
42
43 // Constructor
44 IMap2DMsgs();
45
46 //Service methods
48
50
51 virtual return_get_map get_map_RPC(const std::string& map_name);
52
54
55 virtual yarp::dev::ReturnValue remove_map_RPC(const std::string& map_name);
56
57 virtual yarp::dev::ReturnValue store_location_RPC(const std::string& location_name, const yarp::dev::Nav2D::Map2DLocation& loc);
58
59 virtual yarp::dev::ReturnValue store_area_RPC(const std::string& area_name, const yarp::dev::Nav2D::Map2DArea& area);
60
61 virtual yarp::dev::ReturnValue store_path_RPC(const std::string& path_name, const yarp::dev::Nav2D::Map2DPath& path);
62
63 virtual return_get_location get_location_RPC(const std::string& location_name);
64
65 virtual return_get_area get_area_RPC(const std::string& area_name);
66
67 virtual return_get_path get_path_RPC(const std::string& path_name);
68
70
72
74
76
78
80
81 virtual yarp::dev::ReturnValue rename_location_RPC(const std::string& original_name, const std::string& new_name);
82
83 virtual yarp::dev::ReturnValue delete_location_RPC(const std::string& location_name);
84
85 virtual yarp::dev::ReturnValue delete_path_RPC(const std::string& path_name);
86
87 virtual yarp::dev::ReturnValue rename_area_RPC(const std::string& original_name, const std::string& new_name);
88
89 virtual yarp::dev::ReturnValue rename_path_RPC(const std::string& original_name, const std::string& new_name);
90
91 virtual yarp::dev::ReturnValue delete_area_RPC(const std::string& area_name);
92
94
96
98
100
101 virtual yarp::dev::ReturnValue clear_map_temporary_flags_RPC(const std::string& map_name);
102
103 virtual yarp::dev::ReturnValue save_maps_collection_RPC(const std::string& maps_collection_file);
104
105 virtual yarp::dev::ReturnValue load_maps_collection_RPC(const std::string& maps_collection_file);
106
107 virtual yarp::dev::ReturnValue save_locations_and_extras_RPC(const std::string& locations_collection_file);
108
109 virtual yarp::dev::ReturnValue load_locations_and_extras_RPC(const std::string& locations_collection_file);
110
111 virtual yarp::dev::ReturnValue save_map_to_disk_RPC(const std::string& map_name, const std::string& file_name);
112
113 virtual yarp::dev::ReturnValue load_map_from_disk_RPC(const std::string& file_name);
114
115 virtual yarp::dev::ReturnValue enable_maps_compression_RPC(const bool enable_compression);
116
117 // help method
118 virtual std::vector<std::string> help(const std::string& functionName = "--all");
119
120 // read from ConnectionReader
121 bool read(yarp::os::ConnectionReader& connection) override;
122};
123
124#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 yarp::dev::ReturnValue save_map_to_disk_RPC(const std::string &map_name, const std::string &file_name)
virtual yarp::dev::ReturnValue save_maps_collection_RPC(const std::string &maps_collection_file)
virtual yarp::dev::ReturnValue remove_map_RPC(const std::string &map_name)
virtual yarp::dev::ReturnValue clear_all_areas_RPC()
virtual yarp::dev::ReturnValue enable_maps_compression_RPC(const bool enable_compression)
virtual yarp::dev::ReturnValue store_area_RPC(const std::string &area_name, const yarp::dev::Nav2D::Map2DArea &area)
virtual yarp::dev::ReturnValue rename_path_RPC(const std::string &original_name, const std::string &new_name)
virtual yarp::dev::ReturnValue delete_path_RPC(const std::string &path_name)
virtual return_get_all_areas get_all_areas_RPC()
virtual yarp::dev::ReturnValue store_map_RPC(const yarp::dev::Nav2D::MapGrid2D &themap)
virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion()
virtual yarp::dev::ReturnValue rename_location_RPC(const std::string &original_name, const std::string &new_name)
virtual return_get_location get_location_RPC(const std::string &location_name)
virtual return_get_areas_list get_areas_list_RPC()
virtual yarp::dev::ReturnValue load_map_from_disk_RPC(const std::string &file_name)
virtual bool checkProtocolVersion()
virtual return_get_path get_path_RPC(const std::string &path_name)
virtual yarp::dev::ReturnValue store_path_RPC(const std::string &path_name, const yarp::dev::Nav2D::Map2DPath &path)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual yarp::dev::ReturnValue clear_all_locations_RPC()
virtual yarp::dev::ReturnValue rename_area_RPC(const std::string &original_name, const std::string &new_name)
virtual yarp::dev::ReturnValue clear_all_maps_RPC()
virtual yarp::dev::ReturnValue delete_location_RPC(const std::string &location_name)
virtual yarp::dev::ReturnValue load_locations_and_extras_RPC(const std::string &locations_collection_file)
virtual yarp::dev::ReturnValue load_maps_collection_RPC(const std::string &maps_collection_file)
virtual yarp::dev::ReturnValue delete_area_RPC(const std::string &area_name)
virtual yarp::dev::ReturnValue store_location_RPC(const std::string &location_name, const yarp::dev::Nav2D::Map2DLocation &loc)
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 yarp::dev::ReturnValue save_locations_and_extras_RPC(const std::string &locations_collection_file)
virtual yarp::dev::ReturnValue clear_all_maps_temporary_flags_RPC()
virtual return_get_paths_list get_paths_list_RPC()
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual yarp::dev::ReturnValue clear_all_paths_RPC()
virtual return_get_locations_list get_locations_list_RPC()
virtual return_get_all_locations get_all_locations_RPC()
virtual yarp::dev::ReturnValue clear_map_temporary_flags_RPC(const std::string &map_name)
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion()
An interface for reading from a network connection.
Base class for IDL client/server.
Definition Wire.h:18