Privacy
An open-source, flexible 3D physical simulation framework
mars::scene_loader::SceneLoader Class Reference

#include <SceneLoader.h>

Public Member Functions

 SceneLoader (lib_manager::LibManager *theManager)
 
 ~SceneLoader ()
 
int getLibVersion () const
 
const std::string getLibName () const
 
 CREATE_MODULE_INFO ()
 
virtual bool loadFile (std::string filename, std::string tmpPath, std::string robotname)
 
virtual int saveFile (std::string filename, std::string tmpPath)
 
- Public Member Functions inherited from mars::interfaces::LoadSceneInterface
 LoadSceneInterface (lib_manager::LibManager *theManager)
 
virtual ~LoadSceneInterface ()
 
- Public Member Functions inherited from lib_manager::LibInterface
 LibInterface (LibManager *theManager)
 
virtual ~LibInterface (void)
 
ModuleInfo getModuleInfo () const
 
virtual void newLibLoaded (const std::string &libName)
 
virtual void createModuleInfo (void)
 

Private Attributes

interfaces::ControlCentercontrol
 

Additional Inherited Members

- Protected Attributes inherited from lib_manager::LibInterface
LibManagerlibManager
 
ModuleInfo moduleInfo
 

Detailed Description

Definition at line 40 of file SceneLoader.h.

Constructor & Destructor Documentation

◆ SceneLoader()

mars::scene_loader::SceneLoader::SceneLoader ( lib_manager::LibManager theManager)

Definition at line 40 of file SceneLoader.cpp.

◆ ~SceneLoader()

mars::scene_loader::SceneLoader::~SceneLoader ( )

Definition at line 54 of file SceneLoader.cpp.

Member Function Documentation

◆ CREATE_MODULE_INFO()

mars::scene_loader::SceneLoader::CREATE_MODULE_INFO ( )

◆ getLibName()

const std::string mars::scene_loader::SceneLoader::getLibName ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 49 of file SceneLoader.h.

◆ getLibVersion()

int mars::scene_loader::SceneLoader::getLibVersion ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 48 of file SceneLoader.h.

◆ loadFile()

bool mars::scene_loader::SceneLoader::loadFile ( std::string  filename,
std::string  tmpPath,
std::string  robotname 
)
virtual

Implements mars::interfaces::LoadSceneInterface.

Definition at line 64 of file SceneLoader.cpp.

◆ saveFile()

int mars::scene_loader::SceneLoader::saveFile ( std::string  filename,
std::string  tmpPath 
)
virtual

Implements mars::interfaces::LoadSceneInterface.

Definition at line 71 of file SceneLoader.cpp.

Member Data Documentation

◆ control

interfaces::ControlCenter* mars::scene_loader::SceneLoader::control
private

Definition at line 58 of file SceneLoader.h.


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