Design Pattern Examples
Overview of object-oriented design patterns
Facade_ComplicatedSubSystem.cpp File Reference

Implementation of the Facade_ComplicatedSubSystem class representing the complicated sub-system used in the Facade Pattern. More...

#include <memory>
#include <string>
#include "FacadeSubsystem_Interface.h"
#include "Facade_Interface.h"
Include dependency graph for Facade_ComplicatedSubSystem.cpp:

Go to the source code of this file.

Classes

struct  DeviceNode
 Represents a single device. Part of the Facade Pattern example. More...
 
class  DeviceChain
 Represents a device chain, which is a collection of DeviceNode objects. Part of the Facade Pattern example. More...
 
class  Facade_ComplicatedSubSystem
 Represents some kind of system that contains multiple device chains. Part of the Facade Pattern example. More...
 

Namespaces

namespace  DesignPatternExamples_cpp
 The namespace containing all Design Pattern Examples implemented in C++.
 

Functions

IDeviceNetworkLowLevelCreateLowLevelInstance ()
 Class factory for a singleton instance of the sub-system class. Part of the Facade Pattern example.
 

Variables

static std::unique_ptr< Facade_ComplicatedSubSystem > _instance
 A singleton instance of the sub-system. Part of the Facade Pattern example.
 

Detailed Description

Implementation of the Facade_ComplicatedSubSystem class representing the complicated sub-system used in the Facade Pattern.

Definition in file Facade_ComplicatedSubSystem.cpp.