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