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

Implementation of the Facade_ComplicatedSubSystem class, along with the CreateLowLevelInstance() class factory representing the complicated sub-system used in the Facade Pattern. More...

Go to the source code of this file.

Classes

class  DeviceNode
 
class  DeviceChain
 Represents a device chain, which is a collection of DeviceNode objects. More...
 
class  Facade_ComplicatedSubSystem
 Represents some kind of system that contains multiple device chains. More...
 

Namespaces

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

Functions

IDeviceNetworkLowLevel CreateLowLevelInstance ()
 Class factory for a singleton instance of the sub-system class as represented by the IDeviceNetworkLowLevel interface.
 

Variables

None _instance = None
 A singleton instance of the sub-system.
 

Detailed Description

Implementation of the Facade_ComplicatedSubSystem class, along with the CreateLowLevelInstance() class factory representing the complicated sub-system used in the Facade Pattern.

Definition in file facade_complicatedsubsystem.py.