ROOT logo
ROOT » CORE » BASE » TProcessUUID

class TProcessUUID: public TProcessID


 TProcessUUID

 This class is a specialized TProcessID managing the list of UUIDs.
 In addition to TProcessID, this object has the following members:
   - fUUIDs  : a THashList of TUUIDs in string format (using a TObjString)
   - fActive : a TBits table with one bit per TUUID in the table
 When a new TUUID is entered into the list fUUIDs, it is assigned
 the first free slot in the list of bits and the TUUID UUIDNumber
 is set to this slot number.
 When a TUUID is removed from the list, the corresponding bit
 is reset in fActive.
 The object corresponding to a TUUID at slot I can be found
 via fObjects->At(I).
 One can use two mechanisms to find the object corresponding to a TUUID:
  1- the input is the TUUID.AsString. One can find the corresponding
     TObjString object objs in fUUIDs via THashList::FindObject(name).
     The slot number is then objs->GetUniqueID().
  2- The input is the UUIDNumber. The slot number is UIUIDNumber

 When a TRef points to an object having a TUUID, both the TRef and the
 referenced object have their bit kHasUUID set. In this case, the pointer
 TProcessID *fPID in TRef points to the unique object TProcessUUID.
 The TRef uniqueID is directly the UUIDNumber=slot number.


Function Members (Methods)

public:
TProcessUUID()
virtual~TProcessUUID()
voidTObject::AbstractMethod(const char* method) const
static TProcessID*TProcessID::AddProcessID()
UInt_tAddUUID(const char* uuids)
UInt_tAddUUID(TUUID& uuid, TObject* obj)
virtual voidTObject::AppendPad(Option_t* option = "")
static UInt_tTProcessID::AssignID(TObject* obj)
virtual voidTObject::Browse(TBrowser* b)
voidTProcessID::CheckInit()
static TClass*Class()
virtual const char*TObject::ClassName() const
static voidTProcessID::Cleanup()
virtual voidTProcessID::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
Int_tTProcessID::DecrementCount()
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TObjString*FindUUID(UInt_t number) const
TBits*GetActive() const
Int_tTProcessID::GetCount() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
static UInt_tTProcessID::GetNProcessIDs()
static UInt_tTProcessID::GetObjectCount()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
TObjArray*TProcessID::GetObjects() const
static Bool_tTObject::GetObjectStat()
TObject*TProcessID::GetObjectWithID(UInt_t uid)
virtual Option_t*TObject::GetOption() const
static TProcessID*TProcessID::GetPID()
static TObjArray*TProcessID::GetPIDs()
static TProcessID*TProcessID::GetProcessID(UShort_t pid)
static TProcessID*TProcessID::GetProcessWithUID(const TObject* obj)
static TProcessID*TProcessID::GetProcessWithUID(UInt_t uid, const void* obj)
static TProcessID*TProcessID::GetSessionProcessID()
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
TList*GetUUIDs() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
Int_tTProcessID::IncrementCount()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
static Bool_tTProcessID::IsValid(TProcessID* pid)
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
voidTProcessID::PutObjectWithID(TObject* obj, UInt_t uid = 0)
virtual Int_tTObject::Read(const char* name)
virtual voidTProcessID::RecursiveRemove(TObject* obj)
voidRemoveUUID(UInt_t number)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTProcessID::SetObjectCount(UInt_t number)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
TBits*fActiveTable of active UUIDs
Int_tTProcessID::fCount!Reference count to this object (from TFile)
TStringTNamed::fNameobject identifier
TObjArray*TProcessID::fObjects!Array pointing to the referenced objects
TStringTNamed::fTitleobject title
TList*fUUIDsGlobal list of TUUIDs
static UInt_tTProcessID::fgNumberReferenced objects count
static TExMap*TProcessID::fgObjPIDsTable pointer to pids
static TProcessID*TProcessID::fgPIDPointer to current session ProcessID
static TObjArray*TProcessID::fgPIDsTable of ProcessIDs

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TProcessUUID()
 Default constructor.
~TProcessUUID()
 Destructor.
UInt_t AddUUID(TUUID& uuid, TObject* obj)
 Add uuid to the table of UUIDs
 The TObject *obj has its uniqueID set to the UUID number
 return entry number in the table
UInt_t AddUUID(const char* uuids)
 Add uuid with name uuids to the table of UUIDs
 return entry number in the table
TObjString * FindUUID(UInt_t number) const
Find the TObjString by slot number
void RemoveUUID(UInt_t number)
Remove entry number in the list of uuids
TProcessUUID(const TProcessID& )
TProcessUUID & operator=(const TProcessUUID& )
TBits * GetActive() const
{return fActive;}
TList * GetUUIDs() const
{return fUUIDs;}