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

CmosRWChecksumObserver Class Reference

#include <TokenImpl.h>

Inheritance diagram for CmosRWChecksumObserver:

IObserver List of all members.

Public Member Functions

 CmosRWChecksumObserver (std::string description, cmos::ICmosRW *cmos, int checkType, u32 indexPort, u32 dataPort, u32 start, u32 end, u32 checksumLocation)
 CmosRWChecksumObserver (const CmosRWChecksumObserver &source)
virtual void update (const observer::IObservable *whatChanged, void *doUpdate)
virtual ~CmosRWChecksumObserver ()
virtual void update (const IObservable *whatChanged, void *param=0)=0

Private Attributes

std::string description
cmos::ICmosRWcmos
int checkType
u32 indexPort
u32 dataPort
u32 start
u32 end
u32 checksumLocation

Constructor & Destructor Documentation

CmosRWChecksumObserver std::string  description,
cmos::ICmosRW cmos,
int  checkType,
u32  indexPort,
u32  dataPort,
u32  start,
u32  end,
u32  checksumLocation
 

Definition at line 48 of file checksum.cpp.

References IObservable::attach(), CmosRWChecksumObserver::cmos, and u32.

CmosRWChecksumObserver const CmosRWChecksumObserver source  ) 
 

Definition at line 70 of file checksum.cpp.

References IObservable::attach(), and CmosRWChecksumObserver::cmos.

~CmosRWChecksumObserver  )  [virtual]
 

Definition at line 88 of file checksum.cpp.

References CmosRWChecksumObserver::cmos, and IObservable::detach().


Member Function Documentation

virtual void update const IObservable whatChanged,
void *  param = 0
[pure virtual, inherited]
 

void update const observer::IObservable whatChanged,
void *  doUpdate
[virtual]
 

Definition at line 95 of file checksum.cpp.

References _, smbios::byteChecksum(), smbios::CHECK_TYPE_BYTE_CHECKSUM, smbios::CHECK_TYPE_WORD_CHECKSUM, smbios::CHECK_TYPE_WORD_CHECKSUM_N, smbios::CHECK_TYPE_WORD_CRC, CmosRWChecksumObserver::checksumLocation, CmosRWChecksumObserver::checkType, CmosRWChecksumObserver::cmos, CmosRWChecksumObserver::dataPort, CmosRWChecksumObserver::description, CmosRWChecksumObserver::end, CmosRWChecksumObserver::indexPort, ICmosRW::readByte(), Suppressable::resumeNotification(), CmosRWChecksumObserver::start, Suppressable::suppressNotification(), u16, u32, u8, smbios::wordChecksum(), smbios::wordCrc(), and ICmosRW::writeByte().


Member Data Documentation

u32 checksumLocation [private]
 

Definition at line 241 of file TokenImpl.h.

Referenced by CmosRWChecksumObserver::update().

int checkType [private]
 

Definition at line 236 of file TokenImpl.h.

Referenced by CmosRWChecksumObserver::update().

cmos::ICmosRW* cmos [private]
 

Definition at line 235 of file TokenImpl.h.

Referenced by CmosRWChecksumObserver::CmosRWChecksumObserver(), CmosRWChecksumObserver::update(), and CmosRWChecksumObserver::~CmosRWChecksumObserver().

u32 dataPort [private]
 

Definition at line 238 of file TokenImpl.h.

Referenced by CmosRWChecksumObserver::update().

std::string description [private]
 

Definition at line 234 of file TokenImpl.h.

Referenced by CmosRWChecksumObserver::update().

u32 end [private]
 

Definition at line 240 of file TokenImpl.h.

Referenced by CmosRWChecksumObserver::update().

u32 indexPort [private]
 

Definition at line 237 of file TokenImpl.h.

Referenced by CmosRWChecksumObserver::update().

u32 start [private]
 

Definition at line 239 of file TokenImpl.h.

Referenced by CmosRWChecksumObserver::update().


The documentation for this class was generated from the following files:
Generated on Wed Apr 11 16:25:12 2007 for SMBIOS Library by doxygen 1.3.5