Observer.h
Go to the documentation of this file.
1 /* -*- mode:c++ - */
2 
14 #ifndef _Observer_H_
15 #define _Observer_H_
16 
17 #include "libhippo.h"
18 
19 
20 namespace hippodraw {
21 
22 class Observable;
23 
35 {
36 public:
37 
41  Observer();
42 
48  virtual ~Observer ();
49 
53  virtual void update ( const Observable * ) = 0;
54 
62  virtual void willDelete ( const Observable * );
63 
64 };
65 
66 } // namespace hippodraw
67 #endif // _Observer_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
Part of an implementation of the Observable-Observer pattern based on the example in the GOF Patterns...
Definition: Observable.h:39
Part of an implementation of the Observable Observer pattern based on the example implementation in t...
Definition: Observer.h:34

Generated for HippoDraw Class Library by doxygen