PrimoBurner(tm) for C++  4.2
CD, DVD and Blu-ray Software Development Kit
primo::burner::Library Namespace Reference

This namespace contains global functions for the PrimoBurner library. More...

Functions

AudioCDcreateAudioCD ()
 Creates a new AudioCD object.
AudioInputcreateAudioInput ()
 Creates a new AudioInput object.
AudioOutputcreateAudioOutput ()
 Creates a new AudioOutput object.
BlockDevicecreateBlockDevice ()
 Creates a new BlockDevice object.
CDModecreateCDMode ()
 Creates a new CDMode object.
CDSectorcreateCDSector ()
 Creates a new CDSector object.
CDSessioncreateCDSession ()
 Creates a new CDSession object.
CDTextcreateCDText ()
 Creates a new CDText object.
CDTrackcreateCDTrack ()
 Creates a new CDTrack object.
DataDisccreateDataDisc ()
 Creates a new DataDisc object.
DataFilecreateDataFile ()
 Creates a new DataFile object.
DiscArchivecreateDiscArchive ()
 Creates a new DiscArchive object.
DiscCopycreateDiscCopy ()
 Creates a new DiscCopy object.
EnginecreateEngine ()
 Creates a new Engine object.
primo::license::LicenseInfocreateLicenseInfo ()
 Creates a new LicenseInfo object.
PcmAudioFormatcreatePcmAudioFormat ()
 Creates a new PcmAudioFormat object.
RawTocTrackcreateRawTocTrack ()
 Creates a new RawTocTrack object.
TrackBuffercreateTrackBuffer (int blockSize, uint32_t blocks=primo::burner::BufferSize::DefaultReadBufferBlocks)
 Creates a new TrackBuffer object.
UdfExtentcreateUdfExtent ()
 Creates a new UdfExtent object.
VideoDVDcreateVideoDVD ()
 Creates a new VideoDVD object.
char deviceIndexToDriveLetter (int index)
 Gets drive letter from device index.
void disableTraceLog ()
 Disables logging of PrimoBurner operations.
int driveLetterToDeviceIndex (char letter)
 Gets device index from drive letter.
bool_t enableTraceLog (const char_t *filePath=NULL, bool_t useExisting=0)
 Enables logging of PrimoBurner operations to file.
int32_t setLicense (const char *license)
 Sets a license string.

Detailed Description

This namespace contains global functions for the PrimoBurner library.

These are the same functions that are exported from the library as pure "C" functions.


Function Documentation

Creates a new AudioCD object.

See pb_create_audio_cd.

Returns:
A pointer to the new AudioCD object.
See also:
Object Management

References pb_create_audio_cd().

Creates a new AudioInput object.

See pb_create_audio_input.

Returns:
A pointer to the new AudioInput object.
See also:
Object Management

References pb_create_audio_input().

Creates a new AudioOutput object.

See pb_create_audio_output.

Returns:
A pointer to the new AudioOutput object.
See also:
Object Management

References pb_create_audio_output().

Creates a new BlockDevice object.

See pb_create_block_device.

Returns:
A pointer to the new BlockDevice object.
See also:
Object Management

References pb_create_block_device().

Creates a new CDMode object.

See pb_create_cd_mode.

Returns:
A pointer to the new CDMode object.
See also:
Object Management

References pb_create_cd_mode().

Creates a new CDSector object.

See pb_create_cd_sector.

Returns:
A pointer to the new CDSector object.
See also:
Object Management

References pb_create_cd_sector().

Creates a new CDSession object.

See pb_create_cd_session.

Returns:
A pointer to the new CDSession object.
See also:
Object Management

References pb_create_cd_session().

Creates a new CDText object.

See pb_create_cd_text.

Returns:
A pointer to the new CDText object.
See also:
Object Management

References pb_create_cd_text().

Creates a new CDTrack object.

See pb_create_cd_track.

Returns:
A pointer to the new CDTrack object.
See also:
Object Management

References pb_create_cd_track().

Creates a new DataDisc object.

See pb_create_data_disc.

Returns:
A pointer to the new DataDisc object.
See also:
Object Management

References pb_create_data_disc().

Creates a new DataFile object.

See pb_create_data_file.

Returns:
A pointer to the new DataFile object.
See also:
Object Management

References pb_create_data_file().

Creates a new DiscArchive object.

See pb_create_disc_archive.

Returns:
A pointer to the new DiscArchive object.
See also:
Object Management

References pb_create_disc_archive().

Creates a new DiscCopy object.

See pb_create_disc_copy.

Returns:
A pointer to the new DiscCopy object.
See also:
Object Management

References pb_create_disc_copy().

Creates a new Engine object.

See pb_create_engine.

Returns:
A pointer to the new Engine object.
See also:
Object Management

References pb_create_engine().

Creates a new LicenseInfo object.

See pb_create_license_info.

Returns:
A pointer to the new LicenseInfo object.
See also:
Object Management

References pb_create_license_info().

Creates a new RawTocTrack object.

See pb_create_raw_toc_track.

Returns:
A pointer to the new RawTocTrack object.
See also:
Object Management

References pb_create_raw_toc_track().

Creates a new TrackBuffer object.

See pb_create_track_buffer.

Parameters:
blockSizeThe expected data block size in bytes. The actual size returned by the Device::readData method may differ depending on the data that was read from the disc. The actual size of the block is returned in the TrackBuffer::blockSize method during the reads through Device::readData and Device::readAudio.
blocksNumber of audio or data blocks to be allocated. Each audio block is 2352 bytes and each data block is 2048 bytes.
Returns:
A pointer to the new TrackBuffer object.
See also:
Object Management

References pb_create_track_buffer().

Creates a new UdfExtent object.

See pb_create_udf_extent.

Returns:
A pointer to the new UdfExtent object.
See also:
Object Management

References pb_create_udf_extent().

Creates a new VideoDVD object.

See pb_create_video_dvd.

Returns:
A pointer to the new VideoDVD object.
See also:
Object Management

References pb_create_video_dvd().

Gets drive letter from device index.

See pb_device_index_to_drive_letter.

Parameters:
indexDevice index
Returns:
Drive letter

References pb_device_index_to_drive_letter().

Disables logging of PrimoBurner operations.

See pb_disable_trace_log.

References pb_disable_trace_log().

Gets device index from drive letter.

See pb_drive_letter_to_device_index.

Parameters:
letterDrive letter
Returns:
Device index

References pb_drive_letter_to_device_index().

bool_t primo::burner::Library::enableTraceLog ( const char_t *  filePath = NULL,
bool_t  useExisting = 0 
)

Enables logging of PrimoBurner operations to file.

See pb_enable_trace_log.

Parameters:
filePathThe file path of the trace log.
useExistingSpecifies whether to append to existing trace log or to create a new one.
Returns:
TRUE if successful, FALSE otherwise.

References pb_enable_trace_log().

int32_t primo::burner::Library::setLicense ( const char *  license)

Sets a license string.

See pb_set_license.

Parameters:
licenseA string with license information.
Returns:
license status

References pb_set_license().

 All Classes Namespaces Files Functions Variables Enumerations Enumerator