PrimoBurner(tm) for C++  4.2
CD, DVD and Blu-ray Software Development Kit
CDMode Class Reference

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

#include <PrimoBurner.h>

Inherits Reference.

List of all members.

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.
virtual void setPos (int32_t blocks)=0
 Sets the position, in blocks, relative to the track start, at which the track mode changes.
virtual void setType (TrackType::Enum trackType)=0
 Sets the type and the mode of the CD blocks.
virtual TrackType::Enum type () const =0
 Gets the CD track type.

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
 All Classes Namespaces Files Functions Variables Enumerations Enumerator