refactoring: use cppcore::TQueue instead of internal class.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>