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

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

#include <PrimoBurnerAPI.h>

Inherits Reference.

Public Member Functions

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
 Gets the CTL field which defines the attributes of a CD track. More...
 
virtual uint8_t frame () const =0
 Gets the FRAME field. More...
 
virtual uint8_t hour () const =0
 Gets the HOUR field / bits 7-4 in the ZERO field. 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 uint8_t minute () const =0
 Gets the MIN field. More...
 
virtual uint8_t pframe () const =0
 Gets the PFRAME field. More...
 
virtual uint8_t phour () const =0
 Gets the PHOUR field / bits 3-0 in the ZERO field. More...
 
virtual uint8_t pminute () const =0
 Gets the PMIN field. More...
 
virtual uint8_t point () const =0
 Gets the POINT field. More...
 
virtual uint8_t psecond () const =0
 Gets the PSEC field. More...
 
virtual uint8_t second () const =0
 Gets the SEC field. More...
 
virtual uint8_t sessionNumber () const =0
 Gets the session number. More...
 
virtual void setAdr (uint8_t infoType)=0
 Defines the type of information stored in the Q Sub-channel. More...
 
virtual void setCtl (uint8_t attributes)=0
 Sets the CTL field which defines the attributes of a CD track. More...
 
virtual void setFrame (uint8_t frame)=0
 Sets the FRAME field. More...
 
virtual void setHour (uint8_t hour)=0
 Sets the HOUR field / bits 7-4 in the ZERO field. More...
 
virtual void setMinute (uint8_t minute)=0
 Sets the MIN field. More...
 
virtual void setPFrame (uint8_t pframe)=0
 Sets the PFRAME field. More...
 
virtual void setPHour (uint8_t phour)=0
 Sets the PHOUR field / bits 3-0 in the ZERO field. More...
 
virtual void setPMinute (uint8_t pminute)=0
 Sets the PMIN field. More...
 
virtual void setPoint (uint8_t point)=0
 Sets the POINT field. More...
 
virtual void setPSecond (uint8_t psecond)=0
 Sets the PSEC field. More...
 
virtual void setSecond (uint8_t second)=0
 Sets the SEC field. More...
 
virtual void setSessionNumber (uint8_t sessionNumber)=0
 Sets the session number field. More...
 
virtual void setTno (uint8_t tno)=0
 Sets the track number. More...
 
virtual void setZero (uint8_t zero)=0
 Sets the ZERO field. More...
 
virtual uint8_t tno () const =0
 Gets the track number. More...
 
virtual uint8_t zero () const =0
 Gets the ZERO field. More...
 
- Public Member Functions inherited from Reference
virtual int32_t release () const =0
 Releases the instance. More...
 
virtual int32_t retain () const =0
 Retains the instance. More...
 
virtual int32_t retainCount () const =0
 Returns the current reference count. More...
 

Detailed Description

A Track from the Raw TOC (Raw Table Of Content)

RawTocTrack fields for each point number:

Field Value
ADDR 1h
POINT A0
MIN, SEC, FRAME Running time in the Lead-in
PMIN Track number of the first track in the program area
PSEC Program area format: 0x00 - CD-DA or CD-ROM, 0x10 - CD-I, 0x20 - CD-ROM-XA
PFRAME 0


Field Value
ADDR 1h
POINT A1
MIN, SEC, FRAME Running time in the Lead-in
PMIN Track number of the last track in the program area
PSEC, PFRAME 0, 0


Field Value
ADDR 1h
POINT A2
MIN, SEC, FRAME Running time in the Lead-in
PMIN, PSEC, PFRAME Start time of Lead-out, encoded as BCD


Field Value
ADDR 1h
POINT Track Number from 1 to 99 (01h to 63h)
MIN, SEC, FRAME Running time in the Lead-in
ZERO 0
PMIN, PSEC, PFRAME Track start time


Field Value
ADDR 5h
POINT B0 Identifies a multi-session disc
MIN, SEC, FRAME Start time for the next possible session's program area. A final session is indicated by MIN:SEC:FRAME = 0xFF:0xFF:0xFF or when the point B0 is absent.
ZERO 0
PMIN, PSEC, PFRAME Maximum possible start time of the outermost Lead-out


Field Value
ADDR 5h
POINT C0 Together with B0, this is used to identify a multi-session disc
MIN, SEC, FRAME 0, 0, 0
ZERO 0
PMIN, PSEC, PFRAME Start time of the first Lead-in area on the disc
See Also
RawPoint::Enum
Toc
Device::ReadToc

Member Function Documentation

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

Gets the CTL field which defines the attributes of a CD track.

Value Description
00x0b 2 audio channels without pre-emphasis
00x1b 2 audio channels with pre-emphasis of 50/15 microseconds
10x0b 4 audio channels without pre-emphasis (reserved in CD-R/RW)
10x1b 4 audio channels with pre-emphasis of 50/15 microseconds (reserved in CD-R/RW)
01x0b Data track, recorded uninterrupted
01x1b Data track, recorded incremental
11xxb Reserved
xx0xb Digital copy prohibited
xx1xb Digital copy permitted


CTL field for DDCD

Field Definitions
0100b Data track, recorded uninterrupted or recorded incremental


Returns
CTL field
virtual uint8_t frame ( ) const
pure virtual

Gets the FRAME field.

Returns
FRAME
virtual uint8_t hour ( ) const
pure virtual

Gets the HOUR field / bits 7-4 in the ZERO field.

For DDCD this value defines the HOUR field. For CD media other than DDCD the ZERO field contains zero.

Returns
HOUR
virtual bool_t isAudio ( ) const
pure virtual

Shows if this track is an audio track.

Returns
TRUE if this is an audio track; FALSE otherwise.
virtual bool_t isData ( ) const
pure virtual

Shows if this track is a data track.

Returns
TRUE if this is a data track; FALSE otherwise.
virtual uint8_t minute ( ) const
pure virtual

Gets the MIN field.

Returns
MIN
virtual uint8_t pframe ( ) const
pure virtual

Gets the PFRAME field.

Returns
PFRAME
virtual uint8_t phour ( ) const
pure virtual

Gets the PHOUR field / bits 3-0 in the ZERO field.

For DDCD this value defines the PHOUR field. For CD media other than DDCD the ZERO field contains zero.

Returns
PHOUR
virtual uint8_t pminute ( ) const
pure virtual

Gets the PMIN field.

Returns
PMIN
virtual uint8_t point ( ) const
pure virtual

Gets the POINT field.

Returns
POINT
virtual uint8_t psecond ( ) const
pure virtual

Gets the PSEC field.

Returns
PSEC
virtual uint8_t second ( ) const
pure virtual

Gets the SEC field.

Returns
SEC.
virtual uint8_t sessionNumber ( ) const
pure virtual

Gets the session number.

Returns
session number
virtual void setAdr ( uint8_t  infoType)
pure virtual

Defines the type of information stored in the Q Sub-channel.

Parameters
infoTypeThe value defining the type of data in the Q Sub-channel
See Also
RawTocTrack::adr()
virtual void setCtl ( uint8_t  attributes)
pure virtual

Sets the CTL field which defines the attributes of a CD track.

Parameters
attributesThe value defining the attributes of the CD track
virtual void setFrame ( uint8_t  frame)
pure virtual

Sets the FRAME field.

Parameters
frame
virtual void setHour ( uint8_t  hour)
pure virtual

Sets the HOUR field / bits 7-4 in the ZERO field.

The value must be in the range of 00h - 0Fh, otherwise it is ignored.

Parameters
hourThe value to use for the HOUR field
virtual void setMinute ( uint8_t  minute)
pure virtual

Sets the MIN field.

Parameters
minute
virtual void setPFrame ( uint8_t  pframe)
pure virtual

Sets the PFRAME field.

Parameters
pframeThe value to use for the PFRAME field.
virtual void setPHour ( uint8_t  phour)
pure virtual

Sets the PHOUR field / bits 3-0 in the ZERO field.

The value must be in the range of 00h - 0Fh, otherwise it is ignored.

Parameters
phourThe value to use for the PHOUR field
virtual void setPMinute ( uint8_t  pminute)
pure virtual

Sets the PMIN field.

Parameters
pminuteThe value to use for the PMIN field.
virtual void setPoint ( uint8_t  point)
pure virtual

Sets the POINT field.

Parameters
point
virtual void setPSecond ( uint8_t  psecond)
pure virtual

Sets the PSEC field.

Parameters
psecondThe value to use for the PSEC field.
virtual void setSecond ( uint8_t  second)
pure virtual

Sets the SEC field.

Parameters
second
virtual void setSessionNumber ( uint8_t  sessionNumber)
pure virtual

Sets the session number field.

Parameters
sessionNumber
virtual void setTno ( uint8_t  tno)
pure virtual

Sets the track number.

Parameters
tnotrack number
virtual void setZero ( uint8_t  zero)
pure virtual

Sets the ZERO field.

Parameters
zero
virtual uint8_t tno ( ) const
pure virtual

Gets the track number.

Returns
track number. Zero by default.
virtual uint8_t zero ( ) const
pure virtual

Gets the ZERO field.

Returns
ZERO