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

Session Info. More...

#include <PrimoBurnerAPI.h>

Inherits Reference.

Public Member Functions

virtual uint8_t firstSession () const =0
 Gets the number of the first complete session on the CD. More...
 
virtual uint8_t lastSession () const =0
 Gets the number of the last complete session on the disc. More...
 
virtual TocTracktrack () const =0
 Gets information for the first track in the last complete session on the CD. 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

Session Info.

See Also
TocTrack
Device::readSessionInfo

Member Function Documentation

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
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
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