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

Suppressable Class Reference

#include <CmosRWImpl.h>

Inheritance diagram for Suppressable:

IObservable CmosRWFile CmosRWIo List of all members.

Public Member Functions

 Suppressable ()
void suppressNotification (bool sup=true) const
void resumeNotification (bool doNotify=true) const
bool isNotifySuppressed () const
virtual ~Suppressable ()
virtual void attach (IObserver *) const
virtual void detach (IObserver *) const
virtual void notify (void *param=0) const

Protected Attributes

bool suppressNotify

Constructor & Destructor Documentation

Suppressable  ) 
 

Definition at line 61 of file CmosRW.cpp.

~Suppressable  )  [virtual]
 

Definition at line 65 of file CmosRW.cpp.


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  )  const
 

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().

void resumeNotification bool  doNotify = true  )  const
 

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
 

Definition at line 68 of file CmosRW.cpp.

References Suppressable::suppressNotify.

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


Member Data Documentation

bool suppressNotify [mutable, protected]
 

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 Wed Apr 11 16:25:11 2007 for SMBIOS Library by doxygen 1.3.5