本文整理汇总了C++中deleteAndZero函数的典型用法代码示例。如果您正苦于以下问题:C++ deleteAndZero函数的具体用法?C++ deleteAndZero怎么用?C++ deleteAndZero使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了deleteAndZero函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: deleteAndZero
CtrlrManager::~CtrlrManager()
{
commandManager.removeListener (this);
ctrlrDocumentPanel->closeAllDocuments(false);
ctrlrPanels.clear();
managerTree.removeAllChildren(0);
deleteAndZero (ctrlrLookAndFeel);
deleteAndZero (nullModulator);
deleteAndZero (nullPanel);
}
开发者ID:gareth8118,项目名称:ctrlr,代码行数:10,代码来源:CtrlrManager.cpp
示例17: DBG
//==============================================================================
HostFilterComponent::~HostFilterComponent()
{
DBG ("HostFilterComponent::~HostFilterComponent");
knownPluginList.removeChangeListener (this);
// register as listener to transport
getFilter()->getTransport()->removeChangeListener (this);
// deregister ouselves from the plugin (in this case the host)
getFilter()->removeChangeListener (this);
// getFilter()->removeListenerToParameters (this);
// save toolbar layout
Config::getInstance()->toolbarSet = toolbar->toString ();
// close and free editor window
closePluginEditorWindows ();
// clear all childrens and objects
deleteAndZero (navigator);
deleteAndZero (toolbar);
deleteAndZero (factory);
deleteAndZero (main);
deleteAndZero (browser);
deleteAndZero (verticalDividerBar);
deleteAndZero (horizontalDividerBar);
deleteAndZero (tooltipWindow);
deleteAndZero (resizer);
// clear command manager commands... save keymappings before this point !
CommandManager* commandManager = CommandManager::getInstance();
commandManager->setFirstCommandTarget (0);
commandManager->clearCommands ();
}
开发者ID:christianscheuer,项目名称:jivemodular,代码行数:36,代码来源:HostFilterComponent.cpp
示例18: deleteAndZero
MainComponent::~MainComponent()
{
//[Destructor_pre]. You can add your own custom destruction code here..
//[/Destructor_pre]
deleteAndZero (helloWorldLabel);
deleteAndZero (quitButton);
//[Destructor]. You can add your own custom destruction code here..
//[/Destructor]
}
开发者ID:alessandropetrolati,项目名称:juced,代码行数:11,代码来源:MainComponent.cpp
示例19: deleteAndZero
KeepPeaks::~KeepPeaks()
{
//[Destructor_pre]. You can add your own custom destruction code here..
//[/Destructor_pre]
deleteAndZero (groupComponent);
deleteAndZero (textButton);
//[Destructor]. You can add your own custom destruction code here..
//[/Destructor]
}
开发者ID:kmatheussen,项目名称:mammut,代码行数:11,代码来源:KeepPeaks.cpp
示例20: deleteAndZero
EdoChatWindowMessage::~EdoChatWindowMessage()
{
//[Destructor_pre]. You can add your own custom destruction code here..
//[/Destructor_pre]
deleteAndZero (avatar);
deleteAndZero (messageLabel);
//[Destructor]. You can add your own custom destruction code here..
//[/Destructor]
}
开发者ID:orisha85,项目名称:edoapp,代码行数:11,代码来源:EdoChatWindowMessage.cpp
注:本文中的deleteAndZero函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论