Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rviz::DisplayFactory Class Reference

#include <display_factory.h>

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

Public Member Functions

 DisplayFactory ()
 
virtual QSet< QString > getMessageTypes (const QString &class_id)
 Get all supported message types for the given class id. More...
 
- Public Member Functions inherited from rviz::PluginlibFactory< Display >
virtual void addBuiltInClass (const QString &package, const QString &name, const QString &description, Display *(*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< Display >
virtual Displaymake (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

DisplaymakeRaw (const QString &class_id, QString *error_return=nullptr) override
 Overridden from PluginlibFactory<Display> to set the icon of the Display. More...
 
- Protected Member Functions inherited from rviz::PluginlibFactory< Display >
DisplaymakeRaw (const QString &class_id, QString *error_return=nullptr) override
 Instantiate and return a instance of a subclass of Type using our pluginlib::ClassLoader. More...
 

Protected Attributes

QMap< QString, QSet< QString > > message_type_cache_
 

Detailed Description

Definition at line 42 of file display_factory.h.

Constructor & Destructor Documentation

◆ DisplayFactory()

rviz::DisplayFactory::DisplayFactory ( )

Definition at line 43 of file display_factory.cpp.

Member Function Documentation

◆ getMessageTypes()

QSet< QString > rviz::DisplayFactory::getMessageTypes ( const QString &  class_id)
virtual

Get all supported message types for the given class id.

Definition at line 58 of file display_factory.cpp.

◆ makeRaw()

Display * rviz::DisplayFactory::makeRaw ( const QString &  class_id,
QString *  error_return = nullptr 
)
overrideprotectedvirtual

Overridden from PluginlibFactory<Display> to set the icon of the Display.

Implements rviz::ClassIdRecordingFactory< Display >.

Reimplemented in rviz::MockDisplayFactory.

Definition at line 48 of file display_factory.cpp.

Member Data Documentation

◆ message_type_cache_

QMap<QString, QSet<QString> > rviz::DisplayFactory::message_type_cache_
protected

Definition at line 54 of file display_factory.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:03