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>
21#include <return_get_area.h>
23#include <return_get_location.h>
25#include <return_get_map.h>
27#include <return_get_object.h>
29#include <return_get_path.h>
31#include <yarp/dev/Map2DArea.h>
34#include <yarp/dev/Map2DPath.h>
35#include <yarp/dev/MapGrid2D.h>
37
39 public yarp::os::Wire
40{
41public:
42 //ProtocolVersion
45 virtual bool checkProtocolVersion();
46
47 // Constructor
48 IMap2DMsgs();
49
50 //Service methods
52
54
55 virtual return_get_map get_map_RPC(const std::string& map_name);
56
58
59 virtual yarp::dev::ReturnValue remove_map_RPC(const std::string& map_name);
60
61 virtual yarp::dev::ReturnValue store_object_RPC(const std::string& object_name, const yarp::dev::Nav2D::Map2DObject& loc);
62
63 virtual yarp::dev::ReturnValue store_location_RPC(const std::string& location_name, const yarp::dev::Nav2D::Map2DLocation& loc);
64
65 virtual yarp::dev::ReturnValue store_area_RPC(const std::string& area_name, const yarp::dev::Nav2D::Map2DArea& area);
66
67 virtual yarp::dev::ReturnValue store_path_RPC(const std::string& path_name, const yarp::dev::Nav2D::Map2DPath& path);
68
69 virtual return_get_object get_object_RPC(const std::string& object_name);
70
71 virtual return_get_location get_location_RPC(const std::string& location_name);
72
73 virtual return_get_area get_area_RPC(const std::string& area_name);
74
75 virtual return_get_path get_path_RPC(const std::string& path_name);
76
78
80
82
84
86
88
90
92
93 virtual yarp::dev::ReturnValue rename_location_RPC(const std::string& original_name, const std::string& new_name);
94
95 virtual yarp::dev::ReturnValue delete_object_RPC(const std::string& object_name);
96
97 virtual yarp::dev::ReturnValue delete_location_RPC(const std::string& location_name);
98
99 virtual yarp::dev::ReturnValue delete_path_RPC(const std::string& path_name);
100
101 virtual yarp::dev::ReturnValue rename_object_RPC(const std::string& original_name, const std::string& new_name);
102
103 virtual yarp::dev::ReturnValue rename_area_RPC(const std::string& original_name, const std::string& new_name);
104
105 virtual yarp::dev::ReturnValue rename_path_RPC(const std::string& original_name, const std::string& new_name);
106
107 virtual yarp::dev::ReturnValue delete_area_RPC(const std::string& area_name);
108
110
112
114
116
118
119 virtual yarp::dev::ReturnValue clear_map_temporary_flags_RPC(const std::string& map_name);
120
121 virtual yarp::dev::ReturnValue save_maps_collection_RPC(const std::string& maps_collection_file);
122
123 virtual yarp::dev::ReturnValue load_maps_collection_RPC(const std::string& maps_collection_file);
124
125 virtual yarp::dev::ReturnValue save_locations_and_extras_RPC(const std::string& locations_collection_file);
126
127 virtual yarp::dev::ReturnValue load_locations_and_extras_RPC(const std::string& locations_collection_file);
128
129 virtual yarp::dev::ReturnValue save_map_to_disk_RPC(const std::string& map_name, const std::string& file_name);
130
131 virtual yarp::dev::ReturnValue load_map_from_disk_RPC(const std::string& file_name);
132
133 virtual yarp::dev::ReturnValue enable_maps_compression_RPC(const bool enable_compression);
134
136
138
139 // help method
140 virtual std::vector<std::string> help(const std::string& functionName = "--all");
141
142 // read from ConnectionReader
143 bool read(yarp::os::ConnectionReader& connection) override;
144};
145
146#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 Map2DObject 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 return_get_objects_list get_objects_list_RPC()
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 yarp::dev::ReturnValue store_object_RPC(const std::string &object_name, const yarp::dev::Nav2D::Map2DObject &loc)
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 yarp::dev::ReturnValue reload_locations_and_extras_RPC()
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 return_get_object get_object_RPC(const std::string &object_name)
virtual yarp::dev::ReturnValue store_path_RPC(const std::string &path_name, const yarp::dev::Nav2D::Map2DPath &path)
virtual yarp::dev::ReturnValue delete_object_RPC(const std::string &object_name)
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 yarp::dev::ReturnValue reload_maps_collection_RPC()
virtual yarp::dev::ReturnValue clear_all_objects_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 yarp::dev::ReturnValue rename_object_RPC(const std::string &original_name, const std::string &new_name)
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 return_get_all_objects get_all_objects_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