Cppcheck
|
Public Member Functions | |
ThreadData (ThreadExecutor &threadExecutor, ErrorLogger &errorLogger, const Settings &settings, const std::list< FileWithDetails > &files, const std::list< FileSettings > &fileSettings, CppCheck::ExecuteCmdFn executeCommand) | |
bool | next (const std::string *&file, const FileSettings *&fs, std::size_t &fileSize) |
unsigned int | check (ErrorLogger &errorLogger, const std::string *file, const FileSettings *fs) const |
void | status (std::size_t fileSize) |
Public Attributes | |
SyncLogForwarder | logForwarder |
Private Attributes | |
const std::list< FileWithDetails > & | mFiles |
std::list< FileWithDetails >::const_iterator | mItNextFile |
const std::list< FileSettings > & | mFileSettings |
std::list< FileSettings >::const_iterator | mItNextFileSettings |
std::size_t | mProcessedFiles {} |
std::size_t | mTotalFiles {} |
std::size_t | mProcessedSize {} |
std::size_t | mTotalFileSize {} |
std::mutex | mFileSync |
const Settings & | mSettings |
CppCheck::ExecuteCmdFn | mExecuteCommand |
Definition at line 81 of file threadexecutor.cpp.
|
inline |
Definition at line 84 of file threadexecutor.cpp.
References mFiles, mFileSettings, mItNextFile, mItNextFileSettings, mTotalFiles, and mTotalFileSize.
|
inline |
Definition at line 116 of file threadexecutor.cpp.
References CppCheck::analyseClangTidy(), CppCheck::check(), Settings::clangTidy, mExecuteCommand, mSettings, and CppCheck::settings().
Referenced by threadProc().
|
inline |
Definition at line 96 of file threadexecutor.cpp.
References mFiles, mFileSettings, mFileSync, mItNextFile, and mItNextFileSettings.
Referenced by threadProc().
|
inline |
Definition at line 134 of file threadexecutor.cpp.
References logForwarder, mFileSync, mProcessedFiles, mProcessedSize, mSettings, mTotalFiles, mTotalFileSize, Settings::quiet, and SyncLogForwarder::reportStatus().
Referenced by threadProc().
SyncLogForwarder ThreadData::logForwarder |
Definition at line 158 of file threadexecutor.cpp.
Referenced by status(), and threadProc().
|
private |
Definition at line 155 of file threadexecutor.cpp.
Referenced by check().
|
private |
Definition at line 143 of file threadexecutor.cpp.
Referenced by next(), and ThreadData().
|
private |
Definition at line 145 of file threadexecutor.cpp.
Referenced by next(), and ThreadData().
|
private |
Definition at line 153 of file threadexecutor.cpp.
|
private |
Definition at line 144 of file threadexecutor.cpp.
Referenced by next(), and ThreadData().
|
private |
Definition at line 146 of file threadexecutor.cpp.
Referenced by next(), and ThreadData().
|
private |
Definition at line 148 of file threadexecutor.cpp.
Referenced by status().
|
private |
Definition at line 150 of file threadexecutor.cpp.
Referenced by status().
|
private |
Definition at line 154 of file threadexecutor.cpp.
|
private |
Definition at line 149 of file threadexecutor.cpp.
Referenced by status(), and ThreadData().
|
private |
Definition at line 151 of file threadexecutor.cpp.
Referenced by status(), and ThreadData().