Template class that wraps reentrant class and allows (using Qt mutex) simultaneously access by value from multiple threads.