15class CommandController;
25 : hwConf(&hwConf_), devConf(&devConf_)
30 : hwConf(&hwConf_), devConf(&devConf_)
31 , primary(primary_), secondary(secondary_)
35 : hwConf(other.hwConf), devConf(&devConf_)
39 : hwConf(other.hwConf), devConf(devConf_)
73 [[nodiscard]] std::string_view
getChildData(std::string_view name)
const;
74 [[nodiscard]] std::string_view
getChildData(std::string_view name,
75 std::string_view defaultValue)
const;
76 [[nodiscard]]
int getChildDataAsInt(std::string_view name,
int defaultValue)
const;
78 bool defaultValue =
false)
const;
XMLElement * getPrimary() const
Reactor & getReactor() const
bool getChildDataAsBool(std::string_view name, bool defaultValue=false) const
DeviceConfig(const HardwareConfig &hwConf_, const XMLElement &devConf_, const XMLElement *primary_, const XMLElement *secondary_)
MSXCliComm & getCliComm() const
DeviceConfig(const HardwareConfig &hwConf_, const XMLElement &devConf_)
const FileContext & getFileContext() const
const XMLElement * findChild(std::string_view name) const
DeviceConfig(const DeviceConfig &other, const XMLElement &devConf_)
GlobalSettings & getGlobalSettings() const
int getChildDataAsInt(std::string_view name, int defaultValue) const
XMLDocument & getXMLDocument()
DeviceConfig(const DeviceConfig &other, const XMLElement *devConf_)
MSXMotherBoard & getMotherBoard() const
CommandController & getCommandController() const
std::string_view getChildData(std::string_view name) const
Scheduler & getScheduler() const
const XMLElement & getChild(std::string_view name) const
const HardwareConfig & getHardwareConfig() const
XMLElement * getSecondary() const
const XMLElement * getXML() const
int getAttributeValueAsInt(std::string_view attName, int defaultValue) const
std::string_view getAttributeValue(std::string_view attName) const
This class contains settings that are used by several other class (including some singletons).
Contains the main loop of openMSX.
This file implemented 3 utility functions: