SOFA API  ca665544
Open source framework for multi-physics simuation
sofa::simulation::SceneLoaderFactory Class Reference

#include <SceneLoaderFactory.h>

Protected Attributes

SceneLoaderList registry
 Main class registry. More...
 

Public Member Functions

 ~SceneLoaderFactory ()
 
SceneLoadergetEntryFileExtension (std::string extension)
 Get an entry given a file extension. More...
 
SceneLoadergetEntryFileName (std::string filename)
 Get an entry given a file name. More...
 
SceneLoadergetExporterEntryFileExtension (std::string extension)
 Get an exporter entry given a file extension. More...
 
SceneLoadergetExporterEntryFileName (std::string filename)
 Get an exporter entry given a file name. More...
 
SceneLoaderaddEntry (SceneLoader *loader)
 Add a scene loader. More...
 
SceneLoaderListgetEntries ()
 Get the list of loaders. More...
 
std::vector< std::string > extensions ()
 

Static Public Member Functions

static SceneLoaderFactorygetInstance ()
 Get the ObjectFactory singleton instance. More...
 

Attribute details

◆ registry

SceneLoaderList sofa::simulation::SceneLoaderFactory::registry
protected

Main class registry.

Constructor details

◆ ~SceneLoaderFactory()

sofa::simulation::SceneLoaderFactory::~SceneLoaderFactory ( )

Function details

◆ addEntry()

SceneLoader * sofa::simulation::SceneLoaderFactory::addEntry ( SceneLoader loader)

Add a scene loader.

◆ extensions()

std::vector< std::string > sofa::simulation::SceneLoaderFactory::extensions ( )

Get the list of supported extension. It returns a vector of string but it is RVO optimized so the overhead is reduced.

◆ getEntries()

SceneLoaderList* sofa::simulation::SceneLoaderFactory::getEntries ( )
inline

Get the list of loaders.

◆ getEntryFileExtension()

SceneLoader * sofa::simulation::SceneLoaderFactory::getEntryFileExtension ( std::string  extension)

Get an entry given a file extension.

◆ getEntryFileName()

SceneLoader * sofa::simulation::SceneLoaderFactory::getEntryFileName ( std::string  filename)

Get an entry given a file name.

Get an entry given a file extension.

◆ getExporterEntryFileExtension()

SceneLoader * sofa::simulation::SceneLoaderFactory::getExporterEntryFileExtension ( std::string  extension)

Get an exporter entry given a file extension.

◆ getExporterEntryFileName()

SceneLoader * sofa::simulation::SceneLoaderFactory::getExporterEntryFileName ( std::string  filename)

Get an exporter entry given a file name.

◆ getInstance()

SceneLoaderFactory * sofa::simulation::SceneLoaderFactory::getInstance ( )
static

Get the ObjectFactory singleton instance.