#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 |
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).
Arc::ExecutionTarget::ExecutionTarget | ( | ) | [inline] |
Create an ExecutionTarget.
Default constructor to create an ExecutionTarget. Takes no arguments.
Arc::ExecutionTarget::ExecutionTarget | ( | const ExecutionTarget & | t | ) | [inline] |
Arc::ExecutionTarget::ExecutionTarget | ( | long int | addrptr | ) | [inline] |
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.
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.
out | is the std::ostream to print the attributes to. | |
longlist | should be set to true for printing a long list. |