Audacity  3.0.3
Classes | 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 "ODWaveTrackTaskQueue.h"
#include "../Project.h"
#include <wx/utils.h>
#include <wx/wx.h>
#include <wx/thread.h>
#include <wx/event.h>
Include dependency graph for ODManager.cpp:

Go to the source code of this file.

Classes

class  ODTaskThread
 A thread that executes a part of the task specified by an ODTask. More...
 

Typedefs

typedef ODManager *(* pfodman) ()
 

Functions

 wxDEFINE_EVENT (EVT_ODTASK_UPDATE, wxCommandEvent)
 
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...
 

Detailed Description

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

Definition in file ODManager.cpp.

Typedef Documentation

◆ pfodman

typedef ODManager*(* pfodman) ()

Definition at line 141 of file ODManager.cpp.

Function Documentation

◆ CompareNoCaseFileName()

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

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

Definition at line 149 of file ODManager.cpp.

150 {
151  return first.CmpNoCase(second);
152 }

◆ wxDEFINE_EVENT()

wxDEFINE_EVENT ( EVT_ODTASK_UPDATE  ,
wxCommandEvent   
)

Variable Documentation

◆ gManagerCreated

bool gManagerCreated =false
static

Definition at line 133 of file ODManager.cpp.

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

◆ gODInitedMutex

ODLock gODInitedMutex
static

Definition at line 132 of file ODManager.cpp.

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

◆ gPause

bool gPause =false
static

Definition at line 134 of file ODManager.cpp.

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

◆ sHasLoadedOD

bool sHasLoadedOD =false
static

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

Definition at line 136 of file ODManager.cpp.

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