Implement this interface to provide information to DiscArchive for managing the footer size.
More...
#include <pb_api.h>
Inherits Reference.
|
virtual bool_t | onContinueWrite () |
| Called to check if recording should continue.
|
|
virtual void | onFileCompleteWithPath (const char_t *sourcePath, const char_t *layoutPath) |
| Called when a specific file from the layout is written on the target disc.
|
|
virtual void | onFileErrorWithPath (const char_t *sourcePath, const char_t *layoutPath, const ErrorInfo *error) |
| Called when a specific file from the layout cannot be written on the target disc due to file access/read errors.
|
|
virtual void | onProgress (int32_t current, int32_t all) |
| Called to report the number of blocks written to the target disc.
|
|
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.
|
|
virtual int32_t | release () const =0 |
| Releases the instance.
|
|
virtual int32_t | retain () const =0 |
| Retains the instance.
|
|
virtual int32_t | retainCount () const =0 |
| Returns the current reference count.
|
|
Implement this interface to provide information to DiscArchive for managing the footer size.
- See also
- DiscArchive::setFooterPolicy
-
DiscArchive::footerPolicy
◆ onContinueWrite()
virtual bool_t onContinueWrite |
( |
| ) |
|
|
virtual |
Called to check if recording should continue.
- Returns
- TRUE if writing should continue.
-
FALSE if writing should be stopped.
◆ onFileCompleteWithPath()
virtual void onFileCompleteWithPath |
( |
const char_t * |
sourcePath, |
|
|
const char_t * |
layoutPath |
|
) |
| |
|
virtual |
Called when a specific file from the layout is written on the target disc.
- Parameters
-
sourcePath | [in] The Actual full path of the file on the hard drive/network location/ etc. |
layoutPath | [in] The path of the item within the layout which is recorded successfully. This value may be used in the DataFile::find() method to access the actual DataFile item. |
◆ onFileErrorWithPath()
virtual void onFileErrorWithPath |
( |
const char_t * |
sourcePath, |
|
|
const char_t * |
layoutPath, |
|
|
const ErrorInfo * |
error |
|
) |
| |
|
virtual |
Called when a specific file from the layout cannot be written on the target disc due to file access/read errors.
- Parameters
-
sourcePath | [in] The Actual full path of the file on the hard drive/network location/ etc, for which the error was raised. |
layoutPath | [in] The path of the item within the layout, for which the error was raised. This value may be used in the DataFile::find() method to access the actual DataFile item. |
error | [in] The description of the error that triggered the file error. |
◆ onProgress()
virtual void onProgress |
( |
int32_t |
current, |
|
|
int32_t |
all |
|
) |
| |
|
virtual |
Called to report the number of blocks written to the target disc.
- Parameters
-
current | [in] The number of blocks that are already written from the layout. |
all | [in] The total number of blocks that will be written from the layout. This is always the size of the image layout in blocks. |
◆ release()
int32_t release |
( |
| ) |
const |
|
virtual |
◆ retain()
◆ retainCount()
int32_t retainCount |
( |
| ) |
const |
|
virtual |