29 #ifndef MAPVIZ_SELECT_TOPIC_DIALOG_H_ 30 #define MAPVIZ_SELECT_TOPIC_DIALOG_H_ 68 const std::string &datatype,
80 const std::string &datatype1,
81 const std::string &datatype2,
92 const std::vector<std::string> &datatypes,
103 static std::vector<ros::master::TopicInfo>
selectTopics(
104 const std::string &datatype,
115 static std::vector<ros::master::TopicInfo>
selectTopics(
116 const std::string &datatype1,
117 const std::string &datatype2,
126 static std::vector<ros::master::TopicInfo>
selectTopics(
127 const std::vector<std::string> &datatypes,
166 const std::vector<ros::master::TopicInfo> &)
const;
184 #endif // MAPVIZ_SELECT_TOPIC_DIALOG_H_ void closeEvent(QCloseEvent *)
std::set< std::string > allowed_datatypes_
static ros::master::TopicInfo selectTopic(const std::string &datatype, QWidget *parent=0)
void setDatatypeFilter(const std::vector< std::string > &datatypes)
ros::master::TopicInfo selectedTopic() const
std::vector< ros::master::TopicInfo > filterTopics(const std::vector< ros::master::TopicInfo > &) const
QListWidget * list_widget_
void updateDisplayedTopics()
QPushButton * cancel_button_
std::vector< ros::master::TopicInfo > known_topics_
void allowMultipleTopics(bool allow)
int fetch_topics_timer_id_
std::vector< ros::master::TopicInfo > displayed_topics_
SelectTopicDialog(QWidget *parent=0)
std::vector< ros::master::TopicInfo > selectedTopics() const
static std::vector< ros::master::TopicInfo > selectTopics(const std::string &datatype, QWidget *parent=0)
void timerEvent(QTimerEvent *)