Cafu Engine
ObserverPatternTools.hpp File Reference

This file provides the classes for the Observer pattern as described in the book by the GoF. More...

#include "Templates/Array.hpp"
Include dependency graph for ObserverPatternTools.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ToolsObserverT
 
class  ToolsSubjectT
 

Enumerations

enum  ToolsUpdatePriorityT { UPDATE_NOW, UPDATE_SOON }
 An enumeration that determines the urgency with which observers should update themselves when their subject has changed. More...
 

Detailed Description

This file provides the classes for the Observer pattern as described in the book by the GoF.

These classes are specific to the tools. See the map document related observer classes for more details.

Enumeration Type Documentation

An enumeration that determines the urgency with which observers should update themselves when their subject has changed.

Enumerator
UPDATE_NOW 

Update immediately, in real-time, before the function returns.

UPDATE_SOON 

Update as soon as convenient, at the next opportunity.