// @(#)root/cont:$Id$ // Author: Rene Brun 06/07/2002 /************************************************************************* * Copyright (C) 1995-2000, 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_TProcessUUID #define ROOT_TProcessUUID ////////////////////////////////////////////////////////////////////////// // // // TProcessUUID // // // // TProcessID managing UUIDs // // // ////////////////////////////////////////////////////////////////////////// #include "TProcessID.h" class THashList; class TBits; class TUUID; class TObjString; class TProcessUUID : public TProcessID { private: TProcessUUID(const TProcessID&) = delete; TProcessUUID &operator=(const TProcessUUID&) = delete; protected: TList *fUUIDs; //Global list of TUUIDs TBits *fActive; //Table of active UUIDs public: TProcessUUID(); virtual ~TProcessUUID(); UInt_t AddUUID(TUUID &uuid, TObject *obj); UInt_t AddUUID(const char *uuids); TObjString *FindUUID(UInt_t number) const; TBits *GetActive() const {return fActive;} TList *GetUUIDs() const {return fUUIDs;} void RemoveUUID(UInt_t number); ClassDefOverride(TProcessUUID,1) //TProcessID managing UUIDs }; #endif