openMSX
Public Member Functions | List of all members
openmsx::HD Class Reference

#include <HD.hh>

Inheritance diagram for openmsx::HD:
Inheritance graph
[legend]
Collaboration diagram for openmsx::HD:
Collaboration graph
[legend]

Public Member Functions

 HD (const DeviceConfig &config)
 
virtual ~HD ()
 
const std::string & getName () const
 
const FilenamegetImageName () const
 
void switchImage (const Filename &filename)
 
std::string getTigerTreeHash ()
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 
MSXMotherBoardgetMotherBoard () const
 
- Public Member Functions inherited from openmsx::SectorAccessibleDisk
virtual ~SectorAccessibleDisk ()
 
void readSector (size_t sector, SectorBuffer &buf)
 
void writeSector (size_t sector, const SectorBuffer &buf)
 
size_t getNbSectors () const
 
bool isWriteProtected () const
 
void forceWriteProtect ()
 
virtual bool isDummyDisk () const
 
void applyPatch (const Filename &patchFile)
 
std::vector< FilenamegetPatches () const
 
bool hasPatches () const
 
int readSectors (SectorBuffer *buffers, size_t startSector, size_t nbSectors)
 
int writeSectors (const SectorBuffer *buffers, size_t startSector, size_t nbSectors)
 
- Public Member Functions inherited from openmsx::DiskContainer
virtual ~DiskContainer ()
 
bool isRomdisk () const
 
template<typename Archive >
void serialize (Archive &, unsigned)
 

Additional Inherited Members

- Static Public Attributes inherited from openmsx::SectorAccessibleDisk
static const size_t SECTOR_SIZE = sizeof(SectorBuffer)
 
- Protected Member Functions inherited from openmsx::SectorAccessibleDisk
 SectorAccessibleDisk ()
 
void setPeekMode (bool peek)
 
bool isPeekMode () const
 
virtual void checkCaches ()
 
virtual void flushCaches ()
 
- Protected Member Functions inherited from openmsx::TTData
 ~TTData ()
 

Detailed Description

Definition at line 19 of file HD.hh.

Constructor & Destructor Documentation

openmsx::HD::HD ( const DeviceConfig config)
explicit
openmsx::HD::~HD ( )
virtual

Member Function Documentation

const Filename & openmsx::HD::getImageName ( ) const

Definition at line 103 of file HD.cc.

Referenced by openmsx::HDCommand::execute().

MSXMotherBoard& openmsx::HD::getMotherBoard ( ) const
inline

Definition at line 35 of file HD.hh.

const string & openmsx::HD::getName ( ) const

Definition at line 98 of file HD.cc.

Referenced by openmsx::HDCommand::execute(), openmsx::HDCommand::help(), and switchImage().

std::string openmsx::HD::getTigerTreeHash ( )

Definition at line 179 of file HD.cc.

Referenced by serialize().

template<typename Archive >
void openmsx::HD::serialize ( Archive &  ar,
unsigned  version 
)
void openmsx::HD::switchImage ( const Filename filename)

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