Virtual base class for all kinds of jobs inside NAGASH, handled by Analysis.
More...
#include "NAGASH/Job.h"
|
static std::recursive_mutex | DefaultMutex = std::recursive_mutex() |
| Default mutex, for multi-thread usage.
|
|
Virtual base class for all kinds of jobs inside NAGASH, handled by Analysis.
Note that each Job class defined by the user should contain the following static function which can be called by Analysis:
{
UserJob ujob(
config, ....some other parameters....);
result->Merge(ujob.ResultGroupUser())
}
std::shared_ptr< ResultGroup > result
std::shared_ptr< ConfigTool > config
Details can be seen in topic Analysis Classes.
Definition at line 40 of file Job.h.
◆ Job() [1/4]
Constructor.
- Parameters
-
Definition at line 72 of file Job.h.
◆ Job() [2/4]
◆ Job() [3/4]
NAGASH::Job::Job |
( |
const Job & |
| ) |
|
|
delete |
◆ Job() [4/4]
NAGASH::Job::Job |
( |
Job && |
| ) |
|
|
delete |
◆ ~Job()
virtual NAGASH::Job::~Job |
( |
| ) |
|
|
virtualdefault |
◆ ConfigUser()
std::shared_ptr< ConfigTool > NAGASH::Job::ConfigUser |
( |
| ) |
|
|
inlineprotected |
◆ JobNumber()
int NAGASH::Job::JobNumber |
( |
| ) |
|
|
inlineprotected |
get the number of job inside Analysis.
Definition at line 92 of file Job.h.
◆ MSGUser()
std::shared_ptr< MSGTool > NAGASH::Job::MSGUser |
( |
| ) |
|
|
inlineprotected |
◆ operator=() [1/2]
Job & NAGASH::Job::operator= |
( |
const Job & |
| ) |
|
|
delete |
◆ operator=() [2/2]
Job & NAGASH::Job::operator= |
( |
Job && |
| ) |
|
|
delete |
◆ ResultGroupUser()
std::shared_ptr< ResultGroup > NAGASH::Job::ResultGroupUser |
( |
| ) |
|
|
inline |
◆ TimerUser()
std::shared_ptr< Timer > NAGASH::Job::TimerUser |
( |
| ) |
|
|
inlineprotected |
◆ ToolkitUser()
std::shared_ptr< Toolkit > NAGASH::Job::ToolkitUser |
( |
| ) |
|
|
inlineprotected |
◆ Analysis
Definition at line 51 of file Job.h.
◆ config
Definition at line 62 of file Job.h.
◆ DefaultMutex
std::recursive_mutex NAGASH::Job::DefaultMutex = std::recursive_mutex() |
|
inlinestaticprotected |
Default mutex, for multi-thread usage.
Definition at line 59 of file Job.h.
◆ jobnumber
int NAGASH::Job::jobnumber |
|
private |
Definition at line 67 of file Job.h.
◆ msg
std::shared_ptr<MSGTool> NAGASH::Job::msg |
|
private |
Definition at line 63 of file Job.h.
◆ result
Definition at line 66 of file Job.h.
◆ timer
std::shared_ptr<Timer> NAGASH::Job::timer |
|
private |
Definition at line 65 of file Job.h.
◆ toolkit
std::shared_ptr<Toolkit> NAGASH::Job::toolkit |
|
private |
Definition at line 64 of file Job.h.
The documentation for this class was generated from the following file: