#include <CmosRWImpl.h>
Public Member Functions | |
CmosRWFile (const std::string &File) | |
CmosRWFile & | operator= (const CmosRWFile &source) |
virtual | ~CmosRWFile () |
u8 | readByte (u32 indexPort, u32 dataPort, u32 offset) const |
void | writeByte (u32 indexPort, u32 dataPort, u32 offset, u8 byte) const |
virtual u8 | readByte (u32 indexPort, u32 dataPort, u32 offset) const =0 |
virtual void | writeByte (u32 indexPort, u32 dataPort, u32 offset, u8 byte) const =0 |
void | suppressNotification (bool sup=true) const |
void | resumeNotification (bool doNotify=true) const |
bool | isNotifySuppressed () const |
virtual void | attach (IObserver *) const |
virtual void | detach (IObserver *) const |
virtual void | notify (void *param=0) const |
Protected Attributes | |
std::string | fileName |
bool | suppressNotify |
Private Member Functions | |
CmosRWFile (const CmosRWFile &source) |
Definition at line 41 of file CmosRWImpl.h.
CmosRWFile | ( | const std::string & | File | ) | [explicit] |
~CmosRWFile | ( | ) | [virtual] |
Definition at line 111 of file CmosRW.cpp.
CmosRWFile | ( | const CmosRWFile & | source | ) | [private] |
void attach | ( | IObserver * | o | ) | const [virtual, inherited] |
Definition at line 46 of file Observer.cpp.
References IObservable::observers.
Referenced by CmosRWChecksumObserver::CmosRWChecksumObserver().
void detach | ( | IObserver * | o | ) | const [virtual, inherited] |
Definition at line 51 of file Observer.cpp.
References IObservable::observers.
Referenced by CmosRWChecksumObserver::~CmosRWChecksumObserver().
bool isNotifySuppressed | ( | ) | const [inherited] |
Definition at line 87 of file CmosRW.cpp.
References Suppressable::suppressNotify.
Referenced by CmosRWIo::writeByte(), and CmosRWFile::writeByte().
void notify | ( | void * | param = 0 |
) | const [virtual, inherited] |
Definition at line 56 of file Observer.cpp.
References IObservable::observers.
Referenced by Suppressable::resumeNotification(), testPlatform::testCmosChecksum(), testPlatform::testCmosWriting(), CmosRWIo::writeByte(), and CmosRWFile::writeByte().
CmosRWFile& operator= | ( | const CmosRWFile & | source | ) |
Referenced by CmosTokenD4::activate(), smbios::byteChecksum(), getAssetTagFromToken(), getServiceTagFromCMOSToken(), CmosTokenD4::isActive(), cmos::readByteArray(), setAssetTagUsingCMOSToken(), setServiceTagUsingCMOSToken(), upBootHelper(), CmosRWChecksumObserver::update(), smbios::wordChecksum(), and smbios::wordCrc().
Definition at line 119 of file CmosRW.cpp.
References CmosRWFile::fileName.
void resumeNotification | ( | bool | doNotify = true |
) | const [inherited] |
Definition at line 78 of file CmosRW.cpp.
References IObservable::notify(), and Suppressable::suppressNotify.
Referenced by CmosRWChecksumObserver::update(), and cmos::writeByteArray().
void suppressNotification | ( | bool | sup = true |
) | const [inherited] |
Definition at line 73 of file CmosRW.cpp.
References Suppressable::suppressNotify.
Referenced by CmosRWChecksumObserver::update(), and cmos::writeByteArray().
Definition at line 141 of file CmosRW.cpp.
References CmosRWFile::fileName, Suppressable::isNotifySuppressed(), and IObservable::notify().
std::string fileName [protected] |
Definition at line 53 of file CmosRWImpl.h.
Referenced by CmosRWFile::readByte(), and CmosRWFile::writeByte().
bool suppressNotify [mutable, protected, inherited] |
Definition at line 38 of file CmosRWImpl.h.
Referenced by Suppressable::isNotifySuppressed(), Suppressable::resumeNotification(), and Suppressable::suppressNotification().