Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
rviz::StatusProperty Class Reference

#include <property.h>

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

List of all members.

Classes

struct  Status

Public Member Functions

virtual void addLegacyName (const std::string &name)
void clear ()
void deleteStatus (const std::string &name)
void disable ()
virtual void doWriteToGrid ()
void enable ()
virtual std::string getName ()
virtual CategoryPropertyWPtr getParent ()
virtual std::string getPrefix ()
virtual bool getSave ()
StatusLevel getTopLevelStatus ()
virtual PropertyWidgetItemgetWidgetItem ()
virtual void loadFromConfig (Config *config)
virtual void readFromGrid ()
virtual void saveToConfig (Config *config)
virtual void setPrefix (const std::string &prefix)
void setStatus (StatusLevel status, const std::string &name, const std::string &text)
 StatusProperty (const std::string &name, const std::string &prefix, const CategoryPropertyWPtr &parent, void *user_data)
 ~StatusProperty ()

Private Types

typedef std::map< std::string,
Status
M_StringToStatus

Private Member Functions

void updateTopLevelStatus ()

Private Attributes

bool enabled_
std::string name_
CategoryPropertyWPtr parent_
std::string prefix_
bool prefix_changed_
boost::mutex status_mutex_
M_StringToStatus statuses_
StatusLevel top_status_
PropertyWidgetItemtop_widget_item_

Detailed Description

Definition at line 132 of file property.h.


Member Typedef Documentation

typedef std::map<std::string, Status> rviz::StatusProperty::M_StringToStatus [private]

Definition at line 185 of file property.h.


Constructor & Destructor Documentation

rviz::StatusProperty::StatusProperty ( const std::string &  name,
const std::string &  prefix,
const CategoryPropertyWPtr &  parent,
void *  user_data 
)

Definition at line 190 of file property.cpp.

Definition at line 202 of file property.cpp.


Member Function Documentation

virtual void rviz::StatusProperty::addLegacyName ( const std::string &  name) [inline, virtual]

Implements rviz::PropertyBase.

Definition at line 151 of file property.h.

void rviz::StatusProperty::clear ( void  )

Definition at line 233 of file property.cpp.

void rviz::StatusProperty::deleteStatus ( const std::string &  name)

Definition at line 305 of file property.cpp.

Definition at line 215 of file property.cpp.

Implements rviz::PropertyBase.

Definition at line 327 of file property.cpp.

Definition at line 207 of file property.cpp.

virtual std::string rviz::StatusProperty::getName ( void  ) [inline, virtual]

Implements rviz::PropertyBase.

Definition at line 143 of file property.h.

virtual CategoryPropertyWPtr rviz::StatusProperty::getParent ( ) [inline, virtual]

Implements rviz::PropertyBase.

Definition at line 148 of file property.h.

virtual std::string rviz::StatusProperty::getPrefix ( ) [inline, virtual]

Implements rviz::PropertyBase.

Definition at line 144 of file property.h.

virtual bool rviz::StatusProperty::getSave ( ) [inline, virtual]

Implements rviz::PropertyBase.

Definition at line 146 of file property.h.

Definition at line 431 of file property.cpp.

Implements rviz::PropertyBase.

Definition at line 150 of file property.h.

virtual void rviz::StatusProperty::loadFromConfig ( Config config) [inline, virtual]

Implements rviz::PropertyBase.

Definition at line 141 of file property.h.

virtual void rviz::StatusProperty::readFromGrid ( ) [inline, virtual]

Implements rviz::PropertyBase.

Definition at line 139 of file property.h.

virtual void rviz::StatusProperty::saveToConfig ( Config config) [inline, virtual]

Implements rviz::PropertyBase.

Definition at line 140 of file property.h.

void rviz::StatusProperty::setPrefix ( const std::string &  prefix) [virtual]

Implements rviz::PropertyBase.

Definition at line 225 of file property.cpp.

void rviz::StatusProperty::setStatus ( StatusLevel  status,
const std::string &  name,
const std::string &  text 
)

Definition at line 277 of file property.cpp.

Definition at line 256 of file property.cpp.


Member Data Documentation

Definition at line 189 of file property.h.

std::string rviz::StatusProperty::name_ [private]

Definition at line 165 of file property.h.

CategoryPropertyWPtr rviz::StatusProperty::parent_ [private]

Definition at line 167 of file property.h.

std::string rviz::StatusProperty::prefix_ [private]

Definition at line 166 of file property.h.

Definition at line 190 of file property.h.

boost::mutex rviz::StatusProperty::status_mutex_ [private]

Definition at line 186 of file property.h.

Definition at line 187 of file property.h.

Definition at line 192 of file property.h.

Definition at line 169 of file property.h.


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


rviz
Author(s): Dave Hershberger, Josh Faust
autogenerated on Mon Jan 6 2014 11:54:34