Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
jsk_rviz_plugins::OverlayDiagnosticDisplay Class Reference

#include <overlay_diagnostic_display.h>

Inheritance diagram for jsk_rviz_plugins::OverlayDiagnosticDisplay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 OverlayDiagnosticDisplay ()
virtual ~OverlayDiagnosticDisplay ()

Protected Slots

virtual void updateAlpha ()
virtual void updateDiagnosticsNamespace ()
virtual void updateLeft ()
virtual void updateRosTopic ()
virtual void updateSize ()
virtual void updateStallDuration ()
virtual void updateTop ()

Protected Member Functions

virtual QColor blendColor (QColor a, QColor b, double a_rate)
virtual double drawAnimatingText (QPainter &painter, QColor fg_color, const double height, const double font_size, const std::string text)
virtual void drawText (QPainter &painter, QColor fg_color, const std::string &text)
virtual void fillNamespaceList ()
virtual QColor foregroundColor ()
virtual bool isStalled ()
virtual void onDisable ()
virtual void onEnable ()
virtual void onInitialize ()
virtual void processMessage (const diagnostic_msgs::DiagnosticArray::ConstPtr &msg)
virtual void redraw ()
virtual std::string statusText ()
virtual void subscribe ()
virtual void unsubscribe ()
virtual void update (float wall_dt, float ros_dt)

Protected Attributes

double alpha_
rviz::FloatPropertyalpha_property_
std::string diagnostics_namespace_
rviz::EditableEnumPropertydiagnostics_namespace_property_
ros::WallTime latest_message_time_
diagnostic_msgs::DiagnosticStatus::Ptr latest_status_
int left_
rviz::IntPropertyleft_property_
boost::mutex mutex_
std::set< std::stringnamespaces_
OverlayObject::Ptr overlay_
rviz::RosTopicPropertyros_topic_property_
int size_
rviz::IntPropertysize_property_
double stall_duration_
rviz::FloatPropertystall_duration_property_
ros::Subscriber sub_
double t_
int top_
rviz::IntPropertytop_property_

Detailed Description

Definition at line 57 of file overlay_diagnostic_display.h.


Constructor & Destructor Documentation

Definition at line 52 of file overlay_diagnostic_display.cpp.

Definition at line 91 of file overlay_diagnostic_display.cpp.


Member Function Documentation

QColor jsk_rviz_plugins::OverlayDiagnosticDisplay::blendColor ( QColor  a,
QColor  b,
double  a_rate 
) [protected, virtual]

Definition at line 301 of file overlay_diagnostic_display.cpp.

double jsk_rviz_plugins::OverlayDiagnosticDisplay::drawAnimatingText ( QPainter &  painter,
QColor  fg_color,
const double  height,
const double  font_size,
const std::string  text 
) [protected, virtual]

Definition at line 309 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::drawText ( QPainter &  painter,
QColor  fg_color,
const std::string text 
) [protected, virtual]

Definition at line 341 of file overlay_diagnostic_display.cpp.

Definition at line 397 of file overlay_diagnostic_display.cpp.

Definition at line 267 of file overlay_diagnostic_display.cpp.

Definition at line 223 of file overlay_diagnostic_display.cpp.

Reimplemented from rviz::Display.

Definition at line 185 of file overlay_diagnostic_display.cpp.

Reimplemented from rviz::Display.

Definition at line 176 of file overlay_diagnostic_display.cpp.

Reimplemented from rviz::Display.

Definition at line 194 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::processMessage ( const diagnostic_msgs::DiagnosticArray::ConstPtr &  msg) [protected, virtual]

Definition at line 106 of file overlay_diagnostic_display.cpp.

Definition at line 368 of file overlay_diagnostic_display.cpp.

Definition at line 240 of file overlay_diagnostic_display.cpp.

Definition at line 214 of file overlay_diagnostic_display.cpp.

Definition at line 209 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::update ( float  wall_dt,
float  ros_dt 
) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 153 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateAlpha ( ) [protected, virtual, slot]

Definition at line 427 of file overlay_diagnostic_display.cpp.

Definition at line 416 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateLeft ( ) [protected, virtual, slot]

Definition at line 437 of file overlay_diagnostic_display.cpp.

Definition at line 409 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateSize ( ) [protected, virtual, slot]

Definition at line 422 of file overlay_diagnostic_display.cpp.

Definition at line 442 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateTop ( ) [protected, virtual, slot]

Definition at line 432 of file overlay_diagnostic_display.cpp.


Member Data Documentation

Definition at line 94 of file overlay_diagnostic_display.h.

Definition at line 102 of file overlay_diagnostic_display.h.

Definition at line 92 of file overlay_diagnostic_display.h.

Definition at line 99 of file overlay_diagnostic_display.h.

Definition at line 90 of file overlay_diagnostic_display.h.

diagnostic_msgs::DiagnosticStatus::Ptr jsk_rviz_plugins::OverlayDiagnosticDisplay::latest_status_ [protected]

Definition at line 89 of file overlay_diagnostic_display.h.

Definition at line 95 of file overlay_diagnostic_display.h.

Definition at line 101 of file overlay_diagnostic_display.h.

Definition at line 86 of file overlay_diagnostic_display.h.

Definition at line 93 of file overlay_diagnostic_display.h.

Definition at line 87 of file overlay_diagnostic_display.h.

Definition at line 98 of file overlay_diagnostic_display.h.

Definition at line 91 of file overlay_diagnostic_display.h.

Definition at line 103 of file overlay_diagnostic_display.h.

Definition at line 97 of file overlay_diagnostic_display.h.

Definition at line 104 of file overlay_diagnostic_display.h.

Definition at line 106 of file overlay_diagnostic_display.h.

Definition at line 96 of file overlay_diagnostic_display.h.

Definition at line 95 of file overlay_diagnostic_display.h.

Definition at line 100 of file overlay_diagnostic_display.h.


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


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Sun Sep 13 2015 22:29:03