MIRA
TopoMapParser.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2013,
3  Neuroinformatics and Cognitive Robotics Labs at TU Ilmenau, Germany
4 
5 All rights reserved.
6 
7 Copying, resale, or redistribution, with or without modification, is strictly
8 prohibited.
9 
10 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
11 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
12 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
13 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
14 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES,
15 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16 */
17 
26 #pragma once
27 
28 #include <utils/Path.h>
29 
30 #include <topomap/TopoMap.h>
31 
32 namespace viros { namespace topomap {
33 
35 
36 std::ostream& operator<<(std::ostream& os, const TopoMap& topo);
37 std::istream& operator>>(std::istream& in, TopoMap& topomap);
38 
39 void loadTopoMap(TopoMap& topomap, const Path& file);
40 void saveTopoMap(const TopoMap& topomap, const Path& file);
41 
43 
44 }} // namespace
void loadTopoMap(TopoMap &topomap, const Path &file)
boost::filesystem::path Path
void saveTopoMap(const TopoMap &topomap, const Path &file)
std::istream & operator>>(std::istream &in, TopoMap &topomap)
std::ostream & operator<<(std::ostream &os, const GatewayNode &gatewayNode)
Definition: MetricCostmapTopoMapPlanner.h:45