#include <path_plugin.h>
Public Member Functions | |
void | Draw (double x, double y, double scale) |
QWidget * | GetConfigWidget (QWidget *parent) |
bool | Initialize (QGLWidget *canvas) |
void | LoadConfig (const YAML::Node &node, const std::string &path) |
PathPlugin () | |
void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
void | Shutdown () |
virtual | ~PathPlugin () |
Protected Slots | |
void | SelectTopic () |
void | TopicEdited () |
Protected Member Functions | |
void | PrintError (const std::string &message) |
void | PrintInfo (const std::string &message) |
void | PrintWarning (const std::string &message) |
Private Member Functions | |
void | pathCallback (const nav_msgs::PathConstPtr &path) |
Private Attributes | |
QWidget * | config_widget_ |
bool | has_message_ |
ros::Subscriber | path_sub_ |
std::string | topic_ |
Ui::path_config | ui_ |
Definition at line 57 of file path_plugin.h.
virtual mapviz_plugins::PathPlugin::~PathPlugin | ( | ) | [virtual] |
void mapviz_plugins::PathPlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
QWidget* mapviz_plugins::PathPlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
bool mapviz_plugins::PathPlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::PathPlugin::LoadConfig | ( | const YAML::Node & | node, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::PathPlugin::pathCallback | ( | const nav_msgs::PathConstPtr & | path | ) | [private] |
void mapviz_plugins::PathPlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::PathPlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::PathPlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::PathPlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::PathPlugin::SelectTopic | ( | ) | [protected, slot] |
void mapviz_plugins::PathPlugin::Shutdown | ( | ) | [inline, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 66 of file path_plugin.h.
void mapviz_plugins::PathPlugin::TopicEdited | ( | ) | [protected, slot] |
QWidget* mapviz_plugins::PathPlugin::config_widget_ [private] |
Definition at line 88 of file path_plugin.h.
bool mapviz_plugins::PathPlugin::has_message_ [private] |
Definition at line 93 of file path_plugin.h.
Definition at line 92 of file path_plugin.h.
std::string mapviz_plugins::PathPlugin::topic_ [private] |
Definition at line 90 of file path_plugin.h.
Ui::path_config mapviz_plugins::PathPlugin::ui_ [private] |
Definition at line 87 of file path_plugin.h.