Rosetta 3.3
Public Types | Public Member Functions | Protected Member Functions
ObjexxFCL::ObserverMulti Class Reference

ObserverMulti: Combined Subject + Multi Observer Abstract Base Class. More...

#include <ObserverMulti.hh>

Inheritance diagram for ObjexxFCL::ObserverMulti:
Inheritance graph
[legend]
Collaboration diagram for ObjexxFCL::ObserverMulti:
Collaboration graph
[legend]

List of all members.

Public Types

typedef SetWrapper< Observer * > Observers

Public Member Functions

virtual ~ObserverMulti ()
 Destructor.
void insert_observer (Observer &observer) const
 Insert an Observer.
void remove_observer (Observer &observer) const
 Remove an Observer.
bool has_observer () const
 Has At Least One Observer?
Observers const * observers_p () const
 Observers Pointer.
Observers const & observers () const
 Observers.
void notify_destructed () const
 Notify Observers That This Subject is Being Destructed.

Protected Member Functions

 ObserverMulti ()
 Default Constructor.
 ObserverMulti (ObserverMulti const &)
 Copy Constructor.
ObserverMultioperator= (ObserverMulti const &)
 Copy Assignment.

Detailed Description

ObserverMulti: Combined Subject + Multi Observer Abstract Base Class.


Member Typedef Documentation


Constructor & Destructor Documentation

ObjexxFCL::ObserverMulti::ObserverMulti ( ) [inline, protected]

Default Constructor.

ObjexxFCL::ObserverMulti::ObserverMulti ( ObserverMulti const &  ) [inline, protected]

Copy Constructor.

ObjexxFCL::ObserverMulti::~ObserverMulti ( ) [virtual]

Destructor.

References notify_destructed().


Member Function Documentation

bool ObjexxFCL::ObserverMulti::has_observer ( ) const [inline, virtual]

Has At Least One Observer?

Implements ObjexxFCL::Observer.

void ObjexxFCL::ObserverMulti::insert_observer ( Observer observer) const [virtual]
void ObjexxFCL::ObserverMulti::notify_destructed ( ) const [inline]

Notify Observers That This Subject is Being Destructed.

Referenced by ~ObserverMulti().

Observers const& ObjexxFCL::ObserverMulti::observers ( ) const [inline]

Observers.

Observers const* ObjexxFCL::ObserverMulti::observers_p ( ) const [inline]

Observers Pointer.

ObserverMulti& ObjexxFCL::ObserverMulti::operator= ( ObserverMulti const &  ) [inline, protected]

Copy Assignment.

void ObjexxFCL::ObserverMulti::remove_observer ( Observer observer) const [inline, virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines