The DotRunner
Class Reference
Helper class to run dot from doxygen from multiple threads. More...
Declaration
Included Headers
Public Constructors Index
DotRunner (const QCString &absDotName, const QCString &md5Hash=QCString()) | |
Creates a runner for a dot file. More... | |
Public Member Functions Index
void | addJob (const QCString &format, const QCString &output, const QCString &srcFile, int srcLine) |
Adds an additional job to the run. More... | |
void | preventCleanUp () |
Prevent cleanup of the dot file (for user provided dot files) More... | |
bool | run () |
Runs dot for all jobs added. More... | |
QCString | getMd5Hash () |
Private Member Attributes Index
QCString | m_file |
QCString | m_md5Hash |
QCString | m_dotExe |
bool | m_cleanUp |
std::vector< DotJob > | m_jobs |
Public Static Functions Index
static bool | readBoundingBox (const QCString &fileName, int *width, int *height, bool isEps) |
Description
Helper class to run dot from doxygen from multiple threads.
Definition at line 30 of file dotrunner.h.
Public Constructors
DotRunner()
Creates a runner for a dot file.
Declaration at line 46 of file dotrunner.h, definition at line 260 of file dotrunner.cpp.
References Config_getBool, m_cleanUp, m_dotExe, m_file and m_md5Hash.
Public Member Functions
addJob()
|
Adds an additional job to the run.
Performing multiple jobs one file can be faster.
Declaration at line 51 of file dotrunner.h, definition at line 269 of file dotrunner.cpp.
Reference m_jobs.
Referenced by DotGraph::prepareDotFile, writeDotGraphFromFile and writeDotImageMapFromFile.
getMd5Hash()
| inline |
Definition at line 59 of file dotrunner.h.
Reference m_md5Hash.
preventCleanUp()
| inline |
Prevent cleanup of the dot file (for user provided dot files)
Definition at line 54 of file dotrunner.h.
Reference m_cleanUp.
Referenced by writeDotGraphFromFile and writeDotImageMapFromFile.
run()
|
Runs dot for all jobs added.
Declaration at line 57 of file dotrunner.h, definition at line 291 of file dotrunner.cpp.
References checkPngResult, Config_getBool, err_full, FALSE, Portable::fopen, getBaseNameOfOutput, m_cleanUp, m_dotExe, m_file, m_jobs, m_md5Hash, MAX_LATEX_GRAPH_SIZE, readBoundingBox, resetPDFSize, Portable::system, TRUE and Portable::unlink.
Referenced by DotManager::run, writeDotGraphFromFile and writeDotImageMapFromFile.
Private Member Attributes
m_cleanUp
|
Definition at line 67 of file dotrunner.h.
Referenced by DotRunner, preventCleanUp and run.
m_dotExe
|
m_file
|
m_jobs
|
Definition at line 68 of file dotrunner.h.
m_md5Hash
|
Definition at line 65 of file dotrunner.h.
Referenced by DotRunner, getMd5Hash and run.
Public Static Functions
readBoundingBox()
| static |
Declaration at line 61 of file dotrunner.h, definition at line 140 of file dotrunner.cpp.
References DBG, err, extractBoundingBox and Portable::openInputStream.
Referenced by run and DotFilePatcher::writeVecGfxFigure.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.