MythTV  master
Classes | Namespaces | Functions
mconcurrent.h File Reference
#include "libmythbase/mthreadpool.h"
#include "libmythbase/mythlogging.h"
Include dependency graph for mconcurrent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MConcurrent::RunFunctionTask
 
class  MConcurrent::VoidStoredMemberFunctionPointerCall0< Class >
 
class  MConcurrent::VoidStoredMemberFunctionPointerCall1< Class, Param1, Arg1 >
 
class  MConcurrent::VoidStoredMemberFunctionPointerCall2< Class, Param1, Arg1, Param2, Arg2 >
 
class  MConcurrent::VoidStoredMemberFunctionPointerCall3< Class, Param1, Arg1, Param2, Arg2, Param3, Arg3 >
 
class  MConcurrent::VoidStoredMemberFunctionPointerCall4< Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4 >
 
class  MConcurrent::VoidStoredMemberFunctionPointerCall5< Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5 >
 

Namespaces

 MConcurrent
 Provides a simple version of QtConcurrent::run() that uses MThreadPool rather than QThreadPool.
 

Functions

template<typename Class >
void MConcurrent::run (const QString &name, Class *object, void(Class::*fn)())
 
template<typename Class , typename Param1 , typename Arg1 >
void MConcurrent::run (const QString &name, Class *object, void(Class::*fn)(Param1), const Arg1 &arg1)
 
template<typename Class , typename Param1 , typename Arg1 , typename Param2 , typename Arg2 >
void MConcurrent::run (const QString &name, Class *object, void(Class::*fn)(Param1, Param2), const Arg1 &arg1, const Arg2 &arg2)
 
template<typename Class , typename Param1 , typename Arg1 , typename Param2 , typename Arg2 , typename Param3 , typename Arg3 >
void MConcurrent::run (const QString &name, Class *object, void(Class::*fn)(Param1, Param2, Param3), const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
 
template<typename Class , typename Param1 , typename Arg1 , typename Param2 , typename Arg2 , typename Param3 , typename Arg3 , typename Param4 , typename Arg4 >
void MConcurrent::run (const QString &name, Class *object, void(Class::*fn)(Param1, Param2, Param3, Param4), const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
 
template<typename Class , typename Param1 , typename Arg1 , typename Param2 , typename Arg2 , typename Param3 , typename Arg3 , typename Param4 , typename Arg4 , typename Param5 , typename Arg5 >
void MConcurrent::run (const QString &name, Class *object, void(Class::*fn)(Param1, Param2, Param3, Param4, Param5), const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg4 &arg5)