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

The QSubChannel class defines the information that can be stored in a Q sub-channel. More...

#include <PrimoBurnerAPI.h>

Inherits Reference.

Public Member Functions

virtual QSubChannelFormat::Enum formatCode () const =0
 Sub-channel Data Format Code. More...
 
virtual const QSubChannelIsrcisrc () const =0
 International standard recording code (ISRC). More...
 
virtual const QSubChannelMcnmcn () const =0
 Returns Media catalog number (UPC/bar code). More...
 
virtual const QSubChannelPositionposition () const =0
 Returns CD position. 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

The QSubChannel class defines the information that can be stored in a Q sub-channel.

The structure is used together with the Device::createQSubChannel method to get the Q sub-channel information from the last 96 bytes of a raw CD sector data.

See Also
Device::createQSubChannel

Member Function Documentation

virtual QSubChannelFormat::Enum formatCode ( ) const
pure virtual

Sub-channel Data Format Code.

See the EQSubFormatCode enumeration for a list of possible values.

Returns
A constant from the QSubChannelFormat enumeration.
virtual const QSubChannelIsrc* isrc ( ) const
pure virtual

International standard recording code (ISRC).

Valid only when formatCode method returns QSubChannelFormat::Isrc, otherwise the method returns NULL.

Returns
A pointer to a QSubChannelIsrc object.
virtual const QSubChannelMcn* mcn ( ) const
pure virtual

Returns Media catalog number (UPC/bar code).

Valid only when formatCode method returns QSubChannelFormat::Mcn, otherwise the method returns NULL.

Returns
A pointer to a QSubChannelMcn object
virtual const QSubChannelPosition* position ( ) const
pure virtual

Returns CD position.

Valid only when formatCode method returns QSubChannelFormat::Position, otherwise the method returns NULL.

Returns
A pointer to a QSubChannelPosition object.