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)
virtual bool shouldBeSaved () const
 Override this function to return true if this property should be saved to the config file, or false if it should not. The default implementation returns the opposite of getReadOnly().
 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

void rviz::StatusList::clear (  ) 

Definition at line 86 of file status_list.cpp.

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

Definition at line 76 of file status_list.cpp.

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

Reimplemented from rviz::StatusProperty.

Definition at line 117 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 45 of file status_list.cpp.

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

Definition at line 51 of file status_list.cpp.

virtual bool rviz::StatusList::shouldBeSaved (  )  const [inline, virtual]

Override this function to return true if this property should be saved to the config file, or false if it should not. The default implementation returns the opposite of getReadOnly().

Reimplemented from rviz::StatusProperty.

Definition at line 56 of file status_list.h.

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

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

Definition at line 123 of file status_list.cpp.

void rviz::StatusList::updateLevel (  ) 

Definition at line 101 of file status_list.cpp.


Member Data Documentation

QString rviz::StatusList::name_prefix_ [private]

Definition at line 63 of file status_list.h.

Definition at line 62 of file status_list.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Wed Jun 6 11:25:48 2012