#include <display_wrapper.h>
Signals | |
void | displayCreated (DisplayWrapper *) |
void | displayCreating (DisplayWrapper *) |
void | displayDestroyed (DisplayWrapper *) |
void | displayDestroying (DisplayWrapper *) |
Public Member Functions | |
void | createDisplay () |
void | destroyDisplay () |
DisplayWrapper (const std::string &class_lookup_name, pluginlib::ClassLoader< Display > *class_loader, const std::string &name, VisualizationManager *manager) | |
const CategoryPropertyWPtr & | getCategory () const |
std::string | getClassDisplayName () const |
const std::string & | getClassLookupName () const |
Display * | getDisplay () const |
const std::string & | getName () const |
const PluginPtr & | getPlugin () const |
const DisplayTypeInfoPtr & | getTypeInfo () const |
bool | isEnabled () |
bool | isLoaded () const |
void | setEnabled (bool enabled) |
void | setName (const std::string &name) |
void | setPlugin (const PluginPtr &plugin) |
void | setPropertyManager (PropertyManager *property_manager, const CategoryPropertyWPtr &parent) |
~DisplayWrapper () | |
Protected Types | |
typedef std::map< std::string, std::string > | M_string |
Protected Slots | |
void | onDisplaysConfigLoaded (const boost::shared_ptr< Config > &config) |
void | onDisplaysConfigSaved (const boost::shared_ptr< Config > &config) |
Protected Member Functions | |
void | loadProperties () |
Protected Attributes | |
CategoryPropertyWPtr | category_ |
pluginlib::ClassLoader< Display > * | class_loader_ |
std::string | class_lookup_name_ |
boost::shared_ptr< Config > | config_ |
Display * | display_ |
bool | enabled_ |
VisualizationManager * | manager_ |
std::string | name_ |
PluginPtr | plugin_ |
M_string | properties_ |
PropertyManager * | property_manager_ |
DisplayTypeInfoPtr | typeinfo_ |
Definition at line 52 of file display_wrapper.h.
typedef std::map<std::string, std::string> rviz::DisplayWrapper::M_string [protected] |
Definition at line 110 of file display_wrapper.h.
rviz::DisplayWrapper::DisplayWrapper | ( | const std::string & | class_lookup_name, |
pluginlib::ClassLoader< Display > * | class_loader, | ||
const std::string & | name, | ||
VisualizationManager * | manager | ||
) |
Definition at line 46 of file display_wrapper.cpp.
Definition at line 64 of file display_wrapper.cpp.
void rviz::DisplayWrapper::createDisplay | ( | ) |
Definition at line 181 of file display_wrapper.cpp.
void rviz::DisplayWrapper::destroyDisplay | ( | ) |
Definition at line 212 of file display_wrapper.cpp.
void rviz::DisplayWrapper::displayCreated | ( | DisplayWrapper * | ) | [signal] |
void rviz::DisplayWrapper::displayCreating | ( | DisplayWrapper * | ) | [signal] |
void rviz::DisplayWrapper::displayDestroyed | ( | DisplayWrapper * | ) | [signal] |
void rviz::DisplayWrapper::displayDestroying | ( | DisplayWrapper * | ) | [signal] |
const CategoryPropertyWPtr& rviz::DisplayWrapper::getCategory | ( | ) | const [inline] |
Definition at line 80 of file display_wrapper.h.
std::string rviz::DisplayWrapper::getClassDisplayName | ( | ) | const |
Definition at line 288 of file display_wrapper.cpp.
const std::string& rviz::DisplayWrapper::getClassLookupName | ( | ) | const [inline] |
Definition at line 67 of file display_wrapper.h.
Display* rviz::DisplayWrapper::getDisplay | ( | ) | const [inline] |
Definition at line 65 of file display_wrapper.h.
const std::string& rviz::DisplayWrapper::getName | ( | void | ) | const [inline] |
Definition at line 66 of file display_wrapper.h.
const PluginPtr& rviz::DisplayWrapper::getPlugin | ( | ) | const [inline] |
Definition at line 64 of file display_wrapper.h.
const DisplayTypeInfoPtr& rviz::DisplayWrapper::getTypeInfo | ( | ) | const [inline] |
Definition at line 63 of file display_wrapper.h.
Definition at line 248 of file display_wrapper.cpp.
bool rviz::DisplayWrapper::isLoaded | ( | ) | const |
Definition at line 176 of file display_wrapper.cpp.
void rviz::DisplayWrapper::loadProperties | ( | ) | [protected] |
Definition at line 131 of file display_wrapper.cpp.
void rviz::DisplayWrapper::onDisplaysConfigLoaded | ( | const boost::shared_ptr< Config > & | config | ) | [protected, slot] |
Definition at line 152 of file display_wrapper.cpp.
void rviz::DisplayWrapper::onDisplaysConfigSaved | ( | const boost::shared_ptr< Config > & | config | ) | [protected, slot] |
Definition at line 159 of file display_wrapper.cpp.
void rviz::DisplayWrapper::setEnabled | ( | bool | enabled | ) |
Definition at line 258 of file display_wrapper.cpp.
void rviz::DisplayWrapper::setName | ( | const std::string & | name | ) |
Definition at line 74 of file display_wrapper.cpp.
void rviz::DisplayWrapper::setPlugin | ( | const PluginPtr & | plugin | ) |
void rviz::DisplayWrapper::setPropertyManager | ( | PropertyManager * | property_manager, |
const CategoryPropertyWPtr & | parent | ||
) |
Definition at line 270 of file display_wrapper.cpp.
CategoryPropertyWPtr rviz::DisplayWrapper::category_ [protected] |
Definition at line 114 of file display_wrapper.h.
pluginlib::ClassLoader<Display>* rviz::DisplayWrapper::class_loader_ [protected] |
Definition at line 99 of file display_wrapper.h.
std::string rviz::DisplayWrapper::class_lookup_name_ [protected] |
Definition at line 102 of file display_wrapper.h.
boost::shared_ptr<Config> rviz::DisplayWrapper::config_ [protected] |
Definition at line 108 of file display_wrapper.h.
Display* rviz::DisplayWrapper::display_ [protected] |
Definition at line 104 of file display_wrapper.h.
bool rviz::DisplayWrapper::enabled_ [protected] |
Definition at line 116 of file display_wrapper.h.
VisualizationManager* rviz::DisplayWrapper::manager_ [protected] |
Definition at line 97 of file display_wrapper.h.
std::string rviz::DisplayWrapper::name_ [protected] |
Definition at line 101 of file display_wrapper.h.
PluginPtr rviz::DisplayWrapper::plugin_ [protected] |
Definition at line 106 of file display_wrapper.h.
M_string rviz::DisplayWrapper::properties_ [protected] |
Definition at line 111 of file display_wrapper.h.
PropertyManager* rviz::DisplayWrapper::property_manager_ [protected] |
Definition at line 113 of file display_wrapper.h.
DisplayTypeInfoPtr rviz::DisplayWrapper::typeinfo_ [protected] |
Definition at line 105 of file display_wrapper.h.