Signals | Public Member Functions | Private Attributes | List of all members
mapviz::ServiceUpdaterThread Class Reference

#include <select_service_dialog.h>

Inheritance diagram for mapviz::ServiceUpdaterThread:
Inheritance graph


void fetchingFailed (const QString error_msg)
void servicesFetched (ServiceStringVector services)

Public Member Functions

void run ()
 ServiceUpdaterThread (ros::NodeHandle &nh, const std::string &allowed_datatype, QObject *parent)

Private Attributes

const std::string & allowed_datatype_

Detailed Description

Enumerating services requires making a remote service call; doing this in the GUI thread could cause Mapviz to block and become unresponsive, so it is offloaded to another thread.

Definition at line 62 of file select_service_dialog.h.

Constructor & Destructor Documentation

mapviz::ServiceUpdaterThread::ServiceUpdaterThread ( ros::NodeHandle nh,
const std::string &  allowed_datatype,
QObject *  parent 

Definition at line 66 of file select_service_dialog.h.

Member Function Documentation

void mapviz::ServiceUpdaterThread::fetchingFailed ( const QString  error_msg)
void mapviz::ServiceUpdaterThread::run ( )

Definition at line 48 of file select_service_dialog.cpp.

void mapviz::ServiceUpdaterThread::servicesFetched ( ServiceStringVector  services)

Member Data Documentation

const std::string& mapviz::ServiceUpdaterThread::allowed_datatype_

Definition at line 80 of file select_service_dialog.h.

ros::NodeHandle& mapviz::ServiceUpdaterThread::nh_

Definition at line 79 of file select_service_dialog.h.

The documentation for this class was generated from the following files:

Author(s): Marc Alban
autogenerated on Thu Jun 6 2019 19:25:08