#ifndef ROOT_TProcessID
#define ROOT_TProcessID
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TObjArray
#include "TObjArray.h"
#endif
class TExMap;
class TFile;
class TProcessID : public TNamed {
protected:
Int_t fCount;
TObjArray *fObjects;
static TProcessID *fgPID;
static TObjArray *fgPIDs;
static TExMap *fgObjPIDs;
static UInt_t fgNumber;
public:
TProcessID();
TProcessID(const TProcessID &ref);
TProcessID& operator=(const TProcessID &ref);
virtual ~TProcessID();
virtual void Clear(Option_t *option="");
Int_t DecrementCount();
Int_t IncrementCount();
Int_t GetCount() const {return fCount;}
TObjArray *GetObjects() const {return fObjects;}
TObject *GetObjectWithID(UInt_t uid);
void PutObjectWithID(TObject *obj, UInt_t uid=0);
virtual void RecursiveRemove(TObject *obj);
static TProcessID *AddProcessID();
static UInt_t AssignID(TObject *obj);
static void Cleanup();
static TProcessID *ReadProcessID(UShort_t pidf , TFile *file);
static UShort_t WriteProcessID(TProcessID *pid , TFile *file);
static UInt_t GetNProcessIDs() {return fgPIDs ? fgPIDs->GetLast()+1 : 0;}
static TProcessID *GetProcessID(UShort_t pid);
static TProcessID *GetProcessWithUID(UInt_t uid,void *obj);
static TProcessID *GetSessionProcessID();
static UInt_t GetObjectCount();
static Bool_t IsValid(TProcessID *pid);
static void SetObjectCount(UInt_t number);
ClassDef(TProcessID,1)
};
#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.