openshot-audio  0.1.5
Classes | Public Member Functions | Public Attributes | List of all members
AudioCDBurner::Pimpl Class Reference
Inheritance diagram for AudioCDBurner::Pimpl:
ComBaseClassHelper< IDiscMasterProgressEvents > Timer Timer ComBaseClassHelperBase< IDiscMasterProgressEvents >

Classes

class  ScopedDiscOpener
 

Public Member Functions

 Pimpl (AudioCDBurner &b, int deviceIndex)
 
 ~Pimpl ()
 
void timerCallback () override
 
DiskState getDiskState () const
 
bool openTray ()
 
Array< int > getAvailableWriteSpeeds () const
 
bool setBufferUnderrunProtection (const bool shouldBeEnabled)
 
int getNumAvailableAudioBlocks () const
 
 Pimpl (AudioCDBurner &owner_, IDiscMaster *discMaster_, IDiscRecorder *discRecorder_)
 
 ~Pimpl ()
 
void releaseObjects ()
 
JUCE_COMRESULT QueryCancel (boolean *pbCancel)
 
JUCE_COMRESULT NotifyBlockProgress (long nCompleted, long nTotal)
 
JUCE_COMRESULT NotifyPnPActivity (void)
 
JUCE_COMRESULT NotifyAddProgress (long, long)
 
JUCE_COMRESULT NotifyTrackProgress (long, long)
 
JUCE_COMRESULT NotifyPreparingBurn (long)
 
JUCE_COMRESULT NotifyClosingDisc (long)
 
JUCE_COMRESULT NotifyBurnComplete (HRESULT)
 
JUCE_COMRESULT NotifyEraseComplete (HRESULT)
 
DiskState getDiskState ()
 
int getIntProperty (const LPOLESTR name, const int defaultReturn) const
 
bool setIntProperty (const LPOLESTR name, const int value) const
 
void timerCallback () override
 
- Public Member Functions inherited from ComBaseClassHelper< IDiscMasterProgressEvents >
 ComBaseClassHelper (unsigned int initialRefCount=1)
 
 ~ComBaseClassHelper ()
 
JUCE_COMRESULT QueryInterface (REFIID refId, void **result)
 
- Public Member Functions inherited from ComBaseClassHelperBase< IDiscMasterProgressEvents >
 ComBaseClassHelperBase (unsigned int initialRefCount)
 
virtual ~ComBaseClassHelperBase ()
 
ULONG __stdcall AddRef ()
 
ULONG __stdcall Release ()
 
- Public Member Functions inherited from Timer
virtual ~Timer ()
 
void startTimer (int intervalInMilliseconds) noexcept
 
void startTimerHz (int timerFrequencyHz) noexcept
 
void stopTimer () noexcept
 
bool isTimerRunning () const noexcept
 
int getTimerInterval () const noexcept
 

Public Attributes

ScopedPointer< OpenDiskDevicedevice
 
IDiscMaster * discMaster
 
IDiscRecorder * discRecorder
 
IRedbookDiscMaster * redbook
 
AudioCDBurner::BurnProgressListener * listener
 
float progress
 
bool shouldCancel
 

Additional Inherited Members

- Static Public Member Functions inherited from Timer
static void JUCE_CALLTYPE callPendingTimersSynchronously ()
 
- Protected Member Functions inherited from ComBaseClassHelperBase< IDiscMasterProgressEvents >
JUCE_COMRESULT QueryInterface (REFIID refId, void **result)
 
JUCE_COMRESULT castToType (void **result)
 
- Protected Member Functions inherited from Timer
 Timer () noexcept
 
 Timer (const Timer &) noexcept
 
- Protected Attributes inherited from ComBaseClassHelperBase< IDiscMasterProgressEvents >
ULONG refCount
 

Constructor & Destructor Documentation

◆ Pimpl() [1/2]

AudioCDBurner::Pimpl::Pimpl ( AudioCDBurner &  b,
int  deviceIndex 
)
inline

◆ ~Pimpl() [1/2]

AudioCDBurner::Pimpl::~Pimpl ( )
inline

◆ Pimpl() [2/2]

AudioCDBurner::Pimpl::Pimpl ( AudioCDBurner &  owner_,
IDiscMaster *  discMaster_,
IDiscRecorder *  discRecorder_ 
)
inline

◆ ~Pimpl() [2/2]

AudioCDBurner::Pimpl::~Pimpl ( )
inline

Member Function Documentation

◆ getAvailableWriteSpeeds()

Array<int> AudioCDBurner::Pimpl::getAvailableWriteSpeeds ( ) const
inline

◆ getDiskState() [1/2]

DiskState AudioCDBurner::Pimpl::getDiskState ( )
inline

◆ getDiskState() [2/2]

DiskState AudioCDBurner::Pimpl::getDiskState ( ) const
inline

◆ getIntProperty()

int AudioCDBurner::Pimpl::getIntProperty ( const LPOLESTR  name,
const int  defaultReturn 
) const
inline

◆ getNumAvailableAudioBlocks()

int AudioCDBurner::Pimpl::getNumAvailableAudioBlocks ( ) const
inline

◆ NotifyAddProgress()

JUCE_COMRESULT AudioCDBurner::Pimpl::NotifyAddProgress ( long  ,
long   
)
inline

◆ NotifyBlockProgress()

JUCE_COMRESULT AudioCDBurner::Pimpl::NotifyBlockProgress ( long  nCompleted,
long  nTotal 
)
inline

◆ NotifyBurnComplete()

JUCE_COMRESULT AudioCDBurner::Pimpl::NotifyBurnComplete ( HRESULT  )
inline

◆ NotifyClosingDisc()

JUCE_COMRESULT AudioCDBurner::Pimpl::NotifyClosingDisc ( long  )
inline

◆ NotifyEraseComplete()

JUCE_COMRESULT AudioCDBurner::Pimpl::NotifyEraseComplete ( HRESULT  )
inline

◆ NotifyPnPActivity()

JUCE_COMRESULT AudioCDBurner::Pimpl::NotifyPnPActivity ( void  )
inline

◆ NotifyPreparingBurn()

JUCE_COMRESULT AudioCDBurner::Pimpl::NotifyPreparingBurn ( long  )
inline

◆ NotifyTrackProgress()

JUCE_COMRESULT AudioCDBurner::Pimpl::NotifyTrackProgress ( long  ,
long   
)
inline

◆ openTray()

bool AudioCDBurner::Pimpl::openTray ( )
inline

◆ QueryCancel()

JUCE_COMRESULT AudioCDBurner::Pimpl::QueryCancel ( boolean *  pbCancel)
inline

◆ releaseObjects()

void AudioCDBurner::Pimpl::releaseObjects ( )
inline

◆ setBufferUnderrunProtection()

bool AudioCDBurner::Pimpl::setBufferUnderrunProtection ( const bool  shouldBeEnabled)
inline

◆ setIntProperty()

bool AudioCDBurner::Pimpl::setIntProperty ( const LPOLESTR  name,
const int  value 
) const
inline

◆ timerCallback() [1/2]

void AudioCDBurner::Pimpl::timerCallback ( )
inlineoverridevirtual

The user-defined callback routine that actually gets called periodically.

It's perfectly ok to call startTimer() or stopTimer() from within this callback to change the subsequent intervals.

Implements Timer.

◆ timerCallback() [2/2]

void AudioCDBurner::Pimpl::timerCallback ( )
inlineoverridevirtual

The user-defined callback routine that actually gets called periodically.

It's perfectly ok to call startTimer() or stopTimer() from within this callback to change the subsequent intervals.

Implements Timer.

Member Data Documentation

◆ device

ScopedPointer<OpenDiskDevice> AudioCDBurner::Pimpl::device

◆ discMaster

IDiscMaster* AudioCDBurner::Pimpl::discMaster

◆ discRecorder

IDiscRecorder* AudioCDBurner::Pimpl::discRecorder

◆ listener

AudioCDBurner::BurnProgressListener* AudioCDBurner::Pimpl::listener

◆ progress

float AudioCDBurner::Pimpl::progress

◆ redbook

IRedbookDiscMaster* AudioCDBurner::Pimpl::redbook

◆ shouldCancel

bool AudioCDBurner::Pimpl::shouldCancel

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