Photosine 0.5
Loading...
Searching...
No Matches

#include <GlobalVariables.h>

Public Member Functions

 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GlobalVariables)

Static Public Member Functions

static void open ()
static void close ()

Static Public Attributes

static juce::KnownPluginList knownPlugins
static std::unique_ptr< juce::AudioPluginFormatManager > formatManager
static std::unique_ptr< juce::ApplicationProperties > appProperties
static std::unique_ptr< PhotosineProjectValueTreephotosineProject
static std::shared_ptr< juce::UndoManager > projectUndoManager
static std::shared_ptr< PluginOrganizer::ValueTreeManagerpluginOrganizerList
static std::shared_ptr< juce::ApplicationCommandManager > commandManager
static juce::ApplicationCommandTarget * menuBarTarget
static bool pluginListNeedsRescan = false

Detailed Description

Class that contains static members intended to be accessible to all classes.

Member Function Documentation

◆ close()

void GlobalVariables::close ( )
inlinestatic

Called at shutdown. GlobalVariables requires open() to be called in order to be used after calling close()

◆ JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR()

GlobalVariables::JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR ( GlobalVariables )

◆ open()

void GlobalVariables::open ( )
inlinestatic

Creates all necessary instances. Must be called only once at startup. Must be called in order to use GlobalVariables.

Member Data Documentation

◆ appProperties

std::unique_ptr<juce::ApplicationProperties> GlobalVariables::appProperties
inlinestatic

Used to store application properties. Loaded in open() See: PluginOrganizer

◆ commandManager

std::shared_ptr<juce::ApplicationCommandManager> GlobalVariables::commandManager
inlinestatic

Used to deliver application commands.

◆ formatManager

std::unique_ptr<juce::AudioPluginFormatManager> GlobalVariables::formatManager
inlinestatic

Used for creating plugin instances, etc. See: PluginScannerSubprocess, PluginManager, PluginPool,

◆ knownPlugins

juce::KnownPluginList GlobalVariables::knownPlugins
inlinestatic

List used internally for managing PluginDescriptions. See: PluginOrganizer, PluginManager, PluginPool, PluginScannerThread

◆ menuBarTarget

juce::ApplicationCommandTarget* GlobalVariables::menuBarTarget
inlinestatic

Pointer for other juce::ApplicationCommandTarget's to use for juce::ApplicationCommandTarget::getNextCommandTarget()

◆ photosineProject

std::unique_ptr<PhotosineProjectValueTree> GlobalVariables::photosineProject
inlinestatic

Project data value tree manager. Used in almost everything.

◆ pluginListNeedsRescan

bool GlobalVariables::pluginListNeedsRescan = false
inlinestatic

Flag that tells PluginOrganizer that it needs to run a scan.

◆ pluginOrganizerList

std::shared_ptr<PluginOrganizer::ValueTreeManager> GlobalVariables::pluginOrganizerList
inlinestatic

Back-end data structure used in PluginOrganizer See also: PluginManager

◆ projectUndoManager

std::shared_ptr<juce::UndoManager> GlobalVariables::projectUndoManager
inlinestatic

Undo manager for photosine project.


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