Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes
mapviz_plugins::GpsPlugin Class Reference

#include <gps_plugin.h>

Inheritance diagram for mapviz_plugins::GpsPlugin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Draw (double x, double y, double scale)
QWidget * GetConfigWidget (QWidget *parent)
 GpsPlugin ()
bool Initialize (QGLWidget *canvas)
void LoadConfig (const YAML::Node &node, const std::string &path)
void SaveConfig (YAML::Emitter &emitter, const std::string &path)
void Shutdown ()
virtual ~GpsPlugin ()

Protected Slots

void SelectTopic ()
void TopicEdited ()

Protected Member Functions

void PrintError (const std::string &message)
void PrintInfo (const std::string &message)
void PrintWarning (const std::string &message)

Private Member Functions

void GPSFixCallback (const gps_common::GPSFixConstPtr &gps)

Private Attributes

QWidget * config_widget_
ros::Subscriber gps_sub_
bool has_message_
swri_transform_util::LocalXyWgs84Util local_xy_util_
std::string topic_
Ui::gps_config ui_

Detailed Description

Definition at line 50 of file gps_plugin.h.


Constructor & Destructor Documentation

Definition at line 46 of file gps_plugin.cpp.

Definition at line 80 of file gps_plugin.cpp.


Member Function Documentation

void mapviz_plugins::GpsPlugin::Draw ( double  x,
double  y,
double  scale 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 194 of file gps_plugin.cpp.

QWidget * mapviz_plugins::GpsPlugin::GetConfigWidget ( QWidget *  parent) [virtual]

Reimplemented from mapviz::MapvizPlugin.

Definition at line 179 of file gps_plugin.cpp.

void mapviz_plugins::GpsPlugin::GPSFixCallback ( const gps_common::GPSFixConstPtr &  gps) [private]

Definition at line 118 of file gps_plugin.cpp.

bool mapviz_plugins::GpsPlugin::Initialize ( QGLWidget *  canvas) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 186 of file gps_plugin.cpp.

void mapviz_plugins::GpsPlugin::LoadConfig ( const YAML::Node &  node,
const std::string &  path 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 202 of file gps_plugin.cpp.

void mapviz_plugins::GpsPlugin::PrintError ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 164 of file gps_plugin.cpp.

void mapviz_plugins::GpsPlugin::PrintInfo ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 169 of file gps_plugin.cpp.

void mapviz_plugins::GpsPlugin::PrintWarning ( const std::string &  message) [protected, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 174 of file gps_plugin.cpp.

void mapviz_plugins::GpsPlugin::SaveConfig ( YAML::Emitter &  emitter,
const std::string &  path 
) [virtual]

Implements mapviz::MapvizPlugin.

Definition at line 275 of file gps_plugin.cpp.

void mapviz_plugins::GpsPlugin::SelectTopic ( ) [protected, slot]

Definition at line 84 of file gps_plugin.cpp.

void mapviz_plugins::GpsPlugin::Shutdown ( ) [inline, virtual]

Implements mapviz::MapvizPlugin.

Definition at line 59 of file gps_plugin.h.

void mapviz_plugins::GpsPlugin::TopicEdited ( ) [protected, slot]

Definition at line 96 of file gps_plugin.cpp.


Member Data Documentation

Definition at line 81 of file gps_plugin.h.

Definition at line 85 of file gps_plugin.h.

Definition at line 86 of file gps_plugin.h.

Definition at line 88 of file gps_plugin.h.

std::string mapviz_plugins::GpsPlugin::topic_ [private]

Definition at line 83 of file gps_plugin.h.

Ui::gps_config mapviz_plugins::GpsPlugin::ui_ [private]

Definition at line 80 of file gps_plugin.h.


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


mapviz_plugins
Author(s): Marc Alban
autogenerated on Thu Jun 6 2019 18:51:07