19 #ifndef THREADEXECUTOR_H 
   20 #define THREADEXECUTOR_H 
   51     unsigned int check() 
override;
 
std::function< int(std::string, std::vector< std::string >, std::string, std::string &)> ExecuteCmdFn
 
This is an interface, which the class responsible of error logging should implement.
 
This class will take a list of filenames and settings and check then all files using threads.
 
This is just a container for general settings so that we don't need to pass individual values to func...
 
class for handling suppressions
 
This class will take a list of filenames and settings and check then all files using threads.
 
unsigned int check() override
 
CppCheck::ExecuteCmdFn mExecuteCommand
 
ThreadExecutor(const ThreadExecutor &)=delete
 
ThreadExecutor(const std::list< FileWithDetails > &files, const std::list< FileSettings > &fileSettings, const Settings &settings, SuppressionList &suppressions, ErrorLogger &errorLogger, CppCheck::ExecuteCmdFn executeCommand)
 
ThreadExecutor & operator=(const ThreadExecutor &)=delete