#include <property.h>
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 PropertyWidgetItem * | getWidgetItem () |
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_ |
PropertyWidgetItem * | top_widget_item_ |
Definition at line 132 of file property.h.
typedef std::map<std::string, Status> rviz::StatusProperty::M_StringToStatus [private] |
Definition at line 185 of file property.h.
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.
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.
void rviz::StatusProperty::disable | ( | ) |
Definition at line 215 of file property.cpp.
void rviz::StatusProperty::doWriteToGrid | ( | ) | [virtual] |
Implements rviz::PropertyBase.
Definition at line 327 of file property.cpp.
void rviz::StatusProperty::enable | ( | ) |
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.
virtual PropertyWidgetItem* rviz::StatusProperty::getWidgetItem | ( | ) | [inline, virtual] |
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.
void rviz::StatusProperty::updateTopLevelStatus | ( | ) | [private] |
Definition at line 256 of file property.cpp.
bool rviz::StatusProperty::enabled_ [private] |
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.
bool rviz::StatusProperty::prefix_changed_ [private] |
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.
StatusLevel rviz::StatusProperty::top_status_ [private] |
Definition at line 192 of file property.h.
Definition at line 169 of file property.h.