본문 바로가기
CS(Computer Science)지식/[C++] 디자인 패턴

[C++] GOF의 디자인 패턴 총 정리

by 엔지니어 청년 2024. 1. 28.

[C++] 디자인 패턴

GoF 의 디자인 패턴
생성 패턴
-추상 팩토리(Abstract Factory)
-빌더(Builder)
-팩토리 메서드(Factory Method)
-원형(Prototype)
-단일체(Singleton)

구조패턴
-적응자(Adaptor)
-기교(Bridge)
-복합체(Composite)
-장식자(Decorator)
-퍼사드(Facade)
-플라이급(Flyweight)
-프록시(Proxy) 

행동 패턴
책임 연쇄(Chain of Reponsibility)
명령(Command)
해석자(Interpreter)
반복자(Iterator)
중재자(Mediator)
메멘토(Memento)
감시자(Observer)
상태(State)
전략(Strategy)
템플릿 메서드(Template Method)
방문자(Visitor)

추가적인 디자인 패턴
노출모듈패턴
MVC패턴
MVP패턴

MVVM패턴