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

IObservable Class Reference

#include <IObserver.h>

Inheritance diagram for IObservable:

Suppressable CmosRWFile CmosRWIo List of all members.

Public Member Functions

virtual ~IObservable ()
virtual void attach (IObserver *) const
virtual void detach (IObserver *) const
virtual void notify (void *param=0) const

Protected Member Functions

 IObservable ()

Private Attributes

std::list< IObserver * > observers

Constructor & Destructor Documentation

~IObservable  )  [virtual]
 

Definition at line 43 of file Observer.cpp.

IObservable  )  [protected]
 

Definition at line 40 of file Observer.cpp.


Member Function Documentation

void attach IObserver  )  const [virtual]
 

Definition at line 46 of file Observer.cpp.

References IObservable::observers.

Referenced by CmosRWChecksumObserver::CmosRWChecksumObserver().

void detach IObserver  )  const [virtual]
 

Definition at line 51 of file Observer.cpp.

References IObservable::observers.

Referenced by CmosRWChecksumObserver::~CmosRWChecksumObserver().

void notify void *  param = 0  )  const [virtual]
 

Definition at line 56 of file Observer.cpp.

References IObservable::observers.

Referenced by Suppressable::resumeNotification(), testPlatform::testCmosChecksum(), testPlatform::testCmosWriting(), CmosRWIo::writeByte(), and CmosRWFile::writeByte().


Member Data Documentation

std::list<IObserver *> observers [mutable, private]
 

Definition at line 56 of file IObserver.h.

Referenced by IObservable::attach(), IObservable::detach(), and IObservable::notify().


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