mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-09-27 00:29:13 +08:00
comments
This commit is contained in:
parent
ae75c3aa7f
commit
6d81743a0b
@ -41,6 +41,9 @@
|
||||
|
||||
namespace moveit_rviz_plugin {
|
||||
|
||||
/** Provide a tree model listing all available plugins from the rviz::Factory
|
||||
* grouped by package name
|
||||
*/
|
||||
class FactoryModel : public QStandardItemModel
|
||||
{
|
||||
QString mime_type_;
|
||||
|
@ -54,6 +54,9 @@
|
||||
|
||||
namespace moveit_rviz_plugin {
|
||||
|
||||
/** Templated factory to create objects of a given pluginlib base class type.
|
||||
* This is a slightly modified version of rviz::PluginlibFactory, providing a custom mime type.
|
||||
*/
|
||||
template<class Type>
|
||||
class PluginlibFactory: public rviz::Factory
|
||||
{
|
||||
@ -177,9 +180,8 @@ public:
|
||||
* @param error_return If non-NULL and there is an error, *error_return is set to a description of the problem.
|
||||
* @return A new instance of the class identified by class_id, or NULL if there was an error.
|
||||
*
|
||||
* If makeRaw() returns NULL and error_return is not NULL,
|
||||
* *error_return will be set. On success, *error_return will not be
|
||||
* changed. */
|
||||
* If makeRaw() returns NULL and error_return is not NULL, *error_return will be set.
|
||||
* On success, *error_return will not be changed. */
|
||||
virtual Type* makeRaw( const QString& class_id, QString* error_return = NULL )
|
||||
{
|
||||
typename QHash<QString, BuiltInClassRecord>::const_iterator iter = built_ins_.find( class_id );
|
||||
|
Loading…
Reference in New Issue
Block a user