Main Page   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

bogotel::CSubject Class Reference

#include <Observer.h>

Inheritance diagram for bogotel::CSubject:

Inheritance graph
[legend]

Public Member Functions

virtual ~CSubject ()
virtual void attach (CObserver *)
virtual void detach (CObserver *)
virtual void notify ()

Protected Member Functions

 CSubject ()

Private Types

typedef std::list< CObserver * > LIST_OBSERVER

Private Attributes

boost::mutex m_mtxListObservers
LIST_OBSERVER m_lstpObservers

Member Typedef Documentation

typedef std::list<CObserver*> bogotel::CSubject::LIST_OBSERVER [private]
 

Definition at line 39 of file Observer.h.


Constructor & Destructor Documentation

virtual bogotel::CSubject::~CSubject  )  [inline, virtual]
 

Definition at line 30 of file Observer.h.

bogotel::CSubject::CSubject  )  [inline, protected]
 

Definition at line 36 of file Observer.h.


Member Function Documentation

void bogotel::CSubject::attach CObserver  )  [virtual]
 

Definition at line 15 of file Observer.cpp.

References m_lstpObservers.

void bogotel::CSubject::detach CObserver  )  [virtual]
 

Definition at line 19 of file Observer.cpp.

References m_lstpObservers, and m_mtxListObservers.

Referenced by bogotel::CTermParms::~CTermParms().

void bogotel::CSubject::notify  )  [virtual]
 

Definition at line 25 of file Observer.cpp.

References m_lstpObservers, and m_mtxListObservers.


Field Documentation

boost::mutex bogotel::CSubject::m_mtxListObservers [private]
 

Definition at line 42 of file Observer.h.

Referenced by detach(), and notify().

LIST_OBSERVER bogotel::CSubject::m_lstpObservers [private]
 

Definition at line 44 of file Observer.h.

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


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 12:42:23 2003 for bogotel by doxygen 1.3. Hosted by SourceForge.net Logo