A CPP tutorial that introduce the C++11, C++14 feature, googletest, CMake and the Design patterns.
This tutorial is based on a simple system that simulates the data tranfer from different Network Elements in wireless network.
The basic idea of this tutorial is:
- Use Factory pattern to create different Network Elements.
- Use Factory pattern to create different protocol stacks that the Network element supports.
- Use command pattern to use each protocol class instance in protocol stacks and different NE.
- Use traits or policy pattern to specify that which protocol stacks that NE shall use.
- Provides logs system to class instance to check the class creation and destory
- Using googleTest as TDD practice.
- Using CMake to build the system with different target.
- Try to use this tutorial as an example or playground to pratice C++11, C++14 feature and metaprogramming.