openMSX
Public Types | Public Member Functions | Friends | List of all members
openmsx::MSXMotherBoard::Impl Class Reference
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)
 
virtual ~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, const string &extensionName, const string &slotname)
 
string insertExtension (const std::string &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 72 of file MSXMotherBoard.cc.

Member Typedef Documentation

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

Definition at line 99 of file MSXMotherBoard.cc.

Constructor & Destructor Documentation

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

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 756 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 889 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.

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

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

Definition at line 956 of file MSXMotherBoard.cc.

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

Definition at line 611 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Referenced by serialize().

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

Definition at line 695 of file MSXMotherBoard.cc.

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

Definition at line 582 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Referenced by serialize().

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

Definition at line 589 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Referenced by serialize().

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

Definition at line 705 of file MSXMotherBoard.cc.

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

Definition at line 563 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 668 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 700 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 528 of file MSXMotherBoard.cc.

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

Definition at line 543 of file MSXMotherBoard.cc.

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

Definition at line 533 of file MSXMotherBoard.cc.

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

Definition at line 568 of file MSXMotherBoard.cc.

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

Definition at line 595 of file MSXMotherBoard.cc.

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

Definition at line 573 of file MSXMotherBoard.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

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

Definition at line 558 of file MSXMotherBoard.cc.

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

Definition at line 680 of file MSXMotherBoard.cc.

Referenced by serialize().

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

Definition at line 548 of file MSXMotherBoard.cc.

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

Definition at line 899 of file MSXMotherBoard.cc.

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

Definition at line 553 of file MSXMotherBoard.cc.

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

Definition at line 538 of file MSXMotherBoard.cc.

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

Definition at line 944 of file MSXMotherBoard.cc.

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

Definition at line 690 of file MSXMotherBoard.cc.

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

Definition at line 854 of file MSXMotherBoard.cc.

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

Definition at line 858 of file MSXMotherBoard.cc.

bool openmsx::MSXMotherBoard::Impl::isTurboR ( ) const
string openmsx::MSXMotherBoard::Impl::loadExtension ( MSXMotherBoard self,
const string &  extensionName,
const string &  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 786 of file MSXMotherBoard.cc.

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

Definition at line 761 of file MSXMotherBoard.cc.

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 207 of file MSXMotherBoard.cc.


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