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

The DataDiscCallback interface lets you receive notifications about the burning progress. More...

#include <PrimoBurner.h>

Inherits Reference.

List of all members.

Public Member Functions

virtual bool_t onContinueWrite ()
 Called by DataDisc to check if burning should continue.
virtual void onFileStatus (int32_t fileNumber, const char_t *filename, int32_t percentWritten)
 Called by DataDisc to report the file that is currently being recorded.
virtual void onProgress (int64_t bytesWritten, int64_t all)
 Called by DataDisc to report the number of bytes that have been written to the disc.
virtual void onStatus (DataDiscStatus::Enum status)
 Called by a DataDisc instance to report the status of the burn process.
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

The DataDiscCallback interface lets you receive notifications about the burning progress.

See also:
DataDisc
DataDisc::setCallback
DataDisc::writeToDisc
DataDisc::writeImageToDisc

Member Function Documentation

virtual bool_t onContinueWrite ( ) [virtual]

Called by DataDisc to check if burning should continue.

Returns:
1 The burning should continue.
0 The burning should be canceled.
virtual void onFileStatus ( int32_t  fileNumber,
const char_t *  filename,
int32_t  percentWritten 
) [virtual]

Called by DataDisc to report the file that is currently being recorded.

Parameters:
fileNumberThe sequential file number (starts from 0).
filename[in] The name of the file that is being processed.
percentWrittenThe percentage of the file data that has already been written to the disc.
virtual void onProgress ( int64_t  bytesWritten,
int64_t  all 
) [virtual]

Called by DataDisc to report the number of bytes that have been written to the disc.

Parameters:
bytesWrittenThe current number of bytes from the image which have been written to the disc
allTotal number of bytes that will be written to the disc.
virtual void onStatus ( DataDiscStatus::Enum  status) [virtual]

Called by a DataDisc instance to report the status of the burn process.

Parameters:
statusCurrent operation.
See also:
DataDiscStatus::Enum
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