Go to the documentation of this file.
41 #include <boost/bind.hpp>
61 qDebug(
"NodeletPluginProvider::unload()");
64 qCritical(
"NodeletPluginProvider::unload() instance not found");
72 qCritical(
"NodeletPluginProvider::unload() '%s' failed", nodelet_name.toStdString().c_str());
117 std::string nodelet_name = lookup_name +
"_" + QString::number(plugin_context->
serialNumber()).toStdString();
119 qDebug(
"NodeletPluginProvider::create_plugin() load %s", lookup_name.c_str());
120 bool loaded =
loader_->
load(nodelet_name, lookup_name, remappings, my_argv);
123 qDebug(
"NodeletPluginProvider::create_plugin() loaded");
139 qDebug(
"NodeletPluginProvider::init_plugin()");
144 throw std::runtime_error(
"plugin is not a nodelet");
std::vector< std::string > V_string
std::map< std::string, std::string > M_string
virtual boost::shared_ptr< T > create_plugin(const std::string &lookup_name, PluginContext *=0)
bool load(const std::string &name, const std::string &type, const M_string &remappings, const V_string &my_argv)
RosSpinThread(QObject *parent=0)
RosSpinThread * ros_spin_thread_
boost::shared_ptr< nodelet::Nodelet > create_instance(const std::string &lookup_name)
virtual void init_plugin(const QString &, PluginContext *plugin_context, Plugin *plugin)
virtual void init_plugin(const QString &plugin_id, qt_gui_cpp::PluginContext *plugin_context, qt_gui_cpp::Plugin *plugin)
virtual void unload(void *instance)
virtual ~NodeletPluginProvider()
NodeletPluginProvider(const QString &export_tag, const QString &base_class_type)
QMap< void *, QString > instances_
virtual void unload(void *instance)
std::vector< std::string > listLoadedNodelets()
bool unload(const std::string &name)
boost::shared_ptr< rqt_gui_cpp::Plugin > instance_
nodelet::Loader * loader_
virtual boost::shared_ptr< Plugin > create_plugin(const std::string &lookup_name, qt_gui_cpp::PluginContext *plugin_context)
ROSCPP_DECL CallbackQueue * getGlobalCallbackQueue()
rqt_gui_cpp
Author(s): Dirk Thomas, Michael Jeronimo
autogenerated on Fri Jul 12 2024 02:31:10