#ifndef ROOT_TCondor
#define ROOT_TCondor
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
class TList;
class TCondorSlave : public TObject {
public:
TString fHostname;
Int_t fPort;
Int_t fPerfIdx;
TString fImage;
TString fClaimID;
TString fOrdinal;
TString fWorkDir;
void Print(Option_t *option="") const;
ClassDef(TCondorSlave,0)
};
class TCondor : public TObject {
public:
enum EState { kFree, kSuspended, kActive };
private:
Bool_t fValid;
TString fPool;
EState fState;
TList *fClaims;
protected:
TCondorSlave *ClaimVM(const char *vm, const char *cmd);
public:
TCondor(const char *pool = "");
virtual ~TCondor();
void Print(Option_t *option="") const;
Bool_t IsValid() const { return fValid; }
TList *GetVirtualMachines() const;
TList *Claim(Int_t n, const char *cmd);
TCondorSlave *Claim(const char *vmname, const char *cmd);
Bool_t SetState(EState state);
EState GetState() const {return fState;}
Bool_t Suspend();
Bool_t Resume();
Bool_t Release();
Bool_t GetVmInfo(const char *vm, TString &image, Int_t &perfidx) const;
TString GetImage(const char *host) const;
ClassDef(TCondor,0)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.