SPH
Functions
Job.cpp File Reference
#include "run/Job.h"
#include "objects/containers/FlatSet.h"
#include "post/MeshFile.h"
#include "quantities/Quantity.h"
#include "run/IRun.h"
#include "sph/initial/MeshDomain.h"
#include "thread/CheckFunction.h"

Go to the source code of this file.

Functions

ArrayView< const AutoPtr< IJobDesc > > enumerateRegisteredJobs ()
 Returns a view of all currently registered jobs. More...
 
RawPtr< IJobDescgetJobDesc (const std::string &name)
 Returns a job descriptor for given class name. More...
 
VirtualSettings::CategoryaddGenericCategory (VirtualSettings &connector, std::string &instanceName)
 Adds a common settings category, used by all jobs. More...
 

Function Documentation

◆ addGenericCategory()

VirtualSettings::Category& addGenericCategory ( VirtualSettings connector,
std::string &  instanceName 
)

Adds a common settings category, used by all jobs.

The category currently obtains only an entry for the instance name of the job.

Definition at line 43 of file Job.cpp.

◆ enumerateRegisteredJobs()

ArrayView<const AutoPtr<IJobDesc> > enumerateRegisteredJobs ( )

Returns a view of all currently registered jobs.

Definition at line 30 of file Job.cpp.

◆ getJobDesc()

RawPtr<IJobDesc> getJobDesc ( const std::string &  name)

Returns a job descriptor for given class name.

Only descriptors registered via jobRegistrar can be obtained this way. If no descriptor with given name exists, the function returns nullptr.

Definition at line 34 of file Job.cpp.