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

◆ ServiceUpdaterThread()

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

◆ fetchingFailed

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

◆ run()

void mapviz::ServiceUpdaterThread::run ( )

Definition at line 48 of file select_service_dialog.cpp.

◆ servicesFetched

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

Member Data Documentation

◆ allowed_datatype_

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

Definition at line 80 of file select_service_dialog.h.

◆ nh_

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 Fri Dec 16 2022 03:59:30