VisualizationFactory.hpp
Go to the documentation of this file.
1 /*
2  * VisualizationFactory.hpp
3  *
4  * Created on: Mar 20, 2015
5  * Author: Péter Fankhauser
6  * Institute: ETH Zurich, ANYbotics
7  */
8 
9 #pragma once
10 
12 #include <vector>
13 #include <string>
14 #include <memory>
15 
16 namespace grid_map_visualization {
17 
19 {
20  public:
22  virtual ~VisualizationFactory();
23 
24  bool isValidType(const std::string& type);
25  std::shared_ptr<VisualizationBase> getInstance(const std::string& type, const std::string& name);
26 
27  private:
29  std::vector<std::string> types_;
30 };
31 
32 } /* namespace */
std::shared_ptr< VisualizationBase > getInstance(const std::string &type, const std::string &name)


grid_map_visualization
Author(s): Péter Fankhauser
autogenerated on Tue Jun 25 2019 20:02:32