当前位置: 首页>>代码示例>>C++>>正文


C++ deleteAndZero函数代码示例

本文整理汇总了C++中deleteAndZero函数的典型用法代码示例。如果您正苦于以下问题:C++ deleteAndZero函数的具体用法?C++ deleteAndZero怎么用?C++ deleteAndZero使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了deleteAndZero函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: deleteAndZero

AutomizerAudioProcessorEditor::~AutomizerAudioProcessorEditor()
{
	deleteAndZero (groupComponent);
	deleteAndZero (groupComponent2);
	deleteAndZero (groupComponent3);
	deleteAndZero (groupComponent4);
}
开发者ID:DanielAyo,项目名称:Automizer,代码行数:7,代码来源:PluginEditor.cpp

示例2: deleteAndZero

void CtrlrLog::setLogToFile (const bool _logToFile)
{
	logToFile = _logToFile;

	if (logToFile)
	{
		Logger::writeToLog ("CtrlrLog::setLogToFile: " + File::getSpecialLocation(File::currentApplicationFile).withFileExtension(".log").getFullPathName());
		if (fileLogger)
		{
			deleteAndZero (fileLogger);
		}
		fileLogger = new FileLogger (File::getSpecialLocation(File::currentApplicationFile).withFileExtension(".log"), "Ctrlr debug log");

		Logger::setCurrentLogger (fileLogger);
	}
	else
	{
		if (fileLogger)
		{
			Logger::setCurrentLogger (this);
			deleteAndZero (fileLogger);
		}
		else
		{
			Logger::setCurrentLogger (this);
		}
	}
}
开发者ID:atomicstack,项目名称:ctrlr,代码行数:28,代码来源:CtrlrLog.cpp

示例3: deleteAndZero

CtrlrPanelResourceEditor::~CtrlrPanelResourceEditor()
{
    deleteAndZero (resourceList);
    deleteAndZero (add);
    deleteAndZero (remove);
	deleteAndZero (reload);
}
开发者ID:Srikrishna31,项目名称:ctrlr,代码行数:7,代码来源:CtrlrPanelResourceEditor.cpp

示例4: getGlobalSettings

StandaloneFilterWindow::~StandaloneFilterWindow()
{
    PropertySet* const globalSettings = getGlobalSettings();

    globalSettings->setValue (T("windowX"), getX());
    globalSettings->setValue (T("windowY"), getY());

    deleteAndZero (optionsButton);

    if (globalSettings != 0 && deviceManager != 0)
    {
        XmlElement* const xml = deviceManager->createStateXml();
        globalSettings->setValue (T("audioSetup"), xml);
        delete xml;
    }

    deleteAndZero (deviceManager);

    if (globalSettings != 0 && filter != 0)
    {
        JUCE_NAMESPACE::MemoryBlock data;
        filter->getStateInformation (data);

        globalSettings->setValue (T("filterState"), data.toBase64Encoding());
    }

    deleteFilter();
}
开发者ID:alessandrostone,项目名称:bitmangler,代码行数:28,代码来源:juce_StandaloneFilterWindow.cpp

示例5: deleteAndZero

AudioResamplingNode::~AudioResamplingNode()
{
    delete[] continuousDataBuffer;
    deleteAndZero(tempBuffer);
    deleteAndZero(destBuffer);
    delete filter;
}
开发者ID:jperge,项目名称:GUI_Jan7_2016,代码行数:7,代码来源:AudioResamplingNode.cpp

示例6: sl

void CtrlrMidiDevice::closeDevice()
{
	if (getType() == CtrlrMidiDeviceManager::outputDevice)
	{

		if (outJucePtr != nullptr)
		{
			const ScopedLock sl(deviceLock);
			outJucePtr->stopBackgroundThread();
			deleteAndZero (outJucePtr);
		}
	}
	else
	{
		if (inJucePtr != nullptr)
		{
			const ScopedLock sl(deviceLock);
			inJucePtr->stop();
			deleteAndZero (inJucePtr);
		}
	}

	deviceListeners.clear();
	setProperty (Ids::midiDevState, false);
}
开发者ID:Srikrishna31,项目名称:ctrlr,代码行数:25,代码来源:CtrlrMidiDevice.cpp

示例7: deleteAndZero

CtrlrMIDIMon::~CtrlrMIDIMon()
{
	owner.getCtrlrLog().removeListener (this);
    deleteAndZero (resizer);
    deleteAndZero (outMon);
    deleteAndZero (inMon);
}
开发者ID:Srikrishna31,项目名称:ctrlr,代码行数:7,代码来源:CtrlrMIDIMon.cpp

示例8: clearTabs

XEQTabPanel::~XEQTabPanel()
{
    clearTabs ();

    deleteAndZero (mainComponent);
    deleteAndZero (aboutComponent);
}
开发者ID:jrigg,项目名称:DISTRHO-Ports,代码行数:7,代码来源:XEQTabPanel.cpp

示例9: dispatchPendingMessages

PianoRoll::~PianoRoll()
{
	dispatchPendingMessages();
	deleteAndZero(playline);
	deleteAndZero(bg);
	deleteAndZero(noteLayer);
}
开发者ID:Amcut,项目名称:pizmidi,代码行数:7,代码来源:PianoRoll.cpp

示例10: shutdown

    void shutdown()
    {
        mainWindow = 0;
        appProperties->closeFiles();

        deleteAndZero (commandManager);
        deleteAndZero (appProperties);
    }
开发者ID:adrien59cadri,项目名称:test,代码行数:8,代码来源:HostStartup.cpp

示例11: deleteAndZero

void PitchestimatorpluginAudioProcessor::releaseResources()
{
    deleteAndZero(fft);
    deleteAndZero(HS);
    free(X);
    free(f0Area);
    fftw_free(fftData);
}
开发者ID:adamski,项目名称:Pitch-Estimator-Plugin,代码行数:8,代码来源:PluginProcessor.cpp

示例12: deleteAndZero

CtrlrLuaMethodEditor::~CtrlrLuaMethodEditor()
{
    deleteAndZero (methodEditArea);
	componentTree.removeListener (this);
	masterReference.clear();
	methodTree->deleteRootItem();
	deleteAndZero (methodTree);
	deleteAndZero (resizer);
}
开发者ID:grimtraveller,项目名称:ctrlr,代码行数:9,代码来源:CtrlrLuaMethodEditor.cpp

示例13: setHost

SurfaceComponent::~SurfaceComponent()
{
    setHost (0);
    
    deleteAndZero (editor);
    deleteAndZero (internal);
    deleteAndZero (properties);
    deleteAndZero (horizontalDividerBar);
}
开发者ID:alessandropetrolati,项目名称:juced,代码行数:9,代码来源:SurfaceComponent.cpp

示例14: shutdown

 void shutdown()
 {
     filterWindow = 0;// = nullptr;
     appProperties->closeFiles();
     deleteAndZero(appProperties);
     deleteAndZero(defaultPropSet);
     deleteAndZero(cabbageTimer);
     deleteAndZero(lookAndFeel);
     deleteAndZero(lookAndFeelBasic);
 }
开发者ID:falkTX,项目名称:cabbage,代码行数:10,代码来源:StandaloneFilterApp.cpp

示例15: deleteAndZero

 ProjectComponent::~ProjectComponent()
 {
     NotificationCenter::defaultCenter().removeObserver(*_newDiagramObserver);
     NotificationCenter::defaultCenter().removeObserver(*_projectOpenedObserver);
     NotificationCenter::defaultCenter().removeObserver(*_newProjectCreatedObserver);
     deleteAndZero(_newDiagramObserver);
     deleteAndZero(_projectOpenedObserver);
     deleteAndZero(_newProjectCreatedObserver);
     deleteAllChildren();
 }
开发者ID:akosma,项目名称:remproject,代码行数:10,代码来源:ProjectComponent.cpp


注:本文中的deleteAndZero函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。