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

The CDMode class defines a point at which the type and/or the frame size of a CD track changes. More...

#include <PrimoBurnerAPI.h>

Inherits Reference.

Public Member Functions

virtual int32_t pos () const =0
 Gets the position, in blocks, relative to the track start, at which the track mode changes. More...
 
virtual void setPos (int32_t blocks)=0
 Sets the position, in blocks, relative to the track start, at which the track mode changes. More...
 
virtual void setType (TrackType::Enum trackType)=0
 Sets the type and the mode of the CD blocks. More...
 
virtual TrackType::Enum type () const =0
 Gets the CD track type. 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 CDMode class defines a point at which the type and/or the frame size of a CD track changes.

Usually this class is used together with the CDTrack and CDSession classes to create mixed mode Video CD and Super Video CD tracks.

Member Function Documentation

virtual int32_t pos ( ) const
pure virtual

Gets the position, in blocks, relative to the track start, at which the track mode changes.

The new track mode can be retrieved by using the type method.

Returns
Position, in blocks, relative to the track start.
virtual void setPos ( int32_t  blocks)
pure virtual

Sets the position, in blocks, relative to the track start, at which the track mode changes.

The new track type is specified by using the setType method.

Parameters
blocksPosition in blocks, relative to the track start.
virtual void setType ( TrackType::Enum  trackType)
pure virtual

Sets the type and the mode of the CD blocks.

Parameters
trackTypeThe track type. The possible values are defined in the TrackType enumeration.
See Also
TrackType::Enum
virtual TrackType::Enum type ( ) const
pure virtual

Gets the CD track type.

Returns
track type defined in the TrackType enumeration.
See Also
TrackType::Enum