Arc::ExecutionTarget Class Reference

ExecutionTarget. More...

#include <ExecutionTarget.h>

Public Member Functions

 ExecutionTarget ()
 ExecutionTarget (const ExecutionTarget &t)
 ExecutionTarget (long int addrptr)
void RegisterJobSubmission (const JobDescription &jobdesc) const
void SaveToStream (std::ostream &out, bool longlist) const

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:
target ExecutionTarget 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:
jobdesc contains all information about the job submitted.
void Arc::ExecutionTarget::SaveToStream ( std::ostream &  out,
bool  longlist 
) const

Print the ExecutionTarget information to a std::ostream object.

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

Parameters:
out is the std::ostream to print the attributes to.
longlist should be set to true for printing a long list.

The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:18 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3