#include <pluginlib_factory.h>
Classes | |
struct | BuiltInClassRecord |
Public Member Functions | |
virtual void | addBuiltInClass (const QString &package, const QString &name, const QString &description, Type *(*factory_function)()) |
QString | getClassDescription (const QString &class_id) const override |
QString | getClassName (const QString &class_id) const override |
QString | getClassPackage (const QString &class_id) const override |
QStringList | getDeclaredClassIds () override |
QIcon | getIcon (const QString &class_id) const override |
virtual QString | getPluginManifestPath (const QString &class_id) const |
PluginlibFactory (const QString &package, const QString &base_class_type) | |
~PluginlibFactory () override | |
Public Member Functions inherited from rviz::ClassIdRecordingFactory< Type > | |
virtual Type * | make (const QString &class_id, QString *error_return=nullptr) |
Instantiate and return a instance of a subclass of Type using makeRaw(). More... | |
Public Member Functions inherited from rviz::Factory | |
virtual | ~Factory () |
Protected Member Functions | |
Type * | makeRaw (const QString &class_id, QString *error_return=nullptr) override |
Instantiate and return a instance of a subclass of Type using our pluginlib::ClassLoader. More... | |
Private Attributes | |
QHash< QString, BuiltInClassRecord > | built_ins_ |
pluginlib::ClassLoader< Type > * | class_loader_ |
Definition at line 51 of file pluginlib_factory.h.
|
inline |
Definition at line 64 of file pluginlib_factory.h.
|
inlineoverride |
Definition at line 69 of file pluginlib_factory.h.
|
inlinevirtual |
Definition at line 146 of file pluginlib_factory.h.
|
inlineoverridevirtual |
Implements rviz::Factory.
Definition at line 90 of file pluginlib_factory.h.
|
inlineoverridevirtual |
Implements rviz::Factory.
Definition at line 100 of file pluginlib_factory.h.
|
inlineoverridevirtual |
Implements rviz::Factory.
Definition at line 110 of file pluginlib_factory.h.
|
inlineoverridevirtual |
Implements rviz::Factory.
Definition at line 74 of file pluginlib_factory.h.
|
inlineoverridevirtual |
Implements rviz::Factory.
Definition at line 130 of file pluginlib_factory.h.
|
inlinevirtual |
Definition at line 120 of file pluginlib_factory.h.
|
inlineoverrideprotectedvirtual |
Instantiate and return a instance of a subclass of Type using our pluginlib::ClassLoader.
class_id | A string identifying the class uniquely among classes of its parent class. rviz::GridDisplay might be rviz/Grid, for example. |
error_return | If non-NULL and there is an error, *error_return is set to a description of the problem. |
If makeRaw() returns NULL and error_return is not NULL, *error_return will be set. On success, *error_return will not be changed.
Implements rviz::ClassIdRecordingFactory< Type >.
Definition at line 173 of file pluginlib_factory.h.
|
private |
Definition at line 203 of file pluginlib_factory.h.
|
private |
Definition at line 202 of file pluginlib_factory.h.