ARC SDK
Public Member Functions | Friends

ExecutionTarget. More...

#include <arc/compute/ExecutionTarget.h>

Public Member Functions

 ExecutionTarget ()
 Create an ExecutionTarget. More...
 
 ExecutionTarget (const ExecutionTarget &t)
 Create an ExecutionTarget. More...
 
 ExecutionTarget (long int addrptr)
 Create an ExecutionTarget. More...
 
void RegisterJobSubmission (const JobDescription &jobdesc) const
 Update ExecutionTarget after succesful job submission. More...
 

Friends

std::ostream & operator<< (std::ostream &out, const ExecutionTarget &et)
 Print the ExecutionTarget information. More...
 

Detailed Description

ExecutionTarget.

This class describe a target which accept computing jobs. All of the members contained in this class, with a few exceptions, are directly linked to attributes defined in the GLUE Specification v. 2.0 (GFD-R-P.147).

Constructor & Destructor Documentation

Arc::ExecutionTarget::ExecutionTarget ( )
inline

Create an ExecutionTarget.

Default constructor to create an ExecutionTarget. Takes no arguments.

Arc::ExecutionTarget::ExecutionTarget ( const ExecutionTarget t)
inline

Create an ExecutionTarget.

Copy constructor.

Parameters
tExecutionTarget to copy.
Arc::ExecutionTarget::ExecutionTarget ( long int  addrptr)
inline

Create an ExecutionTarget.

Copy constructor? Needed from Python?

Parameters
addrptr

Member Function Documentation

void Arc::ExecutionTarget::RegisterJobSubmission ( const JobDescription jobdesc) const

Update ExecutionTarget after succesful job submission.

Method to update the ExecutionTarget after a job succesfully has been submitted to the computing resource it represents. E.g. if a job is sent to the computing resource and is expected to enter the queue, then the WaitingJobs attribute is incremented with 1.

Parameters
jobdesccontains all information about the job submitted.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const ExecutionTarget et 
)
friend

Print the ExecutionTarget information.

Method to print the ExecutionTarget attributes to a std::ostream object.

Parameters
outthe std::ostream to print the attributes to.
etExecutionTarget from which to obtain information
Returns
the input ostream object is returned.

The documentation for this class was generated from the following file: