PrimoBurner(tm) for C++  4.6
CD, DVD and Blu-ray Software Development Kit
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
DiscCopyCallback Class Reference

Implement this callback interface to receive progress and status notifications from DiscCopy. More...

#include <PrimoBurnerAPI.h>

Inherits Reference.

Public Member Functions

virtual bool_t onContinueCopy ()
 This method is called to check if the image read/write operation should continue. More...
 
virtual void onProgress (uint32_t current, uint32_t all)
 This method is called to report the number of blocks written to or read from the processed medium. More...
 
virtual void onStatus (DiscCopyStatus::Enum status)
 This method is called to report the status of the image creation/writing process. More...
 
virtual void onTrackStatus (int trackIndex, int percentWritten)
 This method is called to report the write/read progress of individual tracks. More...
 
int32_t release () const
 Simple implementation of primo::Reference::release. More...
 
int32_t retain () const
 Simple implementation of primo::Reference::retain. More...
 
int32_t retainCount () const
 Simple implementation of primo::Reference::retainCount. More...
 

Detailed Description

Implement this callback interface to receive progress and status notifications from DiscCopy.

Member Function Documentation

virtual bool_t onContinueCopy ( )
virtual

This method is called to check if the image read/write operation should continue.

Returns
1 The operation should continue.
0 The operation should stop.
virtual void onProgress ( uint32_t  current,
uint32_t  all 
)
virtual

This method is called to report the number of blocks written to or read from the processed medium.

Parameters
currentThe number of blocks that have been written to/read from the processed medium.
allThe total number of blocks that will be written to/read from the processed medium.
virtual void onStatus ( DiscCopyStatus::Enum  status)
virtual

This method is called to report the status of the image creation/writing process.

Parameters
statusThe status of the disc copy process.
See Also
DiscCopyStatus::Enum
virtual void onTrackStatus ( int  trackIndex,
int  percentWritten 
)
virtual

This method is called to report the write/read progress of individual tracks.

Parameters
trackIndexThe zero based index of the track that is being written/read.
percentWrittenThe percentage of the track data that has been written to/read from the processed medium.
int32_t release ( ) const
virtual

Simple implementation of primo::Reference::release.

Returns
The updated reference count.

Implements Reference.

int32_t retain ( ) const
virtual

Simple implementation of primo::Reference::retain.

Returns
The updated reference count.

Implements Reference.

int32_t retainCount ( ) const
virtual

Simple implementation of primo::Reference::retainCount.

Returns
The current reference count.

Implements Reference.