#include <ros_topic_dialog.h>
Public Member Functions | |
RosTopicDialog (const std::string &message_type, std::string *topic_name_output, QWidget *parent=0) | |
Protected Slots | |
virtual void | accept () |
Private Slots | |
void | onTopicActivated (std::string new_topic) |
void | onTopicChanged (std::string new_topic) |
Private Attributes | |
QDialogButtonBox * | button_box_ |
std::string | message_type_ |
std::string | topic_name_ |
std::string * | topic_name_output_ |
RosTopicTree * | topic_tree_ |
Definition at line 43 of file ros_topic_dialog.h.
rviz::RosTopicDialog::RosTopicDialog | ( | const std::string & | message_type, |
std::string * | topic_name_output, | ||
QWidget * | parent = 0 |
||
) |
topic_name_output | a pointer to a std::string where the dialog will write the chosen topic name. If the user cancels without selecting a valid name, nothing will be written to this. |
Definition at line 40 of file ros_topic_dialog.cpp.
void rviz::RosTopicDialog::accept | ( | ) | [protected, virtual, slot] |
Definition at line 81 of file ros_topic_dialog.cpp.
void rviz::RosTopicDialog::onTopicActivated | ( | std::string | new_topic | ) | [private, slot] |
Definition at line 72 of file ros_topic_dialog.cpp.
void rviz::RosTopicDialog::onTopicChanged | ( | std::string | new_topic | ) | [private, slot] |
Definition at line 65 of file ros_topic_dialog.cpp.
QDialogButtonBox* rviz::RosTopicDialog::button_box_ [private] |
Definition at line 64 of file ros_topic_dialog.h.
std::string rviz::RosTopicDialog::message_type_ [private] |
Definition at line 65 of file ros_topic_dialog.h.
std::string rviz::RosTopicDialog::topic_name_ [private] |
Definition at line 66 of file ros_topic_dialog.h.
std::string* rviz::RosTopicDialog::topic_name_output_ [private] |
Definition at line 67 of file ros_topic_dialog.h.
RosTopicTree* rviz::RosTopicDialog::topic_tree_ [private] |
Definition at line 63 of file ros_topic_dialog.h.