SOFA API  6a688117
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::Node::SPtr 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 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::Node::SPtr 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...
 

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 ()
 
static void notifyReloadingSceneBefore ()
 
static void notifyLoadingSceneAfter (sofa::simulation::Node::SPtr node)
 
static void notifyReloadingSceneAfter (sofa::simulation::Node::SPtr node)
 

Function details

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

Pre-loading check.

Implements sofa::simulation::SceneLoader.

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.

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

get the list of file extensions

Implements sofa::simulation::SceneLoader.

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

get the file type description

Implements sofa::simulation::SceneLoader.