/usr/include/root/TProofNodeInfo.h is in libroot-proof-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | // @(#)root/proof:$Id$
// Author: Paul Nilsson 7/12/2005
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TProofNodeInfo
#define ROOT_TProofNodeInfo
//////////////////////////////////////////////////////////////////////////
// //
// TProofNodeInfo //
// //
// Implementation of PROOF node info. //
// The purpose of this class is to provide a complete node description //
// for masters, submasters and workers. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
class TProofResourcesStatic;
class TProofNodeInfo : public TObject {
friend class TProofResourcesStatic;
public:
enum ENodeType { kMaster, kSubMaster, kWorker };
private:
ENodeType fNodeType; // Distinction between master, submaster and worker
TString fNodeName; // Name of the node
TString fWorkDir; // Working directory
TString fOrdinal; // Worker ordinal number
TString fImage; // File system image
TString fId; // Id number
TString fConfig; // Configuration file name [for submasters]
TString fMsd; // Msd value [for submasters]
Int_t fPort; // Port number
Int_t fPerfIndex; // Performance index
void operator=(const TProofNodeInfo &); // idem
public:
TProofNodeInfo();
TProofNodeInfo(const char *str);
TProofNodeInfo(const TProofNodeInfo &nodeInfo);
~TProofNodeInfo() { }
ENodeType GetNodeType() const { return fNodeType; }
const TString &GetNodeName() const { return fNodeName; }
const TString &GetWorkDir() const { return fWorkDir; }
const TString &GetOrdinal() const { return fOrdinal; }
const TString &GetImage() const { return fImage; }
const TString &GetId() const { return fId; }
const TString &GetConfig() const { return fConfig; }
const TString &GetMsd() const { return fMsd; }
Int_t GetPort() const { return fPort; }
Int_t GetPerfIndex() const { return fPerfIndex; }
void Assign(const TProofNodeInfo &n);
void Print(const Option_t *) const;
static ENodeType GetNodeType(const TString &type);
ClassDef(TProofNodeInfo,1) // Class describing a PROOF node
};
#endif
|