Public Member Functions | Private Member Functions | Private Attributes
rviz::StatusList Class Reference

#include <status_list.h>

Inheritance diagram for rviz::StatusList:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void clear ()
void deleteStatus (const QString &name)
virtual void setLevel (Level level)
virtual void setName (const QString &name)
 Set the prefix of the name.
void setStatus (Level level, const QString &name, const QString &text)
 StatusList (const QString &name=QString("Status"), Property *parent=0)
void updateLevel ()

Private Member Functions

void updateLabel ()
 Update the label text based on the name_prefix_ and the current status level.

Private Attributes

QString name_prefix_
QHash< QString, StatusProperty * > status_children_

Detailed Description

Definition at line 37 of file status_list.h.


Constructor & Destructor Documentation

rviz::StatusList::StatusList ( const QString &  name = QString( "Status" ),
Property parent = 0 
)

Definition at line 39 of file status_list.cpp.


Member Function Documentation

Definition at line 87 of file status_list.cpp.

void rviz::StatusList::deleteStatus ( const QString &  name)

Definition at line 77 of file status_list.cpp.

void rviz::StatusList::setLevel ( Level  level) [virtual]

Reimplemented from rviz::StatusProperty.

Definition at line 124 of file status_list.cpp.

void rviz::StatusList::setName ( const QString &  name) [virtual]

Set the prefix of the name.

Setting the name to "Foo" will give a displayed name like "Foo: Ok" or "Foo: Error".

Reimplemented from rviz::Property.

Definition at line 46 of file status_list.cpp.

void rviz::StatusList::setStatus ( Level  level,
const QString &  name,
const QString &  text 
)

Definition at line 52 of file status_list.cpp.

void rviz::StatusList::updateLabel ( ) [private]

Update the label text based on the name_prefix_ and the current status level.

Definition at line 130 of file status_list.cpp.

Definition at line 108 of file status_list.cpp.


Member Data Documentation

QString rviz::StatusList::name_prefix_ [private]

Definition at line 61 of file status_list.h.

Definition at line 60 of file status_list.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Tue Oct 3 2017 03:19:32