ComponentDescriptor< ComponentTypeT > Class Template Reference
A class for an object responsible for creating components. More...
#include <Factory.hh>
Public Member Functions | |
std::unique_ptr< BaseComponent > | Create () const override |
Create an instance of a ComponentTypeT Component. More... | |
Public Member Functions inherited from ComponentDescriptorBase | |
virtual | ~ComponentDescriptorBase ()=default |
Destructor. More... | |
Detailed Description
template<typename ComponentTypeT>
class ignition::gazebo::components::ComponentDescriptor< ComponentTypeT >
A class for an object responsible for creating components.
- Template Parameters
-
ComponentTypeT type of component to describe.
Member Function Documentation
◆ Create()
|
inlineoverridevirtual |
Create an instance of a ComponentTypeT Component.
- Returns
- Pointer to a component.
Implements ComponentDescriptorBase.
The documentation for this class was generated from the following file: