Emergency 2017 Dokumentation  v3.0.1
qsf::jobs Namespace Reference

Classes

struct  JobConfiguration
 
struct  JobDescriptor
 

Typedefs

typedef uint32 JobId
 
typedef void JobBindingSignature(const JobArguments &)
 
typedef boost::function< JobBindingSignatureJobFunctionBinding
 

Enumerations

enum  Ordering {
  ORDERING_PRE = 0, ORDERING_EARLY, ORDERING_DEFAULT, ORDERING_LATE,
  ORDERING_POST, _NUM_ORDERINGS
}
 

Typedef Documentation

typedef void qsf::jobs::JobBindingSignature(const JobArguments &)

Function binding signature for job callbacks

Definition at line 58 of file JobDefinitions.h.

Boost function binding definition for job callbacks

Definition at line 61 of file JobDefinitions.h.

Internal job identifier

Definition at line 55 of file JobDefinitions.h.

Enumeration Type Documentation

Ordering parameter is used to influence the order of calls, which is otherwise the order of insertion. To be exact, the job calls are executed in ascending order of the job IDs. Ordering manipulates the generation of job IDs so that higher (later) orders lead to much higher IDs. Jobs are guaranteed to be in ordered by their ordering parameters (except for the theoretical case that there are very many, namely over 800 million jobs of a ordering category inserted into a single job manager).

Enumerator
ORDERING_PRE 

Ordering before all other jobs; use this ordering as little as possible.

ORDERING_EARLY 

Early job ordering priority, i.e. before all default priorized jobs.

ORDERING_DEFAULT 

Default job ordering priority.

ORDERING_LATE 

Late job ordering priority, i.e. after all default priorized jobs.

ORDERING_POST 

Ordering after all other jobs; use this ordering as little as possible.

_NUM_ORDERINGS 

Definition at line 44 of file JobDefinitions.h.