Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
rqt_marble::MarblePlugin Class Reference

#include <marble_plugin.h>

Inheritance diagram for rqt_marble::MarblePlugin:
Inheritance graph
[legend]

List of all members.

Signals

void newGpsPosition (qreal, qreal)

Public Member Functions

void gpsCallback (const sensor_msgs::NavSatFixConstPtr &gpspt)
virtual void initPlugin (qt_gui_cpp::PluginContext &context)
 MarblePlugin ()
virtual void restoreSettings (const qt_gui_cpp::Settings &plugin_settings, const qt_gui_cpp::Settings &instance_settings)
virtual void saveSettings (qt_gui_cpp::Settings &plugin_settings, qt_gui_cpp::Settings &instance_settings) const
virtual void shutdownPlugin ()

Private Slots

void changeGpsTopic (const QString &topic_name)
void changeMarbleModelTheme (int idx)
void enableNavigation (bool checked)
void routeChanged ()
void setKmlFile (bool envoke_file_dialog=true)

Private Member Functions

void findGpsTopics ()
void initWidget (qt_gui_cpp::PluginContext &context)

Private Attributes

ros::Subscriber m_sat_nav_fix_subscriber
Marble::MapThemeManager * map_theme_manager
Marble::RouteRequest * request
rqt_marble::BridgeRosMarbleros_navigation
Marble::RoutingModel * routeModel
Marble::RoutingManager * routing_manager
Ui_MarblePluginWidget ui_
QWidget * widget_

Detailed Description

MarblePlugin class works as an interface for 2 libraries: for Marble via Ui_form class and for rqt framework by extending rqt_gui_cpp::Plugin class.

Definition at line 54 of file marble_plugin.h.


Constructor & Destructor Documentation

Definition at line 58 of file marble_plugin.cpp.


Member Function Documentation

void rqt_marble::MarblePlugin::changeGpsTopic ( const QString &  topic_name) [private, slot]

Definition at line 179 of file marble_plugin.cpp.

void rqt_marble::MarblePlugin::changeMarbleModelTheme ( int  idx) [private, slot]
Parameters:
idx,:index within combobox

Definition at line 169 of file marble_plugin.cpp.

void rqt_marble::MarblePlugin::enableNavigation ( bool  checked) [private, slot]

Definition at line 290 of file marble_plugin.cpp.

Capture GPS Topics from ROS and set the topic names on combo box.

Definition at line 143 of file marble_plugin.cpp.

void rqt_marble::MarblePlugin::gpsCallback ( const sensor_msgs::NavSatFixConstPtr &  gpspt)

Definition at line 210 of file marble_plugin.cpp.

Overridden from rqt_gui_cpp::Plugin

Reimplemented from qt_gui_cpp::Plugin.

Definition at line 72 of file marble_plugin.cpp.

Definition at line 84 of file marble_plugin.cpp.

void rqt_marble::MarblePlugin::newGpsPosition ( qreal  ,
qreal   
) [signal]
void rqt_marble::MarblePlugin::restoreSettings ( const qt_gui_cpp::Settings plugin_settings,
const qt_gui_cpp::Settings instance_settings 
) [virtual]

Reimplemented from qt_gui_cpp::Plugin.

Definition at line 255 of file marble_plugin.cpp.

void rqt_marble::MarblePlugin::routeChanged ( ) [private, slot]

Definition at line 298 of file marble_plugin.cpp.

void rqt_marble::MarblePlugin::saveSettings ( qt_gui_cpp::Settings plugin_settings,
qt_gui_cpp::Settings instance_settings 
) const [virtual]

Reimplemented from qt_gui_cpp::Plugin.

Definition at line 239 of file marble_plugin.cpp.

void rqt_marble::MarblePlugin::setKmlFile ( bool  envoke_file_dialog = true) [private, slot]

Definition at line 186 of file marble_plugin.cpp.

Reimplemented from rqt_gui_cpp::Plugin.

Definition at line 163 of file marble_plugin.cpp.


Member Data Documentation

Definition at line 92 of file marble_plugin.h.

Marble::MapThemeManager* rqt_marble::MarblePlugin::map_theme_manager [private]

Definition at line 96 of file marble_plugin.h.

Marble::RouteRequest* rqt_marble::MarblePlugin::request [private]

Definition at line 94 of file marble_plugin.h.

Definition at line 97 of file marble_plugin.h.

Marble::RoutingModel* rqt_marble::MarblePlugin::routeModel [private]

Definition at line 95 of file marble_plugin.h.

Marble::RoutingManager* rqt_marble::MarblePlugin::routing_manager [private]

Definition at line 93 of file marble_plugin.h.

Ui_MarblePluginWidget rqt_marble::MarblePlugin::ui_ [private]

Definition at line 90 of file marble_plugin.h.

Definition at line 91 of file marble_plugin.h.


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


rqt_marble
Author(s): Isaac Saito , Tobias Baer , Jan Aidel
autogenerated on Sun Apr 12 2015 11:18:08