Public Member Functions | List of all members
Celartem::Observer Class Referenceabstract

#include <cel_observable.h>

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

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

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
inObservableAn 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:

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:06.
Cuminas Logo