Main Page
Namespaces
Classes
Files
File List
File Members
include
grid_map_visualization
visualizations
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
11
#include <
grid_map_visualization/visualizations/VisualizationBase.hpp
>
12
#include <vector>
13
#include <string>
14
#include <memory>
15
16
namespace
grid_map_visualization
{
17
18
class
VisualizationFactory
19
{
20
public
:
21
VisualizationFactory
(
ros::NodeHandle
& nodeHandle);
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
:
28
ros::NodeHandle
&
nodeHandle_
;
29
std::vector<std::string>
types_
;
30
};
31
32
}
/* namespace */
grid_map_visualization::VisualizationFactory::isValidType
bool isValidType(const std::string &type)
Definition:
VisualizationFactory.cpp:37
ros::NodeHandle
grid_map_visualization::VisualizationFactory::~VisualizationFactory
virtual ~VisualizationFactory()
Definition:
VisualizationFactory.cpp:33
grid_map_visualization::VisualizationFactory::getInstance
std::shared_ptr< VisualizationBase > getInstance(const std::string &type, const std::string &name)
Definition:
VisualizationFactory.cpp:42
grid_map_visualization::VisualizationFactory
Definition:
VisualizationFactory.hpp:18
grid_map_visualization
Definition:
GridMapVisualization.hpp:26
grid_map_visualization::VisualizationFactory::nodeHandle_
ros::NodeHandle & nodeHandle_
Definition:
VisualizationFactory.hpp:28
grid_map_visualization::VisualizationFactory::types_
std::vector< std::string > types_
Definition:
VisualizationFactory.hpp:29
grid_map_visualization::VisualizationFactory::VisualizationFactory
VisualizationFactory(ros::NodeHandle &nodeHandle)
Definition:
VisualizationFactory.cpp:22
VisualizationBase.hpp
grid_map_visualization
Author(s): Péter Fankhauser
autogenerated on Tue Jun 25 2019 20:02:32