Design Pattern Examples
Overview of object-oriented design patterns
handlerchain_exercise.py File Reference

Implementation of the HandlerChain_Exercise() function as used in the HandlerChain Pattern. More...

Go to the source code of this file.

Namespaces

namespace  DesignPatternExamples_python
 The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace.
 
namespace  DesignPatternExamples_python.handlerchain
 
namespace  DesignPatternExamples_python.handlerchain.handlerchain_exercise
 

Functions

None _HandlerChain_ConstructWindowChain (HandlerChain handlerChain)
 Helper method to construct a list of windows.
 
def HandlerChain_Exercise ()
 Example of using the HandlerChain Pattern or Chain of Responsibility Pattern.
 

Detailed Description

Implementation of the HandlerChain_Exercise() function as used in the HandlerChain Pattern.

Definition in file handlerchain_exercise.py.