PrimoBurner(tm) for C++  5.0
CD, DVD and Blu-ray Software Development Kit
Loading...
Searching...
No Matches
SessionInfo Class Referenceabstract

Session Info. More...

#include <pb_api.h>

Inherits Reference.

Public Member Functions

virtual uint8_t firstSession () const =0
 Gets the number of the first complete session on the CD.
 
virtual uint8_t lastSession () const =0
 Gets the number of the last complete session on the disc.
 
virtual TocTracktrack () const =0
 Gets information for the first track in the last complete session on the CD.
 
- Public Member Functions inherited from Reference
virtual int32_t release () const =0
 Releases the instance.
 
virtual int32_t retain () const =0
 Retains the instance.
 
virtual int32_t retainCount () const =0
 Returns the current reference count.
 

Detailed Description

Session Info.

See also
TocTrack
Device::readSessionInfo

Member Function Documentation

◆ firstSession()

virtual uint8_t firstSession ( ) const
pure virtual

Gets the number of the first complete session on the CD.

The number of the first complete session is always one.

Returns
1

◆ lastSession()

virtual uint8_t lastSession ( ) const
pure virtual

Gets the number of the last complete session on the disc.

The method returns one for a single session disc or if the device does not support multi-session discs.

Returns
session number

◆ track()

virtual TocTrack * track ( ) const
pure virtual

Gets information for the first track in the last complete session on the CD.

Returns
A pointer to a TocTrack object containing track information