Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
Arc::TargetRetriever Class Reference

TargetRetriever base class More...

#include <TargetRetriever.h>

Inheritance diagram for Arc::TargetRetriever:
Inheritance graph
Collaboration diagram for Arc::TargetRetriever:
Collaboration graph

List of all members.

Public Member Functions

virtual ~TargetRetriever ()
virtual void GetTargets (TargetGenerator &mom, int targetType, int detailLevel)=0
 Method for collecting targets.

Protected Member Functions

 TargetRetriever (const UserConfig &usercfg, const URL &url, ServiceType st, const std::string &flavour)
 TargetRetriever constructor.

Protected Attributes

const std::string flavour
const UserConfigusercfg
const URL url
const ServiceType serviceType

Static Protected Attributes

static Logger logger

Detailed Description

TargetRetriever base class

The TargetRetriever class is a pure virtual base class to be used for grid flavour specializations. It is designed to work in conjunction with the TargetGenerator.

Definition at line 25 of file TargetRetriever.h.

Constructor & Destructor Documentation

Arc::TargetRetriever::TargetRetriever ( const UserConfig usercfg,
const URL url,
ServiceType  st,
const std::string &  flavour 
) [protected]

TargetRetriever constructor.

Default constructor to create a TargeGenerator. The constructor reads the computing and index service URL objects from the


Definition at line 16 of file TargetRetriever.cpp.

Definition at line 24 of file TargetRetriever.cpp.


Member Function Documentation

virtual void Arc::TargetRetriever::GetTargets ( TargetGenerator mom,
int  targetType,
int  detailLevel 
) [pure virtual]

Method for collecting targets.

Pure virtual method for collecting targets. Implementation depends on the Grid middleware in question and is thus left to the specialized class.

momis the reference to the TargetGenerator which has loaded the TargetRetriever
targetTypeis the identificaion of targets to find (0=ExecutionTargets, 1=Grid Jobs)
detailLevelis the required level of details (1 = All details, 2 = Limited details)

Implemented in Arc::TargetRetrieverARC0, Arc::TargetRetrieverARC1, Arc::TargetRetrieverCREAM, Arc::TargetRetrieverUNICORE, and Arc::TargetRetrieverBES.

Member Data Documentation

const std::string Arc::TargetRetriever::flavour [protected]

Definition at line 64 of file TargetRetriever.h.

Logger Arc::TargetRetriever::logger [static, protected]

Definition at line 67 of file TargetRetriever.h.

const URL Arc::TargetRetriever::url [protected]

Definition at line 66 of file TargetRetriever.h.

Definition at line 65 of file TargetRetriever.h.

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