Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CmosRWFile Class Reference

#include <CmosRWImpl.h>

Inheritance diagram for CmosRWFile:

ICmosRW Suppressable IObservable List of all members.

Public Methods

 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
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 Methods

 CmosRWFile (const CmosRWFile &source)

Constructor & Destructor Documentation

CmosRWFile const std::string &    File [explicit]
 

Definition at line 101 of file CmosRW.cpp.

~CmosRWFile   [virtual]
 

Definition at line 106 of file CmosRW.cpp.

CmosRWFile const CmosRWFile &    source [private]
 


Member Function Documentation

void attach IObserver *    const [virtual, inherited]
 

Definition at line 46 of file Observer.cpp.

References IObservable::observers.

Referenced by CmosRWChecksumObserver::CmosRWChecksumObserver().

void detach IObserver *    const [virtual, inherited]
 

Definition at line 51 of file Observer.cpp.

References IObservable::observers.

Referenced by CmosRWChecksumObserver::~CmosRWChecksumObserver().

bool isNotifySuppressed   [inherited]
 

Definition at line 82 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
 

u8 readByte u32    indexPort,
u32    dataPort,
u32    offset
const [virtual]
 

Implements ICmosRW.

Definition at line 114 of file CmosRW.cpp.

References CmosRWFile::fileName, u32, and u8.

void resumeNotification bool    doNotify = true const [inherited]
 

Definition at line 73 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 68 of file CmosRW.cpp.

References Suppressable::suppressNotify.

Referenced by CmosRWChecksumObserver::update(), and cmos::writeByteArray().

void writeByte u32    indexPort,
u32    dataPort,
u32    offset,
u8    byte
const [virtual]
 

Implements ICmosRW.

Definition at line 132 of file CmosRW.cpp.

References CmosRWFile::fileName, Suppressable::isNotifySuppressed(), IObservable::notify(), u32, and u8.


Member Data Documentation

std::string fileName [protected]
 

Definition at line 55 of file CmosRWImpl.h.

Referenced by CmosRWFile::readByte(), and CmosRWFile::writeByte().

bool suppressNotify [protected, inherited]
 

Definition at line 40 of file CmosRWImpl.h.

Referenced by Suppressable::isNotifySuppressed(), Suppressable::resumeNotification(), and Suppressable::suppressNotification().


The documentation for this class was generated from the following files:
Generated on Tue Jul 3 18:35:14 2007 for SMBIOS Library by doxygen1.2.18