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

#include <HD.hh>

Inheritance diagram for openmsx::HD:
Inheritance graph
Collaboration diagram for openmsx::HD:
Collaboration graph

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
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 ()
 ~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)
openmsx::HD::~HD ( )

Member Function Documentation

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

Definition at line 27 of file HD.hh.

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

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

Definition at line 35 of file HD.hh.

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

Definition at line 26 of file HD.hh.

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

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

Definition at line 169 of file

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: