votca 2024.2-dev
|
#include <progressobserver.h>
Public Member Functions | |
void | InitCmdLineOpts (const boost::program_options::variables_map &optsMap) |
void | InitFromProgFile (std::string progFile, QMThread &thread) |
ProgObserver::Job * | RequestNextJob (QMThread &thread) |
void | ReportJobDone (Job &job, Result &res, QMThread &thread) |
void | SyncWithProgFile (QMThread &thread) |
void | LockProgFile (QMThread &thread) |
void | ReleaseProgFile (QMThread &thread) |
std::string | GenerateHost () |
std::string | GenerateTime () |
Private Types | |
using | Job = typename JobContainer::value_type |
using | Result = typename Job::JobResult |
using | iterator = typename JobContainer::iterator |
using | iterator_vec = typename std::vector<Job *>::iterator |
Private Attributes | |
std::string | lockFile_ = "" |
std::string | progFile_ = "" |
Index | cacheSize_ = -1 |
JobContainer | jobs_ |
std::vector< Job * > | jobsToProc_ |
std::vector< Job * > | jobsToSync_ |
iterator | metajit_ |
iterator_vec | nextjit_ |
tools::Mutex | lockThread_ |
std::unique_ptr< boost::interprocess::file_lock > | flock_ |
std::map< std::string, bool > | restart_hosts_ |
std::map< std::string, bool > | restart_stats_ |
bool | restartMode_ = false |
Index | jobsReported_ = 0 |
bool | moreJobsAvailable_ = false |
Index | startJobsCount_ = 0 |
Index | maxJobs_ = 0 |
Definition at line 43 of file progressobserver.h.
|
private |
Definition at line 70 of file progressobserver.h.
|
private |
Definition at line 72 of file progressobserver.h.
|
private |
Definition at line 45 of file progressobserver.h.
|
private |
Definition at line 46 of file progressobserver.h.
std::string votca::xtp::ProgObserver< JobContainer >::GenerateHost | ( | ) |
Definition at line 118 of file progressobserver.cc.
std::string votca::xtp::ProgObserver< JobContainer >::GenerateTime | ( | ) |
Definition at line 126 of file progressobserver.cc.
void votca::xtp::ProgObserver< JobContainer >::InitCmdLineOpts | ( | const boost::program_options::variables_map & | optsMap | ) |
Definition at line 212 of file progressobserver.cc.
void votca::xtp::ProgObserver< JobContainer >::InitFromProgFile | ( | std::string | progFile, |
QMThread & | thread ) |
Definition at line 257 of file progressobserver.cc.
void votca::xtp::ProgObserver< JobContainer >::LockProgFile | ( | QMThread & | thread | ) |
Definition at line 192 of file progressobserver.cc.
void votca::xtp::ProgObserver< JobContainer >::ReleaseProgFile | ( | QMThread & | thread | ) |
Definition at line 205 of file progressobserver.cc.
void votca::xtp::ProgObserver< JobContainer >::ReportJobDone | ( | Job & | job, |
Result & | res, | ||
QMThread & | thread ) |
Definition at line 99 of file progressobserver.cc.
ProgObserver< JobContainer >::Job * votca::xtp::ProgObserver< JobContainer >::RequestNextJob | ( | QMThread & | thread | ) |
Definition at line 45 of file progressobserver.cc.
void votca::xtp::ProgObserver< JobContainer >::SyncWithProgFile | ( | QMThread & | thread | ) |
Definition at line 132 of file progressobserver.cc.
|
private |
Definition at line 64 of file progressobserver.h.
|
private |
Definition at line 75 of file progressobserver.h.
|
private |
Definition at line 65 of file progressobserver.h.
|
private |
Definition at line 80 of file progressobserver.h.
|
private |
Definition at line 67 of file progressobserver.h.
|
private |
Definition at line 68 of file progressobserver.h.
|
private |
Definition at line 62 of file progressobserver.h.
|
private |
Definition at line 74 of file progressobserver.h.
|
private |
Definition at line 84 of file progressobserver.h.
|
private |
Definition at line 71 of file progressobserver.h.
|
private |
Definition at line 82 of file progressobserver.h.
|
private |
Definition at line 73 of file progressobserver.h.
|
private |
Definition at line 63 of file progressobserver.h.
|
private |
Definition at line 77 of file progressobserver.h.
|
private |
Definition at line 78 of file progressobserver.h.
|
private |
Definition at line 79 of file progressobserver.h.
|
private |
Definition at line 83 of file progressobserver.h.