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

#include <SceneLoaderPHP.h>

Inheritance diagram for sofa::simulation::SceneLoaderPHP:

Public Member Functions

bool canLoadFileExtension (const char *extension) override
 Pre-loading check. More...
 
virtual sofa::simulation::NodeSPtr doLoad (const std::string &filename, const std::vector< std::string > &sceneArgs) override
 load the file More...
 
virtual std::string getFileTypeDesc () override
 get the file type description More...
 
void getExtensionList (ExtensionList *list) override
 get the list of file extensions More...
 
- Public Member Functions inherited from sofa::simulation::SceneLoader
virtual ~SceneLoader ()=default
 
virtual bool canLoadFileName (const char *filename)
 Pre-loading check. More...
 
virtual bool canWriteFileName (const char *filename)
 Pre-saving check. More...
 
virtual bool canWriteFileExtension (const char *)
 
sofa::simulation::NodeSPtr load (const std::string &filename, bool reload=false, const std::vector< std::string > &sceneArgs=std::vector< std::string >(0))
 load the file More...
 
virtual void write (sofa::simulation::Node *, const char *)
 write scene graph in the file More...
 
virtual bool syntaxForAddingRequiredPlugin (const std::string &pluginName, const std::vector< std::string > &listComponents, std::ostream &ss, sofa::simulation::Node *nodeWhereAdded)
 

Additional Inherited Members

- Static Protected Attributes inherited from sofa::simulation::SceneLoader
static Listeners s_listeners
 
- Static Public Member Functions inherited from sofa::simulation::SceneLoader
static void addListener (Listener *l)
 adding a listener More...
 
static void removeListener (Listener *l)
 removing a listener More...
 
- Static Protected Member Functions inherited from sofa::simulation::SceneLoader
static void notifyLoadingSceneBefore (SceneLoader *sceneLoader)
 
static void notifyReloadingSceneBefore (SceneLoader *sceneLoader)
 
static void notifyLoadingSceneAfter (sofa::simulation::NodeSPtr node, SceneLoader *sceneLoader)
 
static void notifyReloadingSceneAfter (sofa::simulation::NodeSPtr node, SceneLoader *sceneLoader)
 

Function details

◆ canLoadFileExtension()

bool sofa::simulation::SceneLoaderPHP::canLoadFileExtension ( const char extension)
overridevirtual

Pre-loading check.

Implements sofa::simulation::SceneLoader.

◆ doLoad()

sofa::simulation::Node::SPtr sofa::simulation::SceneLoaderPHP::doLoad ( const std::string &  filename,
const std::vector< std::string > &  sceneArgs 
)
overridevirtual

load the file

Implements sofa::simulation::SceneLoader.

◆ getExtensionList()

void sofa::simulation::SceneLoaderPHP::getExtensionList ( ExtensionList list)
overridevirtual

get the list of file extensions

Implements sofa::simulation::SceneLoader.

◆ getFileTypeDesc()

std::string sofa::simulation::SceneLoaderPHP::getFileTypeDesc ( )
overridevirtual

get the file type description

Implements sofa::simulation::SceneLoader.