#ifndef ROOT_TProofMonSender
#define ROOT_TProofMonSender
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class TDSet;
class TList;
class TPerfStat;
class TProofMonSender : public TNamed {
protected:
Int_t fSummaryVrs;
Int_t fDataSetInfoVrs;
Int_t fFileInfoVrs;
enum EConfigBits {
kSendSummary = BIT(15),
kSendDataSetInfo = BIT(16),
kSendFileInfo = BIT(17)
};
class TDSetPlet : public TNamed {
public:
Int_t fFiles;
Int_t fMissing;
TDSet *fDSet;
TDSetPlet(const char *name, TDSet *ds = 0) :
TNamed(name, ""), fFiles(0), fMissing(0), fDSet(ds) { }
virtual ~TDSetPlet() { }
};
public:
TProofMonSender(const char *n = "Abstract",
const char *t = "ProofMonSender") : TNamed(n,t),
fSummaryVrs(2), fDataSetInfoVrs(1), fFileInfoVrs(1)
{ SetBit(TObject::kInvalidObject);
SetBit(kSendSummary);
SetBit(kSendDataSetInfo);
ResetBit(kSendFileInfo); }
virtual ~TProofMonSender() { }
Int_t SetSendOptions(const char *);
Bool_t IsValid() const { return (TestBit(TObject::kInvalidObject)) ? kFALSE : kTRUE; }
virtual Int_t SendSummary(TList *, const char *) = 0;
virtual Int_t SendDataSetInfo(TDSet *, TList *, const char *, const char *) = 0;
virtual Int_t SendFileInfo(TDSet *, TList *, const char *, const char *) = 0;
ClassDef(TProofMonSender,0);
};
#endif