Gazebo Gazebo

API Reference

6.16.0
StorageDescriptorBase Class Referenceabstract

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

#include <Factory.hh>

Public Member Functions

 StorageDescriptorBase ()=default
 Constructor. More...
 
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()

StorageDescriptorBase ( )
default

Constructor.

◆ ~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: