Audacity  2.2.2
Typedefs | Functions | Variables
ODManager.cpp File Reference

Singleton ODManager class. Is the bridge between client side ODTask requests and internals. More...

#include "../Audacity.h"
#include "ODManager.h"
#include "ODTask.h"
#include "ODTaskThread.h"
#include "ODWaveTrackTaskQueue.h"
#include "../Project.h"
#include <NonGuiThread.h>
#include <wx/utils.h>
#include <wx/wx.h>
#include <wx/thread.h>
#include <wx/event.h>

Go to the source code of this file.

Typedefs

typedef ODManager *(* pfodman )()
 

Functions

int CompareNoCaseFileName (const wxString &first, const wxString &second)
 wxstring compare function for sorting case, which is needed to load correctly. More...
 

Variables

static ODLock gODInitedMutex
 
static bool gManagerCreated =false
 
static bool gPause =false
 
static bool sHasLoadedOD =false
 a flag that is set if we have loaded some OD blockfiles from PCM. More...
 
static ODLock sLibSndFileMutex
 

Detailed Description

Singleton ODManager class. Is the bridge between client side ODTask requests and internals.

Definition in file ODManager.cpp.

Typedef Documentation

typedef ODManager*(* pfodman)()

Definition at line 38 of file ODManager.cpp.

Function Documentation

int CompareNoCaseFileName ( const wxString &  first,
const wxString &  second 
)

wxstring compare function for sorting case, which is needed to load correctly.

Definition at line 49 of file ODManager.cpp.

Referenced by AudacityProject::OnImport(), and AudacityProject::OpenFiles().

50 {
51  return first.CmpNoCase(second);
52 }

Variable Documentation

bool gManagerCreated =false
static

Definition at line 30 of file ODManager.cpp.

Referenced by ODManager::InstanceFirstTime(), and ODManager::IsInstanceCreated().

ODLock gODInitedMutex
static

Definition at line 29 of file ODManager.cpp.

bool gPause =false
static

Definition at line 31 of file ODManager.cpp.

Referenced by ODManager::ODManager(), and ODManager::Pauser::Pause().

bool sHasLoadedOD =false
static

a flag that is set if we have loaded some OD blockfiles from PCM.

Definition at line 33 of file ODManager.cpp.

Referenced by ODManager::HasLoadedODFlag(), ODManager::MarkLoadedODFlag(), and ODManager::UnmarkLoadedODFlag().

ODLock sLibSndFileMutex
static

Definition at line 42 of file ODManager.cpp.