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
[legend]

Signals

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_
 
ros::NodeHandlenh_
 

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 
)
inline

Definition at line 66 of file select_service_dialog.h.

Member Function Documentation

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

Definition at line 48 of file select_service_dialog.cpp.

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

Member Data Documentation

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

Definition at line 80 of file select_service_dialog.h.

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

Definition at line 79 of file select_service_dialog.h.


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


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