Esempio n. 1
0
ScriptManager::~ScriptManager()
{
	unloadAll();

	mEngine->Release();
	mEngine = nullptr;
}
Esempio n. 2
0
void SoXipLoadDicom::evaluate()
{
	unloadAll();
    
    SoMFString nameLocal;
    for (int i = 0; i < name.getNum(); i++)
	{
#ifdef WIN32
    //assuming everything is done using the bad backslashes... so we convert all forward slashes to those
    nameLocal.set1Value(i, XipReplaceChar(name[i].getString(), '/', '\\'));
#else //UNIX
    //assuming the other way around since we need forward slashes now...
    nameLocal.set1Value(i, XipReplaceChar(name[i].getString(), '\\', '/'));
#endif //WIN32
    }

	// "interpret" may replace folders with files in the folder or DICOMDIR with images
	SoMFString interpreted;
	SoXipDataDicom::interpret(nameLocal, interpreted);


	for (int i = 0; i < interpreted.getNum(); i++)
	{
		SoXipDataDicom* dicomData = new SoXipDataDicom;
		if (dicomData)
		{
			if (dicomData->open(interpreted[i].getString()))
			{
				mLoadedData.set1Value(mLoadedData.getNum(), dicomData);
			}
		}
	}

	SO_ENGINE_OUTPUT( dicom, SoXipMFDataDicom, copyFrom(mLoadedData) );
}
Esempio n. 3
0
void cWorld::clearWorld()
{
	mutex.worldMain.lock();
	util.clearFolder("Savefiles//" + save.savefileName + "//" + save.worldName + "//");
	unloadAll();
	applyUnload();
	mutex.worldMain.unlock();
}
Esempio n. 4
0
SoXipLoadDicom::~SoXipLoadDicom()
{
	#if defined(COIN_DLL) || defined (COIN_NO_DLL)
	// SGI automatically triggers evaluate after loading but COIN doesn't
	SbXipDirtyFieldList::remove(&name);
	#endif

	unloadAll();
}
Esempio n. 5
0
	void DynLibManager::shutdown()
	{
		MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised");
		MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName());

		unloadAll();

		Gui::getInstance().eventFrameStart -= newDelegate(this, &DynLibManager::notifyEventFrameStart);
		_unloadDelayDynLibs();

		MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown");
		mIsInitialise = false;
	}
Esempio n. 6
0
DynLibManager::~DynLibManager()
{
    unloadAll();
}
Esempio n. 7
0
PluginManager::~PluginManager(){
    unloadAll();
}
Esempio n. 8
0
			ParticleEngine::~ParticleEngine() {
				unloadAll();
			}
TerrainObjectManager::~TerrainObjectManager()
{
	unloadAll();
	TerrainObjectManager::inst = 0;
}
Esempio n. 10
0
File: main.cpp Progetto: jhasse/jngl
void hideWindow() {
    unloadAll();
    pWindow.Delete();
}
Esempio n. 11
0
ResourceMgr::~ResourceMgr()
{
	unloadAll();
}
Esempio n. 12
0
 void TextureManager::cleanup(){
     unloadAll();
 }
Esempio n. 13
0
CPIM::~CPIM()
{
   LOG4CPLUS_TRACE_METHOD(logger, __PRETTY_FUNCTION__);
   unloadAll();
   delete mpThreadPool;
}
Esempio n. 14
0
Contentmgr::~Contentmgr()
{
	unloadAll();
}
Esempio n. 15
0
		virtual ~Catalog( void ) 
		{
			unloadAll();
            cleanup();
		}
Esempio n. 16
0
	void MaterialManager::cleanup() {
		unloadAll();
	}
Esempio n. 17
0
SoundManager::~SoundManager()
{
	unloadAll();
}
Esempio n. 18
0
	void ModelManager::cleanup(){
		unloadAll();
	}