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

A Track from Table Of Content (TOC) More...

#include <PrimoBurner.h>

List of all members.

Public Member Functions

virtual uint32_t address () const =0
 Returns the address of the first block with user information for this track number as read from the Table Of Contents, or the Logical Block Address (LBA) of the track start.
virtual uint8_t ctl () const =0
 Returns the a value that defines the attributes of the track.
virtual bool_t isAudio () const =0
 Shows if this track is an audio track.
virtual bool_t isData () const =0
 Shows if this track is a data track.
virtual bool_t isLeadOut () const =0
 Shows if this track is the lead-out area of the session.
virtual uint8_t qsubchannelInfo () const =0
 The qsubchannelInfoType() method gives the type of information encoded in the Q Sub-channel of the block where this TOC entry was found.
virtual uint8_t reserved () const =0
 Reserved field.
virtual uint8_t reserved2 () const =0
 Reserved field.
virtual uint8_t trackNumber () const =0
 Returns the track number, 1 based.

Detailed Description

A Track from Table Of Content (TOC)

See also:
Toc
SessionInfo
Device::readToc
Device::readSessionInfo

Member Function Documentation

virtual uint32_t address ( ) const [pure virtual]

Returns the address of the first block with user information for this track number as read from the Table Of Contents, or the Logical Block Address (LBA) of the track start.

Returns:
Track address
virtual uint8_t ctl ( ) const [pure virtual]

Returns the a value that defines the attributes of the track.

Returns:
Track CTL field
virtual bool_t isAudio ( ) const [pure virtual]

Shows if this track is an audio track.

Returns:
TRUE if the track is an audio track; FALSE otherwise.
virtual bool_t isData ( ) const [pure virtual]

Shows if this track is a data track.

Returns:
TRUE if the track is a data track; FALSE otherwise.
virtual bool_t isLeadOut ( ) const [pure virtual]

Shows if this track is the lead-out area of the session.

Remarks:
The address method returns the logical block address of the lead-out, which is also the logical block address of the last track end.
Returns:
TRUE if the track describes the lead-out area of the session; FALSE otherwise.
virtual uint8_t qsubchannelInfo ( ) const [pure virtual]

The qsubchannelInfoType() method gives the type of information encoded in the Q Sub-channel of the block where this TOC entry was found.

Returns:
The returned value may be one of the values described in the QSubchannelInfoType::Enum enumeration. The method may also return values outside the QSubchannelInfoType::Enum enumeration - those are treated as reserved.
See also:
QSubchannelInfoType::Enum
virtual uint8_t reserved ( ) const [pure virtual]

Reserved field.

Returns:
virtual uint8_t reserved2 ( ) const [pure virtual]

Reserved field.

Returns:
virtual uint8_t trackNumber ( ) const [pure virtual]

Returns the track number, 1 based.

A track number of AAh indicates that the track descriptor is for the start of the lead-out area.

Returns:
Track number
 All Classes Namespaces Files Functions Variables Enumerations Enumerator