SAGA C++ API 1.6
saga::job::self Class Reference

The job_self class is a job which represents the current application. More...

#include <job_self.hpp>

Inheritance diagram for saga::job::self:

List of all members.

Public Member Functions

 self (void)
 Creates the object.
 ~self (void)
 Destroys the object.

Detailed Description

The job_self class is a job which represents the current application.

It can only by created by calling get_self() on a job service (that call can fail though). The motivation to introduce this class is twofold: (1) it allows to actively handle the current application as a grid job (e.g. to migrate it, or to obtain its job description for cloning/spawning); (2) as the class implements the steerable interface, it is possible to add ReadWrite metrics to its instance - that way it is possible to expose these metrics to other external applications, which in fact allows to steer the current application.

Definition at line 59 of file job_self.hpp.


Constructor & Destructor Documentation

saga::job::self::self ( void  )

Creates the object.

Definition at line 58 of file job_self.cpp.

saga::job::self::~self ( void  )

Destroys the object.

Definition at line 67 of file job_self.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines