Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
CDDrive Class Reference

#include <CDManager.h>

Inherits CDDriveInterface.

Inherited by Win32CDDrive.

Public Member Functions

 CDDrive ()
 
virtual ~CDDrive ()
 
virtual AsciiString getPath (void)
 Returns the drive path for this drive.
 
virtual AsciiString getDiskName (void)
 Returns the drive path for this drive.
 
virtual CD::Disk getDisk (void)
 Returns ID of current disk in this drive.
 
virtual void refreshInfo (void)
 Update drive with least.
 
void setPath (const Char *path)
 Set the drive's path.
 
- Public Member Functions inherited from CDDriveInterface
virtual ~CDDriveInterface ()
 

Protected Attributes

LListNode m_node
 Link list node.
 
AsciiString m_diskName
 disk's volume name
 
AsciiString m_drivePath
 drive's device path
 
CD::Disk m_disk
 ID of disk in drive.
 

Friends

class CDManager
 

Detailed Description

Definition at line 107 of file CDManager.h.

Constructor & Destructor Documentation

◆ CDDrive()

CDDrive::CDDrive ( )

Definition at line 103 of file CDManager.cpp.

◆ ~CDDrive()

CDDrive::~CDDrive ( )
virtual

Definition at line 115 of file CDManager.cpp.

Member Function Documentation

◆ getDisk()

CD::Disk CDDrive::getDisk ( void )
virtual

Returns ID of current disk in this drive.

Implements CDDriveInterface.

Definition at line 148 of file CDManager.cpp.

◆ getDiskName()

AsciiString CDDrive::getDiskName ( void )
virtual

Returns the drive path for this drive.

Implements CDDriveInterface.

Definition at line 133 of file CDManager.cpp.

◆ getPath()

AsciiString CDDrive::getPath ( void )
virtual

Returns the drive path for this drive.

Implements CDDriveInterface.

Definition at line 124 of file CDManager.cpp.

◆ refreshInfo()

void CDDrive::refreshInfo ( void )
virtual

Update drive with least.

Implements CDDriveInterface.

Reimplemented in Win32CDDrive.

Definition at line 138 of file CDManager.cpp.

◆ setPath()

void CDDrive::setPath ( const Char * path)

Set the drive's path.

Definition at line 157 of file CDManager.cpp.

Friends And Related Symbol Documentation

◆ CDManager

friend class CDManager
friend

Definition at line 109 of file CDManager.h.

Member Data Documentation

◆ m_disk

CD::Disk CDDrive::m_disk
protected

ID of disk in drive.

Definition at line 129 of file CDManager.h.

◆ m_diskName

AsciiString CDDrive::m_diskName
protected

disk's volume name

Definition at line 127 of file CDManager.h.

◆ m_drivePath

AsciiString CDDrive::m_drivePath
protected

drive's device path

Definition at line 128 of file CDManager.h.

◆ m_node

LListNode CDDrive::m_node
protected

Link list node.

Definition at line 126 of file CDManager.h.


The documentation for this class was generated from the following files: