PrimoBurner(tm) for C++  4.2
CD, DVD and Blu-ray Software Development Kit
DiscCopyCallback Class Reference

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

#include <PrimoBurner.h>

Inherits Reference.

List of all members.

Public Member Functions

virtual bool_t onContinueCopy ()
 This method is called to check if the image read/write operation should continue.
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.
virtual void onStatus (DiscCopyStatus::Enum status)
 This method is called to report the status of the image creation/writing process.
virtual void onTrackStatus (int trackIndex, int percentWritten)
 This method is called to report the write/read progress of individual tracks.
int32_t release () const
 Simple implementation of primo::Reference::release.
int32_t retain () const
 Simple implementation of primo::Reference::retain.
int32_t retainCount () const
 Simple implementation of primo::Reference::retainCount.

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.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator