TMapRec
class description - source file - inheritance tree
public:
TMapRec TMapRec(const char* name, const TObject* obj, Int_t size, void* buf)
TMapRec TMapRec(const TMapRec&)
void ~TMapRec()
void* GetBuffer(Long_t offset = 0) const
Int_t GetBufSize() const
const char* GetClassName(Long_t offset = 0) const
const char* GetName(Long_t offset = 0) const
TMapRec* GetNext(Long_t offset = 0) const
TObject* GetObject() const
private:
char* fName object name
char* fClassName class name
TObject* fObject pointer to original object
void* fBuffer buffer containing object of class name
Int_t fBufSize buffer size
TMapRec* fNext next MapRec in list
TMapFile
This class implements a shared memory region mapped to a file.
Objects can be placed into this shared memory area using the Add()
member function. Whenever the mapped object(s) change(s) call
Update() to put a fresh copy in the shared memory. This extra
step is necessary since it is not possible to share objects with
virtual pointers between processes (the vtbl ptr points to the
originators unique address space and can not be used by the
consumer process(es)). Consumer processes can map the memory region
from this file and access the objects stored in it via the Get()
method (which returns a copy of the object stored in the shared
memory with correct vtbl ptr set). Only objects of classes with a
Streamer() member function defined can be shared.
Inline Functions
TMapRec TMapRec(const char* name, const TObject* obj, Int_t size, void* buf)
const char* GetName(Long_t offset = 0) const
const char* GetClassName(Long_t offset = 0) const
void* GetBuffer(Long_t offset = 0) const
Int_t GetBufSize() const
TObject* GetObject() const
TMapRec* GetNext(Long_t offset = 0) const
TMapRec TMapRec(const TMapRec&)
void ~TMapRec()
Author: Fons Rademakers 08/07/97
Last update: root/base:$Name: $:$Id: TMapFile.h,v 1.4 2001/04/11 11:10:44 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
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.