You don't need this class in the .h file. Just move it into the .cc file. It is also lacking documentation regarding the member variables and functions.