#include <OSDLCDROMDrive.h>
Definition at line 45 of file OSDLCDROMDrive.h.
Public Member Functions | |
| CDTrack (const SDL_CDtrack &track) throw () | |
| Creates a new CD track. | |
| virtual | ~CDTrack () throw () |
| Virtual destructor, does not deallocate the track data. | |
| virtual TrackNumber | getTrackNumber () const throw () |
| Return this track number (0-99). | |
| virtual TrackType | getTrackType () const throw () |
| Returns this track type. | |
| virtual FrameCount | getLength () const throw () |
| Returns the length, in frames, of this track. | |
| virtual FrameCount | getFrameOffset () const throw () |
| Returns the frame offset to the beginning of this track. | |
| virtual const std::string | toString (Ceylan::VerbosityLevels level=Ceylan::high) const throw () |
| Returns an user-friendly description of the state of this drive. | |
Protected Attributes | |
| const SDL_CDtrack * | _trackData |
Private Member Functions | |
| CDTrack (const CDTrack &source) throw () | |
| Copy constructor made private to ensure that it will be never called. | |
| CDTrack & | operator= (const CDTrack &source) throw () |
| Assignment operator made private to ensure that it will be never called. | |
| CDTrack::CDTrack | ( | const SDL_CDtrack & | track | ) | throw () |
Creates a new CD track.
Does not take ownership of the specified track.
Definition at line 19 of file OSDLCDROMDrive.cc.
| CDTrack::~CDTrack | ( | ) | throw () [virtual] |
Virtual destructor, does not deallocate the track data.
Definition at line 26 of file OSDLCDROMDrive.cc.
| OSDL::CDTrack::CDTrack | ( | const CDTrack & | source | ) | throw () [explicit, private] |
Copy constructor made private to ensure that it will be never called.
The compiler should complain whenever this undefined constructor is called, implicitly or not.
| TrackNumber CDTrack::getTrackNumber | ( | ) | const throw () [virtual] |
Return this track number (0-99).
Definition at line 34 of file OSDLCDROMDrive.cc.
References _trackData.
| TrackType CDTrack::getTrackType | ( | ) | const throw () [virtual] |
Returns this track type.
Definition at line 42 of file OSDLCDROMDrive.cc.
References _trackData, OSDL::audioTrack, and OSDL::dataTrack.
| FrameCount CDTrack::getLength | ( | ) | const throw () [virtual] |
Returns the length, in frames, of this track.
Definition at line 68 of file OSDLCDROMDrive.cc.
References _trackData.
| FrameCount CDTrack::getFrameOffset | ( | ) | const throw () [virtual] |
Returns the frame offset to the beginning of this track.
Definition at line 76 of file OSDLCDROMDrive.cc.
References _trackData.
| const string CDTrack::toString | ( | Ceylan::VerbosityLevels | level = Ceylan::high |
) | const throw () [virtual] |
Returns an user-friendly description of the state of this drive.
| level | the requested verbosity level. |
Definition at line 84 of file OSDLCDROMDrive.cc.
References OSDL::audioTrack, OSDL::CDROMDrive::ConvertFrameCountToTime(), OSDL::dataTrack, and OSDL::Video::Pixels::toString().
Assignment operator made private to ensure that it will be never called.
The compiler should complain whenever this undefined operator is called, implicitly or not.
const SDL_CDtrack* OSDL::CDTrack::_trackData [protected] |
Definition at line 95 of file OSDLCDROMDrive.h.
Referenced by getFrameOffset(), getLength(), getTrackNumber(), and getTrackType().
1.5.1