#include <VisualizationBase.hpp>
|
bool | getParam (const std::string &name, std::string &value) |
|
bool | getParam (const std::string &name, double &value) |
|
bool | getParam (const std::string &name, float &value) |
|
bool | getParam (const std::string &name, int &value) |
|
bool | getParam (const std::string &name, bool &value) |
|
Definition at line 20 of file VisualizationBase.hpp.
grid_map_visualization::VisualizationBase::VisualizationBase |
( |
ros::NodeHandle & |
nodeHandle, |
|
|
const std::string & |
name |
|
) |
| |
Constructor.
- Parameters
-
nodeHandle | the ROS node handle. |
name | the name of the visualization. |
Definition at line 13 of file VisualizationBase.cpp.
grid_map_visualization::VisualizationBase::~VisualizationBase |
( |
| ) |
|
|
virtual |
bool grid_map_visualization::VisualizationBase::getParam |
( |
const std::string & |
name, |
|
|
std::string & |
value |
|
) |
| |
|
protected |
Get a visualization parameter as a string.
- Parameters
-
[in] | name | the name of the parameter |
[out] | value | the string to set with the value. |
- Returns
- true if parameter was found, false otherwise.
Definition at line 53 of file VisualizationBase.cpp.
bool grid_map_visualization::VisualizationBase::getParam |
( |
const std::string & |
name, |
|
|
double & |
value |
|
) |
| |
|
protected |
Get a visualization parameter as a double.
- Parameters
-
[in] | name | the name of the parameter |
[out] | value | the double to set with the value. |
- Returns
- true if parameter was found, false otherwise.
Definition at line 62 of file VisualizationBase.cpp.
bool grid_map_visualization::VisualizationBase::getParam |
( |
const std::string & |
name, |
|
|
float & |
value |
|
) |
| |
|
protected |
Get a visualization parameter as a float.
- Parameters
-
[in] | name | the name of the parameter |
[out] | value | the float to set with the value. |
- Returns
- true if parameter was found, false otherwise.
Definition at line 73 of file VisualizationBase.cpp.
bool grid_map_visualization::VisualizationBase::getParam |
( |
const std::string & |
name, |
|
|
int & |
value |
|
) |
| |
|
protected |
Get a visualization parameter as an integer.
- Parameters
-
[in] | name | the name of the parameter |
[out] | value | the int to set with the value. |
- Returns
- true if parameter was found, false otherwise.
Definition at line 90 of file VisualizationBase.cpp.
bool grid_map_visualization::VisualizationBase::getParam |
( |
const std::string & |
name, |
|
|
bool & |
value |
|
) |
| |
|
protected |
Get a visualization parameter as a boolean.
- Parameters
-
[in] | name | the name of the parameter |
[out] | value | the boolean to set with the value. |
- Returns
- true if parameter was found, false otherwise.
Definition at line 81 of file VisualizationBase.cpp.
virtual bool grid_map_visualization::VisualizationBase::initialize |
( |
| ) |
|
|
pure virtual |
bool grid_map_visualization::VisualizationBase::isActive |
( |
| ) |
const |
Checks if visualization is active (if somebody has actually subscribed).
- Returns
- true if active, false otherwise.
Definition at line 23 of file VisualizationBase.cpp.
virtual bool grid_map_visualization::VisualizationBase::visualize |
( |
const grid_map::GridMap & |
map | ) |
|
|
pure virtual |
std::string grid_map_visualization::VisualizationBase::name_ |
|
protected |
StringMap grid_map_visualization::VisualizationBase::parameters_ |
|
protected |
The documentation for this class was generated from the following files: