C++ implementation of some design patterns.
-
Composite
- Treat individual objects and compositions of objects uniformly.
- Useful to represent hierarchies of items
-
Double Dispatch
- Basic mechanism of the Visitor pattern.
- Understanding double dispatch means understanding Visitor
-
Composite Visitor
- A perfect match of two patterns (Composite and Visitor)
- Useful to represent and process hierarchies of items
-
State
- Represents a finite state machine (FSM)
- Very similar to the Strategy pattern, just different intent
-
Event Notifier
- Based on "Event notifier: a pattern for event notification"
- (implemented in Java)
-
Perception
- Application of Abstract Factory, Composite, and Visitor
- (works on Linux and OSX)
All content released under GNU GPLv2.