Hi Anton,
The TMapFile class is not a true shared memory facility. We did not find
a way
in C++ to map two objects in a shared memory area. This is trivial in C
or
if your class does not have virtual functions. In C++, there are
problems with
the mapping of the VTBL tables between the two processes.
The TMapFile class assumes that you copy from time to time a fresh copy
of your live objects to the shared area where it can be imported in turn
by
the client process.
You use TMapFile::Update to import the registered list of objects into
the shared memory. You should not call this function everytime
you fill an histogram.
Rene Brun