|
Project Documentation Manager BRIGADOON-0002
Project Documentation Manager
|
Class for utilising the Doxygen tool. More...
#include <doxygenmanager.h>
Public Slots | |
| void | ReceiveResult (PROJECT_INFORMATION *ProjectInfo) |
| Receive the Result of the Worker Function. | |
Signals | |
| void | SendLogEntry (REMOTE_LOG_ENTRY LogEntry) |
| Send Log Entry to the Log \LogEntry Structure holding Log information. | |
| void | DoxygenDone (void) |
| Signal Doxgen has finished a task. | |
| void | PrStateChange (PROJECT_INFORMATION *ProjectInfo) |
| Signal that State of the Project has changed. | |
| void | DoWork (PROJECT_INFORMATION *ProjectInfo) |
| Signal the Work task to process this Project. | |
Public Member Functions | |
| DoxygenManager () | |
| Class Constructor. | |
| ~DoxygenManager () | |
| Class Deconstructor. | |
| void | ProcessProject (PROJECT_INFORMATION *ProjectInfo) |
| Process documentation for a Project. | |
Private Slots | |
| void | RemoteLogger (REMOTE_LOG_ENTRY LogEntry) |
Private Member Functions | |
| void | LogAdd (LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message) |
| Add a Log Entry. | |
| bool | LockProject (int ProjectIndex) |
| Lock the Project to prevent alterations. | |
| void | DoProject (void) |
| Take the next Project in the Queue and process. | |
Private Attributes | |
| QThread | doxy_thread |
| QList< PROJECT_INFORMATION * > | project_list |
| Queue of Projects to be processed. | |
| Worker | worker |
| bool | project_working = false |
| Flag showing is a project is being processed. | |
Class for utilising the Doxygen tool.
Definition at line 23 of file doxygenmanager.h.
| DoxygenManager::DoxygenManager | ( | ) |
Class Constructor.
Definition at line 9 of file doxygenmanager.cpp.
References DoWork(), doxy_thread, ReceiveResult(), RemoteLogger(), Worker::SendLogEntry(), Worker::WorkDone(), and worker.
| DoxygenManager::~DoxygenManager | ( | ) |
|
private |
Take the next Project in the Queue and process.
Definition at line 80 of file doxygenmanager.cpp.
References DoWork(), LockProject(), LOG_DEBUG, LOG_INFO, LogAdd(), MODE_GENERAL, project_list, project_working, PROJECT_INFORMATION::ProjectDesc, PROJECT_DESCRIPTION::ProjectIdent, PROJECT_DESCRIPTION::ProjectIndex, PROJECT_INFORMATION::ProjectLock, PROJECT_INFORMATION::ProjectQueued, PrStateChange(), and read_project_info.
Referenced by ProcessProject(), and ReceiveResult().
|
signal |
Signal the Work task to process this Project.
| ProjectInfo | Structure holding the Project's Information |
Referenced by DoProject(), and DoxygenManager().
|
signal |
Signal Doxgen has finished a task.
|
private |
Lock the Project to prevent alterations.
| The | Project's Index |
Definition at line 116 of file doxygenmanager.cpp.
References read_project_info.
Referenced by DoProject().
|
private |
Add a Log Entry.
| Severity | Severity of the Logged Event |
| Mode | Part of the Program being Logged |
| Message | Description of the Log Event |
Definition at line 36 of file doxygenmanager.cpp.
References REMOTE_LOG_ENTRY::Message, REMOTE_LOG_ENTRY::Mode, SendLogEntry(), and REMOTE_LOG_ENTRY::Severity.
Referenced by DoProject(), ProcessProject(), and ReceiveResult().
| void DoxygenManager::ProcessProject | ( | PROJECT_INFORMATION * | ProjectInfo | ) |
Process documentation for a Project.
| ProjectInfo | Information about the Project |
Definition at line 25 of file doxygenmanager.cpp.
References DoProject(), LOG_INFO, LogAdd(), MODE_FILE, project_list, project_list_manager, PROJECT_INFORMATION::ProjectDesc, PROJECT_DESCRIPTION::ProjectIdent, PROJECT_DESCRIPTION::ProjectIndex, PROJECT_INFORMATION::ProjectLock, PROJECT_INFORMATION::ProjectQueued, and read_project_info.
|
signal |
Signal that State of the Project has changed.
| ProjectInfo | Structure holding the Project's Information |
Referenced by DoProject().
|
slot |
Receive the Result of the Worker Function.
Definition at line 45 of file doxygenmanager.cpp.
References CONTROL_DOC_ACCESS, DoProject(), GROUP_ACCESS_ONLY, ASSOCIATED_GROUP_INFO::HtaccessFileName, PROJECT_INFORMATION::InAssocInfo, LOG_DEBUG, LOG_ERROR, LogAdd(), MODE_FILE, PROGRAM_INFORMATION::PrimaryWebsiteDirectory, PROJECT_INFORMATION::ProgramInformation, project_working, PROJECT_INFORMATION::ProjectDesc, PROJECT_DESCRIPTION::ProjectIdent, PROJECT_DESCRIPTION::ProjectIndex, PROJECT_INFORMATION::ProjectLock, PROJECT_DESCRIPTION::ProjectOptions, PROJECT_INFORMATION::ProjectQueued, read_project_info, and PROGRAM_INFORMATION::SharedTemplateDirectory.
Referenced by DoxygenManager().
|
privateslot |
Definition at line 75 of file doxygenmanager.cpp.
References SendLogEntry().
Referenced by DoxygenManager().
|
signal |
Send Log Entry to the Log \LogEntry Structure holding Log information.
Referenced by LogAdd(), and RemoteLogger().
|
private |
Definition at line 31 of file doxygenmanager.h.
Referenced by DoxygenManager(), and ~DoxygenManager().
|
private |
Queue of Projects to be processed.
Definition at line 76 of file doxygenmanager.h.
Referenced by DoProject(), and ProcessProject().
|
private |
Flag showing is a project is being processed.
Definition at line 101 of file doxygenmanager.h.
Referenced by DoProject(), and ReceiveResult().
|
private |
Definition at line 95 of file doxygenmanager.h.
Referenced by DoxygenManager().