VFramesBuffer


class description - source file - inheritance tree

class VFramesBuffer

    private:
virtual void PutInBuffer(FrameH* frame, VMetaData* meta) virtual void Rearrange(Int_t ibuf) public:
VFramesBuffer VFramesBuffer(const VFramesBuffer&) VFramesBuffer VFramesBuffer(VFrameChannel* vfrdb) virtual void ~VFramesBuffer() static TClass* Class() virtual FrameH* GetFrame(VMetaData* meta) virtual FrameH* GetFrameCopy(VMetaData* meta) virtual FrVect* GetVect(VMetaData* meta, char* vectname) virtual FrVect* GetVectCopy(VMetaData* meta, char* vectname) virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t mBufSize Size of the buffer FrameH** mFramesBuf Array of memory cached frames VMetaData* mMetaData Meta data of cached frames Int_t* mIsComplete If a frame is loaded by part, it is incomplete Int_t mBufCur Current position of the buffer index (newest frame) VFrameChannel* mFrameChannel Database using this buffer

Class Description

                                                                      
 VFramesBuffer                                                        
                                                                      
 Buffer of frames used as a cache when reading frames                 
                                                                      


void PutInBuffer(FrameH* frame, VMetaData* meta)
 Puts frame in the buffer, drops the oldest one.

void Rearrange(Int_t ifrinbuf)
 Rearrange the buffer so that the element ifrinbuf becomes the first.
 This element is in general the last retrieved one

FrameH* GetFrame(VMetaData* meta)
 Gets frame pointed to by metadata at position imeta.

FrVect* GetVectCopy(VMetaData* meta, char* vectname) // Get a copy of the vector in the frame pointed to by metadata at position // imeta which name is "vectname". // The string vectname indicates the type (adc, proc, sim) and // the name of the series to be extracted. The convention for the format // is "type.name". // For example "adc.IFO_DMRO" is a good format.

FrVect* GetVect(VMetaData* meta, char* vectname)
 Get vector in the frame pointed to by metadata at position imeta
 which name is "vectname".
   The string vectname indicates the type (adc, proc, sim) and
 the name of the series to be extracted. The convention for the format
 is "type.name".
   For example "adc.IFO_DMRO" is a good format.

FrameH* GetFrameCopy(VMetaData* meta)
 Gets a copy of the frame pointed to by metadata at position imeta.
 This is used when one wants to keep control over deletion of his frames



Inline Functions


        VFramesBuffer VFramesBuffer(VFrameChannel* vfrdb)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
        VFramesBuffer VFramesBuffer(const VFramesBuffer&)
                 void ~VFramesBuffer()
Last update: Tue Jul 1 17:28:47 2003


- ROOT page - VEGA 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 , or contact with any questions or problems regarding ROOT or VEGA.