Gazebo Gazebo

API Reference

3.15.2
StorageDescriptorBase Class Referenceabstract

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

#include <Factory.hh>

Public Member Functions

virtual ~StorageDescriptorBase ()=default
 Destructor. More...
 
virtual std::unique_ptr< ComponentStorageBase > Create () const =0
 Create an instance of a storage. More...
 

Detailed Description

A base class for an object responsible for creating storages.

Constructor & Destructor Documentation

◆ ~StorageDescriptorBase()

virtual ~StorageDescriptorBase ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Create()

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

Create an instance of a storage.

Returns
Pointer to a storage.

Implemented in StorageDescriptor< ComponentTypeT >.


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