#include <topic_display_dialog.h>
Public Member Functions | |
void | getSelection (std::vector< std::string > &selection) |
Returns the selected topics, or an empty vector if "Cancel" was pressed. | |
TopicDisplayDialog (wxWindow *parent, bool multiselect, const std::string &message_type="") | |
Constructor. | |
~TopicDisplayDialog () | |
Private Member Functions | |
virtual void | onCancel (wxCommandEvent &event) |
virtual void | onOK (wxCommandEvent &event) |
void | onTreeItemActivated (wxTreeEvent &event) |
Private Attributes | |
TopicDisplay * | topic_display_panel_ |
Definition at line 56 of file topic_display_dialog.h.
rxtools::TopicDisplayDialog::TopicDisplayDialog | ( | wxWindow * | parent, |
bool | multiselect, | ||
const std::string & | message_type = "" |
||
) |
Constructor.
parent | The parent window, or NULL |
node | The ROS node |
multiselect | Whether multiple selection is valid or not. If not, getSelection() will only ever return vectors of length 0 and 1 |
message_type | The message type of the topics you'd like to display, or empty for all topics |
Definition at line 44 of file topic_display_dialog.cpp.
Definition at line 53 of file topic_display_dialog.cpp.
void rxtools::TopicDisplayDialog::getSelection | ( | std::vector< std::string > & | selection | ) |
Returns the selected topics, or an empty vector if "Cancel" was pressed.
Definition at line 76 of file topic_display_dialog.cpp.
void rxtools::TopicDisplayDialog::onCancel | ( | wxCommandEvent & | event | ) | [private, virtual] |
Reimplemented from rxtools::GenTopicDisplayDialog.
Definition at line 71 of file topic_display_dialog.cpp.
void rxtools::TopicDisplayDialog::onOK | ( | wxCommandEvent & | event | ) | [private, virtual] |
Reimplemented from rxtools::GenTopicDisplayDialog.
Definition at line 57 of file topic_display_dialog.cpp.
void rxtools::TopicDisplayDialog::onTreeItemActivated | ( | wxTreeEvent & | event | ) | [private] |
Definition at line 81 of file topic_display_dialog.cpp.
Definition at line 79 of file topic_display_dialog.h.