Signals | Public Member Functions | Protected Slots | Private Attributes | List of all members
graph_rviz_plugin::LinePanel Class Reference

#include <line_panel.hpp>

Inheritance diagram for graph_rviz_plugin::LinePanel:
Inheritance graph
[legend]

Signals

void displayMessageBox (const QString, const QString, const QString, const QMessageBox::Icon)
 
void enable (const bool)
 
- Signals inherited from rviz::Panel
void configChanged ()
 

Public Member Functions

 LinePanel (QWidget *parent=0)
 
virtual ~LinePanel ()
 
- Public Member Functions inherited from rviz::Panel
virtual QString getClassId () const
 
virtual QString getDescription () const
 
virtual QString getName () const
 
void initialize (VisualizationManager *manager)
 
virtual void load (const Config &config)
 
virtual void onInitialize ()
 
 Panel (QWidget *parent=nullptr)
 
virtual void save (Config config) const
 
virtual void setClassId (const QString &class_id)
 
virtual void setDescription (const QString &description)
 
virtual void setName (const QString &name)
 
 ~Panel () override
 

Protected Slots

void displayMessageBoxHandler (const QString title, const QString text, const QString info="", const QMessageBox::Icon icon=QMessageBox::Icon::Information)
 
void enableLegend (bool legend_enable)
 
void exportClicked ()
 
void graphInit ()
 
void graphSettingsClicked ()
 
void graphSettingsUpdate ()
 
void graphUpdate ()
 
virtual void load (const rviz::Config &config)
 
void resetClicked ()
 
virtual void save (rviz::Config config) const
 
void settingsClicked ()
 
void startPauseClicked ()
 
void stopClicked ()
 
void topicsSelectionClicked ()
 

Private Attributes

std::deque< std::shared_ptr< TopicData > > displayed_topics_
 
QPushButton * export_button_
 
QString export_directory_ = ""
 
QTimer * graph_refresh_timer_
 
QPushButton * graph_settings_button_
 
std::atomic< bool > graph_stopped_
 
std::atomic< bool > legend_enable_
 
std::shared_ptr< ros::NodeHandlenh_
 
QCustomPlotplot_
 
unsigned refresh_freq_ = 40
 
QPushButton * start_pause_button_
 
QPushButton * stop_button_
 
QPushButton * topic_button_
 
TopicColor topic_color_class_
 
double w_time_ = 1
 
std::atomic< bool > window_time_enable_
 
double y_max_ = 1
 
double y_min_ = 0
 
std::atomic< bool > yaxis_rescale_auto_
 

Additional Inherited Members

- Protected Attributes inherited from rviz::Panel
VisualizationManagervis_manager_
 

Detailed Description

Definition at line 31 of file line_panel.hpp.

Constructor & Destructor Documentation

◆ LinePanel()

graph_rviz_plugin::LinePanel::LinePanel ( QWidget *  parent = 0)

Definition at line 6 of file line_panel.cpp.

◆ ~LinePanel()

graph_rviz_plugin::LinePanel::~LinePanel ( )
virtual

Definition at line 80 of file line_panel.cpp.

Member Function Documentation

◆ displayMessageBox

void graph_rviz_plugin::LinePanel::displayMessageBox ( const QString  ,
const QString  ,
const QString  ,
const QMessageBox::Icon   
)
signal

◆ displayMessageBoxHandler

void graph_rviz_plugin::LinePanel::displayMessageBoxHandler ( const QString  title,
const QString  text,
const QString  info = "",
const QMessageBox::Icon  icon = QMessageBox::Icon::Information 
)
protectedslot

Definition at line 140 of file line_panel.cpp.

◆ enable

void graph_rviz_plugin::LinePanel::enable ( const bool  )
signal

◆ enableLegend

void graph_rviz_plugin::LinePanel::enableLegend ( bool  legend_enable)
protectedslot

Definition at line 450 of file line_panel.cpp.

◆ exportClicked

void graph_rviz_plugin::LinePanel::exportClicked ( )
protectedslot

Definition at line 345 of file line_panel.cpp.

◆ graphInit

void graph_rviz_plugin::LinePanel::graphInit ( )
protectedslot

Definition at line 86 of file line_panel.cpp.

◆ graphSettingsClicked

void graph_rviz_plugin::LinePanel::graphSettingsClicked ( )
protectedslot

Definition at line 416 of file line_panel.cpp.

◆ graphSettingsUpdate

void graph_rviz_plugin::LinePanel::graphSettingsUpdate ( )
protectedslot

Definition at line 97 of file line_panel.cpp.

◆ graphUpdate

void graph_rviz_plugin::LinePanel::graphUpdate ( )
protectedslot

Definition at line 109 of file line_panel.cpp.

◆ load

void graph_rviz_plugin::LinePanel::load ( const rviz::Config config)
protectedvirtualslot

Definition at line 157 of file line_panel.cpp.

◆ resetClicked

void graph_rviz_plugin::LinePanel::resetClicked ( )
protectedslot

Definition at line 320 of file line_panel.cpp.

◆ save

void graph_rviz_plugin::LinePanel::save ( rviz::Config  config) const
protectedvirtualslot

Definition at line 240 of file line_panel.cpp.

◆ settingsClicked

void graph_rviz_plugin::LinePanel::settingsClicked ( )
protectedslot

Definition at line 424 of file line_panel.cpp.

◆ startPauseClicked

void graph_rviz_plugin::LinePanel::startPauseClicked ( )
protectedslot

Definition at line 264 of file line_panel.cpp.

◆ stopClicked

void graph_rviz_plugin::LinePanel::stopClicked ( )
protectedslot

Definition at line 307 of file line_panel.cpp.

◆ topicsSelectionClicked

void graph_rviz_plugin::LinePanel::topicsSelectionClicked ( )
protectedslot

Definition at line 367 of file line_panel.cpp.

Member Data Documentation

◆ displayed_topics_

std::deque<std::shared_ptr<TopicData> > graph_rviz_plugin::LinePanel::displayed_topics_
private

Definition at line 76 of file line_panel.hpp.

◆ export_button_

QPushButton* graph_rviz_plugin::LinePanel::export_button_
private

Definition at line 71 of file line_panel.hpp.

◆ export_directory_

QString graph_rviz_plugin::LinePanel::export_directory_ = ""
private

Definition at line 75 of file line_panel.hpp.

◆ graph_refresh_timer_

QTimer* graph_rviz_plugin::LinePanel::graph_refresh_timer_
private

Definition at line 72 of file line_panel.hpp.

◆ graph_settings_button_

QPushButton* graph_rviz_plugin::LinePanel::graph_settings_button_
private

Definition at line 70 of file line_panel.hpp.

◆ graph_stopped_

std::atomic<bool> graph_rviz_plugin::LinePanel::graph_stopped_
private

Definition at line 80 of file line_panel.hpp.

◆ legend_enable_

std::atomic<bool> graph_rviz_plugin::LinePanel::legend_enable_
private

Definition at line 77 of file line_panel.hpp.

◆ nh_

std::shared_ptr<ros::NodeHandle> graph_rviz_plugin::LinePanel::nh_
private

Definition at line 66 of file line_panel.hpp.

◆ plot_

QCustomPlot* graph_rviz_plugin::LinePanel::plot_
private

Definition at line 74 of file line_panel.hpp.

◆ refresh_freq_

unsigned graph_rviz_plugin::LinePanel::refresh_freq_ = 40
private

Definition at line 84 of file line_panel.hpp.

◆ start_pause_button_

QPushButton* graph_rviz_plugin::LinePanel::start_pause_button_
private

Definition at line 67 of file line_panel.hpp.

◆ stop_button_

QPushButton* graph_rviz_plugin::LinePanel::stop_button_
private

Definition at line 69 of file line_panel.hpp.

◆ topic_button_

QPushButton* graph_rviz_plugin::LinePanel::topic_button_
private

Definition at line 68 of file line_panel.hpp.

◆ topic_color_class_

TopicColor graph_rviz_plugin::LinePanel::topic_color_class_
private

Definition at line 73 of file line_panel.hpp.

◆ w_time_

double graph_rviz_plugin::LinePanel::w_time_ = 1
private

Definition at line 83 of file line_panel.hpp.

◆ window_time_enable_

std::atomic<bool> graph_rviz_plugin::LinePanel::window_time_enable_
private

Definition at line 79 of file line_panel.hpp.

◆ y_max_

double graph_rviz_plugin::LinePanel::y_max_ = 1
private

Definition at line 82 of file line_panel.hpp.

◆ y_min_

double graph_rviz_plugin::LinePanel::y_min_ = 0
private

Definition at line 81 of file line_panel.hpp.

◆ yaxis_rescale_auto_

std::atomic<bool> graph_rviz_plugin::LinePanel::yaxis_rescale_auto_
private

Definition at line 78 of file line_panel.hpp.


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


graph_rviz_plugin
Author(s): Édouard Pronier, Victor Lamoine - Institut Maupertuis
autogenerated on Mon Feb 28 2022 22:27:31