Demo Code for Polymorphism, which is also a simple example of delegate pattern.
Link for GTest intall on Liunx.