PrimoBurner(tm) for C++  4.6
CD, DVD and Blu-ray Software Development Kit
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
TocTrack Class Referenceabstract

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

#include <PrimoBurnerAPI.h>

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. More...
 
virtual uint8_t adr () const =0
 The adr() method gives the type of information encoded in the Q Sub-channel of the block where this TOC entry was found. More...
 
virtual uint8_t ctl () const =0
 Returns the a value that defines the attributes of the track. More...
 
virtual bool_t isAudio () const =0
 Shows if this track is an audio track. More...
 
virtual bool_t isData () const =0
 Shows if this track is a data track. More...
 
virtual bool_t isLeadOut () const =0
 Shows if this track is the lead-out area of the session. More...
 
virtual uint8_t reserved () const =0
 Reserved field. More...
 
virtual uint8_t reserved2 () const =0
 Reserved field. More...
 
virtual uint8_t trackNumber () const =0
 Returns the track number, 1 based. More...
 

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 adr ( ) const
pure virtual

The adr() 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 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 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