PrimoBurner(tm) for C++
4.2
CD, DVD and Blu-ray Software Development Kit
|
Provides a way for recording all or a portion of DiscArchive content on a single disc. More...
#include <PrimoBurner.h>
Inherits Reference.
Public Member Functions | |
virtual DiscLayoutCallback * | callback () const =0 |
Gets the current callback set in DiscArchive. | |
virtual bool_t | close ()=0 |
Finalizes the write operations. | |
virtual DataFile * | content () const =0 |
Gets the layout that will be written on the target disc. | |
virtual DataFile * | contentOnDisc () const =0 |
Gets the description of the layout already present on the target disc before the current layout is written to it. | |
virtual Device * | device (void) const =0 |
Gets the Device object which should be used for burning. | |
virtual const ErrorInfo * | error () const =0 |
Gets error information about the last operation. | |
virtual DataFile * | footer () const =0 |
Gets the footer layout to be recorded after the content layout is written on disc. | |
virtual int32_t | imageSize () const =0 |
Gets the number of blocks needed on the target disc to write the content and the footer. | |
virtual int32_t | mediaFreeSpace () const =0 |
Gets the available space in blocks on the target disc before calling any of the write methods. | |
virtual bool_t | open ()=0 |
Prepares the DiscLayout object for recording the selected content and footer to the target disc. | |
virtual int32_t | sessionStartAddress () const =0 |
Sets the address at which content recording will begin on the target disc. | |
virtual void | setCallback (DiscLayoutCallback *callback)=0 |
Sets a callback object to receive notifications from DiscArchive. | |
virtual void | setDevice (Device *device)=0 |
Sets a Device object which should be used for burning. | |
virtual void | setFooter (DataFile *footer)=0 |
Sets the footer layout to be recorded after the content layout is written on disc. | |
virtual void | setSessionStartAddress (int32_t address)=0 |
Sets the address at which content recording will begin on the target disc. | |
virtual void | setVolumeLabel (const char_t *volumeLabel)=0 |
Sets the image volume label. | |
virtual const char_t * | volumeLabel () const =0 |
Gets the volume label of the data image. | |
virtual bool_t | writeContent ()=0 |
Writes the selected content on the target disc. | |
virtual bool_t | writeFileSystem (bool_t dismountVolume=0)=0 |
Writes the file system describing the content of the disc. | |
virtual bool_t | writeFooter ()=0 |
Writes the footer on the target disc. |
Provides a way for recording all or a portion of DiscArchive content on a single disc.
See the example in DiscArchive for a simple demonstration of how to use DiscArchive and DiscLayout together.
virtual DiscLayoutCallback* callback | ( | ) | const [pure virtual] |
Gets the current callback set in DiscArchive.
virtual bool_t close | ( | ) | [pure virtual] |
Finalizes the write operations.
Gets the layout that will be written on the target disc.
virtual DataFile* contentOnDisc | ( | ) | const [pure virtual] |
Gets the description of the layout already present on the target disc before the current layout is written to it.
Gets error information about the last operation.
Gets the footer layout to be recorded after the content layout is written on disc.
virtual int32_t imageSize | ( | ) | const [pure virtual] |
Gets the number of blocks needed on the target disc to write the content and the footer.
virtual int32_t mediaFreeSpace | ( | ) | const [pure virtual] |
Gets the available space in blocks on the target disc before calling any of the write methods.
virtual bool_t open | ( | ) | [pure virtual] |
Prepares the DiscLayout object for recording the selected content and footer to the target disc.
virtual int32_t sessionStartAddress | ( | ) | const [pure virtual] |
Sets the address at which content recording will begin on the target disc.
virtual void setCallback | ( | DiscLayoutCallback * | callback | ) | [pure virtual] |
Sets a callback object to receive notifications from DiscArchive.
callback | A pointer to an object that implements the DiscArchiveCallback interface. |
Sets the footer layout to be recorded after the content layout is written on disc.
footer | A pointer to a DataFile object that describes the footer layout. The DataFile object is retained by DiscLayout. |
virtual void setSessionStartAddress | ( | int32_t | address | ) | [pure virtual] |
Sets the address at which content recording will begin on the target disc.
address | LBA |
virtual void setVolumeLabel | ( | const char_t * | volumeLabel | ) | [pure virtual] |
Sets the image volume label.
volumeLabel | The maximum length allowed for the volume label is 32 characters. Only capital letters from A to Z, digits from 0 to 9, and the special characters _ (underscore) are allowed. |
virtual const char_t* volumeLabel | ( | ) | const [pure virtual] |
Gets the volume label of the data image.
virtual bool_t writeContent | ( | ) | [pure virtual] |
Writes the selected content on the target disc.
virtual bool_t writeFileSystem | ( | bool_t | dismountVolume = 0 | ) | [pure virtual] |
Writes the file system describing the content of the disc.
dismountVolume | Indicates whether to dismount the volume after the burning. The default value is FALSE. |
virtual bool_t writeFooter | ( | ) | [pure virtual] |