Gazebo Gazebo

API Reference

3.15.2
ComponentDescriptorBase Class Referenceabstract

A base class for an object responsible for creating components. More...

#include <Factory.hh>

Public Member Functions

virtual ~ComponentDescriptorBase ()=default
 Destructor. More...
 
virtual std::unique_ptr< BaseComponentCreate () const =0
 Create an instance of a Component. More...
 

Detailed Description

A base class for an object responsible for creating components.

Constructor & Destructor Documentation

◆ ~ComponentDescriptorBase()

virtual ~ComponentDescriptorBase ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Create()

virtual std::unique_ptr<BaseComponent> Create ( ) const
pure virtual

Create an instance of a Component.

Returns
Pointer to a component.

Implemented in ComponentDescriptor< ComponentTypeT >.


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