#include <overlay_diagnostic_display.h>
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::FloatProperty * | alpha_property_ |
std::string | diagnostics_namespace_ |
rviz::EditableEnumProperty * | diagnostics_namespace_property_ |
ros::WallTime | latest_message_time_ |
diagnostic_msgs::DiagnosticStatus::Ptr | latest_status_ |
int | left_ |
rviz::IntProperty * | left_property_ |
boost::mutex | mutex_ |
std::set< std::string > | namespaces_ |
OverlayObject::Ptr | overlay_ |
rviz::RosTopicProperty * | ros_topic_property_ |
int | size_ |
rviz::IntProperty * | size_property_ |
double | stall_duration_ |
rviz::FloatProperty * | stall_duration_property_ |
ros::Subscriber | sub_ |
double | t_ |
int | top_ |
rviz::IntProperty * | top_property_ |
Definition at line 57 of file overlay_diagnostic_display.h.
Definition at line 52 of file overlay_diagnostic_display.cpp.
Definition at line 91 of file overlay_diagnostic_display.cpp.
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.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::fillNamespaceList | ( | ) | [protected, virtual] |
Definition at line 397 of file overlay_diagnostic_display.cpp.
QColor jsk_rviz_plugins::OverlayDiagnosticDisplay::foregroundColor | ( | ) | [protected, virtual] |
Definition at line 267 of file overlay_diagnostic_display.cpp.
bool jsk_rviz_plugins::OverlayDiagnosticDisplay::isStalled | ( | ) | [protected, virtual] |
Definition at line 223 of file overlay_diagnostic_display.cpp.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::onDisable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 185 of file overlay_diagnostic_display.cpp.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::onEnable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 176 of file overlay_diagnostic_display.cpp.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::onInitialize | ( | ) | [protected, virtual] |
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.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::redraw | ( | ) | [protected, virtual] |
Definition at line 368 of file overlay_diagnostic_display.cpp.
std::string jsk_rviz_plugins::OverlayDiagnosticDisplay::statusText | ( | ) | [protected, virtual] |
Definition at line 240 of file overlay_diagnostic_display.cpp.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::subscribe | ( | ) | [protected, virtual] |
Definition at line 214 of file overlay_diagnostic_display.cpp.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::unsubscribe | ( | ) | [protected, virtual] |
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.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateDiagnosticsNamespace | ( | ) | [protected, virtual, slot] |
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.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateRosTopic | ( | ) | [protected, virtual, slot] |
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.
void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateStallDuration | ( | ) | [protected, virtual, slot] |
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.
double jsk_rviz_plugins::OverlayDiagnosticDisplay::alpha_ [protected] |
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.
rviz::EditableEnumProperty* jsk_rviz_plugins::OverlayDiagnosticDisplay::diagnostics_namespace_property_ [protected] |
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.
int jsk_rviz_plugins::OverlayDiagnosticDisplay::left_ [protected] |
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.
int jsk_rviz_plugins::OverlayDiagnosticDisplay::size_ [protected] |
Definition at line 91 of file overlay_diagnostic_display.h.
Definition at line 103 of file overlay_diagnostic_display.h.
double jsk_rviz_plugins::OverlayDiagnosticDisplay::stall_duration_ [protected] |
Definition at line 97 of file overlay_diagnostic_display.h.
rviz::FloatProperty* jsk_rviz_plugins::OverlayDiagnosticDisplay::stall_duration_property_ [protected] |
Definition at line 104 of file overlay_diagnostic_display.h.
Definition at line 106 of file overlay_diagnostic_display.h.
double jsk_rviz_plugins::OverlayDiagnosticDisplay::t_ [protected] |
Definition at line 96 of file overlay_diagnostic_display.h.
int jsk_rviz_plugins::OverlayDiagnosticDisplay::top_ [protected] |
Definition at line 95 of file overlay_diagnostic_display.h.
Definition at line 100 of file overlay_diagnostic_display.h.