Public Member Functions

Celartem::Observer Class Reference

#include <cel_observable.h>

Inheritance diagram for Celartem::Observer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~Observer ()
virtual void update (Observable *inObservable)=0

Detailed Description

This class observes the Observable derivative instances and if the Observable::notify is called, Observer::update is invoked.


Constructor & Destructor Documentation

virtual Celartem::Observer::~Observer (  )  [inline, virtual]

It provides virtual destructor to be an abstract class.


Member Function Documentation

virtual void Celartem::Observer::update ( Observable inObservable  )  [pure virtual]

This method is usually invoked by Observable::notify method.

Parameters:
inObservable An Observable instance that invokes this method. You can use this parameter to gather information about the current status.

Implemented in Celartem::ObserverImpl.


The documentation for this class was generated from the following file:

This document is made with doxygen 1.7.1 at Sat Mar 31 2012 04:35:57.
Caminova Logo