openMSX
|
#include <LedStatus.hh>
Public Types | |
enum | Led { POWER , CAPS , KANA , PAUSE , TURBO , FDD , NUM_LEDS } |
Public Member Functions | |
LedStatus (RTScheduler &rtScheduler, CommandController &commandController, MSXCliComm &msxCliComm) | |
void | setLed (Led led, bool status) |
Public Member Functions inherited from openmsx::RTSchedulable | |
RTSchedulable (const RTSchedulable &)=delete | |
RTSchedulable (RTSchedulable &&)=delete | |
RTSchedulable & | operator= (const RTSchedulable &)=delete |
RTSchedulable & | operator= (RTSchedulable &&)=delete |
void | scheduleRT (uint64_t delta) |
bool | cancelRT () |
bool | isPendingRT () const |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::RTSchedulable | |
RTSchedulable (RTScheduler &scheduler) | |
~RTSchedulable () | |
Definition at line 17 of file LedStatus.hh.
Enumerator | |
---|---|
POWER | |
CAPS | |
KANA | |
PAUSE | |
TURBO | |
FDD | |
NUM_LEDS |
Definition at line 20 of file LedStatus.hh.
openmsx::LedStatus::LedStatus | ( | RTScheduler & | rtScheduler, |
CommandController & | commandController, | ||
MSXCliComm & | msxCliComm | ||
) |
Definition at line 25 of file LedStatus.cc.
References tmpStrCat().
void openmsx::LedStatus::setLed | ( | Led | led, |
bool | status | ||
) |
Definition at line 44 of file LedStatus.cc.
References openmsx::Timer::getTime(), openmsx::RTSchedulable::isPendingRT(), and openmsx::RTSchedulable::scheduleRT().
Referenced by openmsx::MSXPPI::powerDown(), openmsx::MSXPSG::powerDown(), openmsx::SVIPSG::powerDown(), openmsx::MSXMotherBoard::powerUp(), openmsx::RealDrive::serialize(), openmsx::MSXMotherBoard::serialize(), openmsx::MSXCielTurbo::writeIO(), and openmsx::MSXTurboRPause::writeIO().