openMSX
Public Types | Public Member Functions | Friends | List of all members
openmsx::MSXMotherBoard::Impl Class Referencefinal
Inheritance diagram for openmsx::MSXMotherBoard::Impl:
Inheritance graph
[legend]
Collaboration diagram for openmsx::MSXMotherBoard::Impl:
Collaboration graph
[legend]

Public Types

typedef std::vector
< std::unique_ptr
< HardwareConfig > > 
Extensions
 

Public Member Functions

 Impl (MSXMotherBoard &self, Reactor &reactor)
 
 ~Impl ()
 
const string & getMachineID ()
 
const string & getMachineName () const
 
bool execute ()
 
void fastForward (EmuTime::param time, bool fast)
 
void exitCPULoopAsync ()
 
void exitCPULoopSync ()
 
void pause ()
 
void unpause ()
 
void powerUp ()
 
void doReset ()
 
void activate (bool active)
 
bool isActive () const
 
bool isFastForwarding () const
 
byte readIRQVector ()
 
const HardwareConfiggetMachineConfig () const
 
void setMachineConfig (MSXMotherBoard &self, HardwareConfig *machineConfig)
 
bool isTurboR () const
 
string loadMachine (MSXMotherBoard &self, const string &machine)
 
const ExtensionsgetExtensions () const
 
HardwareConfigfindExtension (string_ref extensionName)
 
string loadExtension (MSXMotherBoard &self, string_ref extensionName, string_ref slotname)
 
string insertExtension (string_ref name, unique_ptr< HardwareConfig > extension)
 
void removeExtension (const HardwareConfig &extension)
 
CliCommgetMSXCliComm ()
 
MSXEventDistributorgetMSXEventDistributor ()
 
StateChangeDistributorgetStateChangeDistributor ()
 
MSXCommandControllergetMSXCommandController ()
 
SchedulergetScheduler ()
 
CartridgeSlotManagergetSlotManager ()
 
RealTimegetRealTime ()
 
DebuggergetDebugger ()
 
MSXMixergetMSXMixer ()
 
PluggingControllergetPluggingController (MSXMotherBoard &self)
 
MSXCPUgetCPU ()
 
MSXCPUInterfacegetCPUInterface ()
 
PanasonicMemorygetPanasonicMemory (MSXMotherBoard &self)
 
MSXDeviceSwitchgetDeviceSwitch ()
 
CassettePortInterfacegetCassettePort ()
 
JoystickPortIfgetJoystickPort (unsigned port, MSXMotherBoard &self)
 
RenShaTurbogetRenShaTurbo ()
 
LedStatusgetLedStatus ()
 
ReverseManagergetReverseManager ()
 
ReactorgetReactor ()
 
VideoSourceSettinggetVideoSource ()
 
CommandControllergetCommandController ()
 
InfoCommandgetMachineInfoCommand ()
 
EmuTime::param getCurrentTime ()
 
void addDevice (MSXDevice &device)
 
void removeDevice (MSXDevice &device)
 
MSXDevicefindDevice (string_ref name)
 
MSXMotherBoard::SharedStuffgetSharedStuff (string_ref name)
 
MSXMapperIOcreateMapperIO ()
 
void destroyMapperIO ()
 
string getUserName (const string &hwName)
 
void freeUserName (const string &hwName, const string &userName)
 
template<typename Archive >
void serialize (MSXMotherBoard &self, Archive &ar, unsigned version)
 

Friends

class DeviceInfo
 

Detailed Description

Definition at line 73 of file MSXMotherBoard.cc.

Member Typedef Documentation

typedef std::vector<std::unique_ptr<HardwareConfig> > openmsx::MSXMotherBoard::Impl::Extensions

Definition at line 100 of file MSXMotherBoard.cc.

Constructor & Destructor Documentation

openmsx::MSXMotherBoard::Impl::Impl ( MSXMotherBoard self,
Reactor reactor 
)
openmsx::MSXMotherBoard::Impl::~Impl ( )

Definition at line 379 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Member Function Documentation

void openmsx::MSXMotherBoard::Impl::activate ( bool  active)
void openmsx::MSXMotherBoard::Impl::addDevice ( MSXDevice device)

Definition at line 754 of file MSXMotherBoard.cc.

MSXMapperIO * openmsx::MSXMotherBoard::Impl::createMapperIO ( )
void openmsx::MSXMotherBoard::Impl::destroyMapperIO ( )
void openmsx::MSXMotherBoard::Impl::doReset ( )
bool openmsx::MSXMotherBoard::Impl::execute ( )
void openmsx::MSXMotherBoard::Impl::exitCPULoopAsync ( )
void openmsx::MSXMotherBoard::Impl::exitCPULoopSync ( )
void openmsx::MSXMotherBoard::Impl::fastForward ( EmuTime::param  time,
bool  fast 
)
MSXDevice * openmsx::MSXMotherBoard::Impl::findDevice ( string_ref  name)

Definition at line 884 of file MSXMotherBoard.cc.

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

HardwareConfig * openmsx::MSXMotherBoard::Impl::findExtension ( string_ref  extensionName)

Definition at line 504 of file MSXMotherBoard.cc.

References begin(), and end().

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

void openmsx::MSXMotherBoard::Impl::freeUserName ( const string &  hwName,
const string &  userName 
)

Definition at line 951 of file MSXMotherBoard.cc.

References end().

CassettePortInterface & openmsx::MSXMotherBoard::Impl::getCassettePort ( )

Definition at line 609 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Referenced by serialize().

CommandController & openmsx::MSXMotherBoard::Impl::getCommandController ( )

Definition at line 693 of file MSXMotherBoard.cc.

MSXCPU & openmsx::MSXMotherBoard::Impl::getCPU ( )

Definition at line 580 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Referenced by serialize().

MSXCPUInterface & openmsx::MSXMotherBoard::Impl::getCPUInterface ( )

Definition at line 587 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Referenced by serialize().

EmuTime::param openmsx::MSXMotherBoard::Impl::getCurrentTime ( )

Definition at line 703 of file MSXMotherBoard.cc.

Debugger & openmsx::MSXMotherBoard::Impl::getDebugger ( )

Definition at line 561 of file MSXMotherBoard.cc.

MSXDeviceSwitch & openmsx::MSXMotherBoard::Impl::getDeviceSwitch ( )
const MSXMotherBoard::Impl::Extensions & openmsx::MSXMotherBoard::Impl::getExtensions ( ) const
JoystickPortIf & openmsx::MSXMotherBoard::Impl::getJoystickPort ( unsigned  port,
MSXMotherBoard self 
)
LedStatus & openmsx::MSXMotherBoard::Impl::getLedStatus ( )

Definition at line 666 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMSXCliComm().

Referenced by serialize().

const HardwareConfig * openmsx::MSXMotherBoard::Impl::getMachineConfig ( ) const

Definition at line 418 of file MSXMotherBoard.cc.

Referenced by serialize().

const string & openmsx::MSXMotherBoard::Impl::getMachineID ( )
InfoCommand & openmsx::MSXMotherBoard::Impl::getMachineInfoCommand ( )

Definition at line 698 of file MSXMotherBoard.cc.

const string & openmsx::MSXMotherBoard::Impl::getMachineName ( ) const

Definition at line 413 of file MSXMotherBoard.cc.

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

CliComm & openmsx::MSXMotherBoard::Impl::getMSXCliComm ( )

Definition at line 526 of file MSXMotherBoard.cc.

MSXCommandController & openmsx::MSXMotherBoard::Impl::getMSXCommandController ( )

Definition at line 541 of file MSXMotherBoard.cc.

MSXEventDistributor & openmsx::MSXMotherBoard::Impl::getMSXEventDistributor ( )

Definition at line 531 of file MSXMotherBoard.cc.

MSXMixer & openmsx::MSXMotherBoard::Impl::getMSXMixer ( )

Definition at line 566 of file MSXMotherBoard.cc.

PanasonicMemory & openmsx::MSXMotherBoard::Impl::getPanasonicMemory ( MSXMotherBoard self)

Definition at line 593 of file MSXMotherBoard.cc.

PluggingController & openmsx::MSXMotherBoard::Impl::getPluggingController ( MSXMotherBoard self)

Definition at line 571 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Reactor & openmsx::MSXMotherBoard::Impl::getReactor ( )
RealTime & openmsx::MSXMotherBoard::Impl::getRealTime ( )

Definition at line 556 of file MSXMotherBoard.cc.

RenShaTurbo & openmsx::MSXMotherBoard::Impl::getRenShaTurbo ( )
ReverseManager & openmsx::MSXMotherBoard::Impl::getReverseManager ( )

Definition at line 678 of file MSXMotherBoard.cc.

Referenced by serialize().

Scheduler & openmsx::MSXMotherBoard::Impl::getScheduler ( )

Definition at line 546 of file MSXMotherBoard.cc.

MSXMotherBoard::SharedStuff & openmsx::MSXMotherBoard::Impl::getSharedStuff ( string_ref  name)

Definition at line 894 of file MSXMotherBoard.cc.

CartridgeSlotManager & openmsx::MSXMotherBoard::Impl::getSlotManager ( )

Definition at line 551 of file MSXMotherBoard.cc.

StateChangeDistributor & openmsx::MSXMotherBoard::Impl::getStateChangeDistributor ( )

Definition at line 536 of file MSXMotherBoard.cc.

string openmsx::MSXMotherBoard::Impl::getUserName ( const string &  hwName)

Definition at line 939 of file MSXMotherBoard.cc.

References end().

VideoSourceSetting & openmsx::MSXMotherBoard::Impl::getVideoSource ( )

Definition at line 688 of file MSXMotherBoard.cc.

string openmsx::MSXMotherBoard::Impl::insertExtension ( string_ref  name,
unique_ptr< HardwareConfig extension 
)
bool openmsx::MSXMotherBoard::Impl::isActive ( ) const

Definition at line 849 of file MSXMotherBoard.cc.

bool openmsx::MSXMotherBoard::Impl::isFastForwarding ( ) const

Definition at line 853 of file MSXMotherBoard.cc.

bool openmsx::MSXMotherBoard::Impl::isTurboR ( ) const
string openmsx::MSXMotherBoard::Impl::loadExtension ( MSXMotherBoard self,
string_ref  extensionName,
string_ref  slotname 
)
string openmsx::MSXMotherBoard::Impl::loadMachine ( MSXMotherBoard self,
const string &  machine 
)
void openmsx::MSXMotherBoard::Impl::pause ( )
void openmsx::MSXMotherBoard::Impl::powerUp ( )
byte openmsx::MSXMotherBoard::Impl::readIRQVector ( )

Definition at line 781 of file MSXMotherBoard.cc.

void openmsx::MSXMotherBoard::Impl::removeDevice ( MSXDevice device)

Definition at line 759 of file MSXMotherBoard.cc.

References find_unguarded().

void openmsx::MSXMotherBoard::Impl::removeExtension ( const HardwareConfig extension)
template<typename Archive >
void openmsx::MSXMotherBoard::Impl::serialize ( MSXMotherBoard self,
Archive &  ar,
unsigned  version 
)
void openmsx::MSXMotherBoard::Impl::setMachineConfig ( MSXMotherBoard self,
HardwareConfig machineConfig 
)

Definition at line 423 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

void openmsx::MSXMotherBoard::Impl::unpause ( )

Friends And Related Function Documentation

friend class DeviceInfo
friend

Definition at line 208 of file MSXMotherBoard.cc.


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