Design Pattern Examples
Overview of object-oriented design patterns
DesignPatternExamples_python.facade.facade_highlevelsystem Namespace Reference

Classes

class  DeviceNetworkHighLevel
 This class wraps the IDeviceNetworkLowLevel interface and implements the high level IDeviceNetworkHighLevel interface, which is a simpler interface. More...
 

Functions

IDeviceNetworkHighLevel CreateHighLevelInstance ()
 Class factory for a singleton instance of the IDeviceNetworkHighLevel interface.
 

Variables

None _instance = None
 

Function Documentation

◆ CreateHighLevelInstance()

IDeviceNetworkHighLevel CreateHighLevelInstance ( )

Class factory for a singleton instance of the IDeviceNetworkHighLevel interface.

Part of the Facade Pattern example.

Returns
Returns a singleton instance of the class.

Definition at line 82 of file facade_highlevelsystem.py.

Variable Documentation

◆ _instance

None _instance = None
protected

Definition at line 73 of file facade_highlevelsystem.py.