TMapFile


class description - source file - inheritance tree

class TMapFile : public TObject


    protected:
TMapFile(const char* name, const char* title, Option_t* option, Int_t size, TMapFile*& newMapFile) TMapFile(const TMapFile& f, Long_t offset = 0) TMapFile() Int_t AcquireSemaphore() void CreateSemaphore(Int_t pid = 0) void DeleteSemaphore() TMapFile* FindShadowMapFile() Int_t GetBestBuffer() void InitDirectory() static void* MapToAddress() void operator=(const TMapFile& rhs) Int_t ReleaseSemaphore() TObject* Remove(TObject* obj, Bool_t lock) TObject* Remove(const char* name, Bool_t lock) void SumBuffer(Int_t bufsize) public:
virtual ~TMapFile() void Add(const TObject* obj, const char* name) virtual void Browse(TBrowser* b) Bool_t cd(const char* path = "0") static TClass* Class() void Close(Option_t* option) static TMapFile* Create(const char* name, Option_t* option = "READ", Int_t size = kDefaultMapSize, const char* title) TObject* Get(const char* name, TObject* retObj = 0) void* GetBaseAddr() const void* GetBreakval() const TDirectory* GetDirectory() const Int_t GetFd() const TMapRec* GetFirst() const TMapRec* GetLast() const void* GetMmallocDesc() const virtual const char* GetName() const virtual const char* GetOption() const Int_t GetSize() const virtual const char* GetTitle() const virtual TClass* IsA() const virtual Bool_t IsFolder() const Bool_t IsWritable() const virtual void ls(Option_t* option) const static void operator delete(void* vp) void* OrgAddress(void* addr) const virtual void Print(Option_t* option) const TObject* Remove(TObject* obj) TObject* Remove(const char* name) void RemoveAll() static void SetMapAddress(Long_t addr) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void Update(TObject* obj = 0) static TMapFile* WhichMapFile(void* addr)

Data Members

    private:
Int_t fFd Descriptor of mapped file Int_t fVersion ROOT version (or -1 for shadow map file) char* fName Name of mapped file char* fTitle Title of mapped file char* fOption Directory creation options void* fMmallocDesc Pointer to mmalloc descriptor ULong_t fBaseAddr Base address of mapped memory region Int_t fSize Original start size of memory mapped region TMapRec* fFirst List of streamed objects is shared memory TMapRec* fLast Last object in list of shared objects Long_t fOffset Offset in bytes for region mapped by reader TDirectory* fDirectory Pointer to directory associated to this mapfile TList* fBrowseList List of KeyMapFile objects Bool_t fWritable TRUE if mapped file opened in RDWR mode Int_t fSemaphore Modification semaphore (or getpid() for WIN32) ULong_t fhSemaphore HANDLE of WIN32 Mutex object to implement semaphore TObject* fGetting Don't deadlock in update mode, when from Get() Add() is called Int_t fWritten Number of objects written sofar Double_t fSumBuffer Sum of buffer sizes of objects written sofar Double_t fSum2Buffer Sum of squares of buffer sizes of objects written so far static Long_t fgMapAddress Map to this address, set address via SetMapAddress() static void* fgMmallocDesc Used in Close() and operator delete() public:
static const enum TMapFile:: kDefaultMapSize

Class Description



Last update: Fri May 14 13:32:40 2004


ROOT page - Class index - 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.