#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.
Definition at line 51 of file path_plugin.cpp.
mapviz_plugins::PathPlugin::~PathPlugin | ( | ) | [virtual] |
Definition at line 72 of file path_plugin.cpp.
void mapviz_plugins::PathPlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 161 of file path_plugin.cpp.
QWidget * mapviz_plugins::PathPlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 147 of file path_plugin.cpp.
bool mapviz_plugins::PathPlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 154 of file path_plugin.cpp.
void mapviz_plugins::PathPlugin::LoadConfig | ( | const YAML::Node & | node, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 178 of file path_plugin.cpp.
void mapviz_plugins::PathPlugin::pathCallback | ( | const nav_msgs::PathConstPtr & | path | ) | [private] |
Definition at line 110 of file path_plugin.cpp.
void mapviz_plugins::PathPlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 132 of file path_plugin.cpp.
void mapviz_plugins::PathPlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 137 of file path_plugin.cpp.
void mapviz_plugins::PathPlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 142 of file path_plugin.cpp.
void mapviz_plugins::PathPlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 197 of file path_plugin.cpp.
void mapviz_plugins::PathPlugin::SelectTopic | ( | ) | [protected, slot] |
Definition at line 76 of file path_plugin.cpp.
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] |
Definition at line 88 of file path_plugin.cpp.
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.