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

#include <DeviceConfig.hh>

Public Member Functions

 DeviceConfig ()
 DeviceConfig (const HardwareConfig &hwConf_, const XMLElement &devConf_)
 DeviceConfig (const HardwareConfig &hwConf_, const XMLElement &devConf_, const XMLElement *primary_, const XMLElement *secondary_)
 DeviceConfig (const DeviceConfig &other, const XMLElement &devConf_)
 DeviceConfig (const DeviceConfig &other, const XMLElement *devConf_)
const HardwareConfiggetHardwareConfig () const
const XMLElementgetXML () const
XMLElementgetPrimary () const
XMLElementgetSecondary () const
const FileContextgetFileContext () const
MSXMotherBoardgetMotherBoard () const
CliCommgetCliComm () const
CommandControllergetCommandController () const
SchedulergetScheduler () const
ReactorgetReactor () const
GlobalSettingsgetGlobalSettings () const
const XMLElementgetChild (string_ref name) const
const std::string & getChildData (string_ref name) const
string_ref getChildData (string_ref name, string_ref defaultValue) const
int getChildDataAsInt (string_ref name, int defaultValue=0) const
bool getChildDataAsBool (string_ref name, bool defaultValue=false) const
const XMLElementfindChild (string_ref name) const
const std::string & getAttribute (string_ref attName) const
int getAttributeAsInt (string_ref attName, int defaultValue=0) const

Detailed Description

Definition at line 19 of file DeviceConfig.hh.

Constructor & Destructor Documentation

openmsx::DeviceConfig::DeviceConfig ( )
inline

Definition at line 22 of file DeviceConfig.hh.

openmsx::DeviceConfig::DeviceConfig ( const HardwareConfig hwConf_,
const XMLElement devConf_ 
)
inline

Definition at line 27 of file DeviceConfig.hh.

openmsx::DeviceConfig::DeviceConfig ( const HardwareConfig hwConf_,
const XMLElement devConf_,
const XMLElement primary_,
const XMLElement secondary_ 
)
inline

Definition at line 32 of file DeviceConfig.hh.

openmsx::DeviceConfig::DeviceConfig ( const DeviceConfig other,
const XMLElement devConf_ 
)
inline

Definition at line 38 of file DeviceConfig.hh.

openmsx::DeviceConfig::DeviceConfig ( const DeviceConfig other,
const XMLElement devConf_ 
)
inline

Definition at line 43 of file DeviceConfig.hh.

Member Function Documentation

const XMLElement * openmsx::DeviceConfig::findChild ( string_ref  name) const
const std::string & openmsx::DeviceConfig::getAttribute ( string_ref  attName) const
int openmsx::DeviceConfig::getAttributeAsInt ( string_ref  attName,
int  defaultValue = 0 
) const

Definition at line 69 of file DeviceConfig.cc.

References openmsx::XMLElement::getAttributeAsInt(), and getXML().

const XMLElement & openmsx::DeviceConfig::getChild ( string_ref  name) const

Definition at line 39 of file DeviceConfig.cc.

References openmsx::XMLElement::getChild(), and getXML().

Referenced by openmsx::SoundDevice::registerSound().

const std::string & openmsx::DeviceConfig::getChildData ( string_ref  name) const
string_ref openmsx::DeviceConfig::getChildData ( string_ref  name,
string_ref  defaultValue 
) const

Definition at line 47 of file DeviceConfig.cc.

References openmsx::XMLElement::getChildData(), and getXML().

bool openmsx::DeviceConfig::getChildDataAsBool ( string_ref  name,
bool  defaultValue = false 
) const
int openmsx::DeviceConfig::getChildDataAsInt ( string_ref  name,
int  defaultValue = 0 
) const
CliComm & openmsx::DeviceConfig::getCliComm ( ) const
CommandController & openmsx::DeviceConfig::getCommandController ( ) const
const FileContext & openmsx::DeviceConfig::getFileContext ( ) const
GlobalSettings & openmsx::DeviceConfig::getGlobalSettings ( ) const

Definition at line 34 of file DeviceConfig.cc.

References openmsx::Reactor::getGlobalSettings(), and getReactor().

const HardwareConfig& openmsx::DeviceConfig::getHardwareConfig ( ) const
inline
MSXMotherBoard & openmsx::DeviceConfig::getMotherBoard ( ) const
XMLElement* openmsx::DeviceConfig::getPrimary ( ) const
inline

Definition at line 58 of file DeviceConfig.hh.

Reactor & openmsx::DeviceConfig::getReactor ( ) const
Scheduler & openmsx::DeviceConfig::getScheduler ( ) const

Definition at line 26 of file DeviceConfig.cc.

References getMotherBoard(), and openmsx::MSXMotherBoard::getScheduler().

XMLElement* openmsx::DeviceConfig::getSecondary ( ) const
inline

Definition at line 62 of file DeviceConfig.hh.

const XMLElement* openmsx::DeviceConfig::getXML ( ) const
inline

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