library: libProof #include "TCondor.h"

# TCondor

class description - source file - inheritance tree (.ps)

## class TCondor : public TObject

| Inheritance Chart:

`TObject`

<-

`TCondor`

        protected:

          TCondorSlave* ClaimVM(const char* vm, const char* cmd, Int_t& port)
                 Bool_t SetState(TCondor::EState state)

        public:

                          TCondor(const char* pool)
                          TCondor(const TCondor&)
                  virtual ~TCondor()
                   TList* Claim(Int_t n, const char* cmd)
           static TClass* Class()
                  TString GetImage(const char* host) const
                   TList* GetVirtualMachines() const
                   Bool_t GetVmInfo(const char* vm, TString& image, Int_t& perfidx) const
          virtual TClass* IsA() const
                 TCondor& operator=(const TCondor&)
             virtual void Print(Option_t* option) const
                   Bool_t Release()
                   Bool_t Resume()
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
                   Bool_t Suspend()

### Data Members

        private:

                  TString fPool    the condor pool to be accessed
          TCondor::EState fState   our claim state
                   TList* fClaims  list of claims we manage

        public:

          static const TCondor::EState kFree
          static const TCondor::EState kSuspended
          static const TCondor::EState kActive

## Class Description

     TCondor

     Interface to the Condor system. TCondor provides a (partial) API for
     querying and controlling the Condor system, including experimental
     extensions like COD (computing on demand)

TCondor(const char *pool) : fPool(pool), fState(kFree)

     Create Condor interface object. Uses Condor apps since there is no
     API yet.

~TCondor()

     Cleanup Condor interface.

void Print(Option_t * opt) const

TCondorSlave* ClaimVM(const char *vm, const char * /*cmd*/, Int_t &port)

     Claim a VirtualMachine for PROOF usage.

TList* GetVirtualMachines() const

     Get the names of the virtual machines in the pool.
     Return a TList of TObjString or 0 in case of failure

TList* Claim(Int_t n, const char *cmd)

Bool_t SetState(EState state)

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

### Inline Functions

                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
                TCondor TCondor(const TCondor&)
               TCondor& operator=(const TCondor&)

Author: Maarten Ballintijn 06/12/03
Last update: root/proof:$Name: $:$Id: TCondor.cxx,v 1.7 2003/10/07 14:03:03 rdm Exp $
Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. *