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) |
![]() | |
RTSchedulable (const RTSchedulable &)=delete | |
RTSchedulable & | operator= (const RTSchedulable &)=delete |
virtual void | executeRT ()=0 |
void | scheduleRT (uint64_t delta) |
bool | cancelRT () |
bool | isPendingRT () const |
Additional Inherited Members | |
![]() | |
RTSchedulable (RTScheduler &scheduler) | |
~RTSchedulable () | |
Definition at line 16 of file LedStatus.hh.
Enumerator | |
---|---|
POWER | |
CAPS | |
KANA | |
PAUSE | |
TURBO | |
FDD | |
NUM_LEDS |
Definition at line 19 of file LedStatus.hh.
openmsx::LedStatus::LedStatus | ( | RTScheduler & | rtScheduler, |
CommandController & | commandController, | ||
MSXCliComm & | msxCliComm | ||
) |
Definition at line 22 of file LedStatus.cc.
void openmsx::LedStatus::setLed | ( | Led | led, |
bool | status | ||
) |
Definition at line 41 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().