A class that can be used in place of a real CriticalSection object, but which doesn't perform any locking.
More...
#include <juce_CriticalSection.h>
Inherited by juce::ArrayBase< ActionSet *, DummyCriticalSection >, juce::ArrayBase< AnalyticsEvent, DummyCriticalSection >, juce::ArrayBase< AnimationTask *, DummyCriticalSection >, juce::ArrayBase< CachedGlyphType *, DummyCriticalSection >, juce::ArrayBase< ChannelInfo *, DummyCriticalSection >, juce::ArrayBase< CodeDocumentLine *, DummyCriticalSection >, juce::ArrayBase< CodeEditorLine *, DummyCriticalSection >, juce::ArrayBase< const juce::PopupMenu *, DummyCriticalSection >, juce::ArrayBase< double, DummyCriticalSection >, juce::ArrayBase< DragImageComponent *, DummyCriticalSection >, juce::ArrayBase< ElementType, DummyCriticalSection >, juce::ArrayBase< float, DummyCriticalSection >, juce::ArrayBase< FloatingType, DummyCriticalSection >, juce::ArrayBase< FloatType, DummyCriticalSection >, juce::ArrayBase< GlyphInfo *, DummyCriticalSection >, juce::ArrayBase< IIRCoefficients *, DummyCriticalSection >, juce::ArrayBase< int, DummyCriticalSection >, juce::ArrayBase< Item *, DummyCriticalSection >, juce::ArrayBase< juce::ActionListener *, DummyCriticalSection >, juce::ArrayBase< juce::AnalyticsDestination *, DummyCriticalSection >, juce::ArrayBase< juce::AnimatedPosition::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::ApplicationCommandInfo *, DummyCriticalSection >, juce::ArrayBase< juce::ApplicationCommandManagerListener *, DummyCriticalSection >, juce::ArrayBase< juce::ArgumentList::Argument, DummyCriticalSection >, juce::ArrayBase< juce::AttributedString::Attribute, DummyCriticalSection >, juce::ArrayBase< juce::AudioChannelSet, DummyCriticalSection >, juce::ArrayBase< juce::AudioDeviceManager::AudioDeviceSetup *, DummyCriticalSection >, juce::ArrayBase< juce::AudioDeviceManager::MidiCallbackInfo, DummyCriticalSection >, juce::ArrayBase< juce::AudioFormat *, DummyCriticalSection >, juce::ArrayBase< juce::AudioIODeviceCallback *, DummyCriticalSection >, juce::ArrayBase< juce::AudioIODeviceType *, DummyCriticalSection >, juce::ArrayBase< juce::AudioIODeviceType::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::AudioPluginFormat *, DummyCriticalSection >, juce::ArrayBase< juce::AudioProcessor::Bus *, DummyCriticalSection >, juce::ArrayBase< juce::AudioProcessor::BusProperties, DummyCriticalSection >, juce::ArrayBase< juce::AudioProcessorGraph::Node *, DummyCriticalSection >, juce::ArrayBase< juce::AudioProcessorGraph::Node::Connection, DummyCriticalSection >, juce::ArrayBase< juce::AudioProcessorListener *, DummyCriticalSection >, juce::ArrayBase< juce::AudioProcessorParameter *, DummyCriticalSection >, juce::ArrayBase< juce::AudioProcessorParameter::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::AudioProcessorParameterGroup::AudioProcessorParameterNode *, DummyCriticalSection >, juce::ArrayBase< juce::AudioSource *, DummyCriticalSection >, juce::ArrayBase< juce::BufferingAudioReader::BufferedBlock *, DummyCriticalSection >, juce::ArrayBase< juce::BurgerMenuComponent::Row, DummyCriticalSection >, juce::ArrayBase< juce::Button::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::ChangeListener *, DummyCriticalSection >, juce::ArrayBase< juce::CodeDocument::Iterator, DummyCriticalSection >, juce::ArrayBase< juce::CodeDocument::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::CodeDocument::Position *, DummyCriticalSection >, juce::ArrayBase< juce::CodeEditorComponent::ColourScheme::TokenType, DummyCriticalSection >, juce::ArrayBase< juce::ColourGradient::ColourPoint, DummyCriticalSection >, juce::ArrayBase< juce::ComboBox *, DummyCriticalSection >, juce::ArrayBase< juce::ComboBox::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::Component *, DummyCriticalSection >, juce::ArrayBase< juce::ComponentBuilder::TypeHandler *, DummyCriticalSection >, juce::ArrayBase< juce::ComponentPeer *, DummyCriticalSection >, juce::ArrayBase< juce::ComponentPeer::ScaleFactorListener *, DummyCriticalSection >, juce::ArrayBase< juce::CoreGraphicsContext::SavedState *, DummyCriticalSection >, juce::ArrayBase< juce::DarkModeSettingListener *, DummyCriticalSection >, juce::ArrayBase< juce::DirectoryContentsList::FileInfo *, DummyCriticalSection >, juce::ArrayBase< juce::Displays::Display, DummyCriticalSection >, juce::ArrayBase< juce::DrawableButton *, DummyCriticalSection >, juce::ArrayBase< juce::dsp::FirstOrderTPTFilter< SampleType > *, DummyCriticalSection >, juce::ArrayBase< juce::File, DummyCriticalSection >, juce::ArrayBase< juce::FileBrowserListener *, DummyCriticalSection >, juce::ArrayBase< juce::FilenameComponentListener *, DummyCriticalSection >, juce::ArrayBase< juce::FlexItem, DummyCriticalSection >, juce::ArrayBase< juce::FocusChangeListener *, DummyCriticalSection >, juce::ArrayBase< juce::Grid::TrackInfo, DummyCriticalSection >, juce::ArrayBase< juce::GridItem, DummyCriticalSection >, juce::ArrayBase< juce::HashMap::HashEntry *, DummyCriticalSection >, juce::ArrayBase< juce::IIRFilter *, DummyCriticalSection >, juce::ArrayBase< juce::ImagePixelData::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::InAppPurchases::Download *, DummyCriticalSection >, juce::ArrayBase< juce::InAppPurchases::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::KeyPress, DummyCriticalSection >, juce::ArrayBase< juce::KeyPressMappingSet::CommandMapping *, DummyCriticalSection >, juce::ArrayBase< juce::KeyPressMappingSet::KeyPressTime *, DummyCriticalSection >, juce::ArrayBase< juce::KnownPluginList::PluginTree *, DummyCriticalSection >, juce::ArrayBase< juce::Label::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::LookAndFeel::ColourSetting, DummyCriticalSection >, juce::ArrayBase< juce::LowLevelGraphicsPostScriptRenderer::SavedState *, DummyCriticalSection >, juce::ArrayBase< juce::MarkerList *, DummyCriticalSection >, juce::ArrayBase< juce::MarkerList::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::MarkerList::Marker *, DummyCriticalSection >, juce::ArrayBase< juce::MenuBarModel::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::MidiDeviceInfo, DummyCriticalSection >, juce::ArrayBase< juce::MidiKeyboardState::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::MidiMessageSequence *, DummyCriticalSection >, juce::ArrayBase< juce::MidiMessageSequence::MidiEventHolder *, DummyCriticalSection >, juce::ArrayBase< juce::MouseInactivityDetector::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::MouseListener *, DummyCriticalSection >, juce::ArrayBase< juce::MPEInstrument::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::MPENote, DummyCriticalSection >, juce::ArrayBase< juce::MPESynthesiserVoice *, DummyCriticalSection >, juce::ArrayBase< juce::MPEZoneLayout::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::MultiTouchMapper::TouchInfo, DummyCriticalSection >, juce::ArrayBase< juce::NamedValueSet::NamedValue, DummyCriticalSection >, juce::ArrayBase< juce::OSCArgument, DummyCriticalSection >, juce::ArrayBase< juce::OSCBundle::Element, DummyCriticalSection >, juce::ArrayBase< juce::PluginDescription, DummyCriticalSection >, juce::ArrayBase< juce::PopupMenu::Item, DummyCriticalSection >, juce::ArrayBase< juce::PositionedGlyph, DummyCriticalSection >, juce::ArrayBase< juce::ProgressBar *, DummyCriticalSection >, juce::ArrayBase< juce::PushNotifications::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::PushNotifications::Notification::Action, DummyCriticalSection >, juce::ArrayBase< juce::PushNotifications::Settings::Category, DummyCriticalSection >, juce::ArrayBase< juce::Range< int >, DummyCriticalSection >, juce::ArrayBase< juce::Range< Type >, DummyCriticalSection >, juce::ArrayBase< juce::ReadWriteLock::ThreadRecursionCount, DummyCriticalSection >, juce::ArrayBase< juce::Rectangle, DummyCriticalSection >, juce::ArrayBase< juce::RelativePointPath::ElementBase *, DummyCriticalSection >, juce::ArrayBase< juce::ScrollBar::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::StandalonePluginHolder::PluginInOuts, DummyCriticalSection >, juce::ArrayBase< juce::StretchableLayoutManager::ItemLayoutProperties *, DummyCriticalSection >, juce::ArrayBase< juce::StretchableObjectResizer::Item, DummyCriticalSection >, juce::ArrayBase< juce::String, DummyCriticalSection >, juce::ArrayBase< juce::SynthesiserSound *, DummyCriticalSection >, juce::ArrayBase< juce::SynthesiserVoice *, DummyCriticalSection >, juce::ArrayBase< juce::TabbedButtonBar::TabInfo *, DummyCriticalSection >, juce::ArrayBase< juce::TableHeaderComponent::ColumnInfo *, DummyCriticalSection >, juce::ArrayBase< juce::TableHeaderComponent::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::TextButton *, DummyCriticalSection >, juce::ArrayBase< juce::TextDiff::Change, DummyCriticalSection >, juce::ArrayBase< juce::TextEditor *, DummyCriticalSection >, juce::ArrayBase< juce::TextEditor::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::TextLayout::Glyph, DummyCriticalSection >, juce::ArrayBase< juce::TextLayout::Line *, DummyCriticalSection >, juce::ArrayBase< juce::TextLayout::Run *, DummyCriticalSection >, juce::ArrayBase< juce::TextPropertyComponent::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::ThreadPoolJob *, DummyCriticalSection >, juce::ArrayBase< juce::Timer *, DummyCriticalSection >, juce::ArrayBase< juce::TimeSliceClient *, DummyCriticalSection >, juce::ArrayBase< juce::ToggleButton *, DummyCriticalSection >, juce::ArrayBase< juce::ToolbarItemComponent *, DummyCriticalSection >, juce::ArrayBase< juce::TreeViewItem *, DummyCriticalSection >, juce::ArrayBase< juce::URL, DummyCriticalSection >, juce::ArrayBase< juce::URL::Upload *, DummyCriticalSection >, juce::ArrayBase< juce::Value *, DummyCriticalSection >, juce::ArrayBase< juce::Value::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::ValueTree::Listener *, DummyCriticalSection >, juce::ArrayBase< juce::WeakReference< juce::Component >, DummyCriticalSection >, juce::ArrayBase< juce::XWindowSystemUtilities::XSettings::Listener *, DummyCriticalSection >, juce::ArrayBase< ListenerClass *, DummyCriticalSection >, juce::ArrayBase< ModalItem *, DummyCriticalSection >, juce::ArrayBase< MonoProcessorType *, DummyCriticalSection >, juce::ArrayBase< NumericType, DummyCriticalSection >, juce::ArrayBase< ObjectClass *, DummyCriticalSection >, juce::ArrayBase< OversamplingStage *, DummyCriticalSection >, juce::ArrayBase< PanelHolder *, DummyCriticalSection >, juce::ArrayBase< RenderingHelpers::SoftwareRendererSavedState *, DummyCriticalSection >, juce::ArrayBase< SampleType, DummyCriticalSection >, juce::ArrayBase< SavedState *, DummyCriticalSection >, juce::ArrayBase< SavedStateType *, DummyCriticalSection >, juce::ArrayBase< SelectableItemType, DummyCriticalSection >, juce::ArrayBase< size_t, DummyCriticalSection >, juce::ArrayBase< StateObjectType *, DummyCriticalSection >, juce::ArrayBase< SwatchComponent *, DummyCriticalSection >, juce::ArrayBase< ThreadPoolThread *, DummyCriticalSection >, juce::ArrayBase< ThumbData *, DummyCriticalSection >, juce::ArrayBase< ThumbnailCacheEntry *, DummyCriticalSection >, juce::ArrayBase< uint8, DummyCriticalSection >, juce::ArrayBase< UniformTextSection *, DummyCriticalSection >, and juce::ArrayBase< ZipEntryHolder *, DummyCriticalSection >.
A class that can be used in place of a real CriticalSection object, but which doesn't perform any locking.
This is currently used by some templated classes, and most compilers should manage to optimise it out of existence.
- See also
- CriticalSection, Array, OwnedArray, ReferenceCountedArray
@tags{Core}
◆ ScopedUnlockType
A dummy scoped-unlocker type to use with a dummy critical section.
◆ DummyCriticalSection()
juce::DummyCriticalSection::DummyCriticalSection |
( |
| ) |
|
|
inlinedefault |
◆ ~DummyCriticalSection()
juce::DummyCriticalSection::~DummyCriticalSection |
( |
| ) |
|
|
inlinedefault |
◆ enter()
void juce::DummyCriticalSection::enter |
( |
| ) |
const |
|
inlinenoexcept |
◆ exit()
void juce::DummyCriticalSection::exit |
( |
| ) |
const |
|
inlinenoexcept |
◆ tryEnter()
bool juce::DummyCriticalSection::tryEnter |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: