#ifndef ROOT_TGLSelectBuffer
#define ROOT_TGLSelectBuffer
#include <Rtypes.h>
class TGLSelectRecordBase;
#include <vector>
class TGLSelectBuffer
{
protected:
Int_t fBufSize;
UInt_t* fBuf;
Int_t fNRecords;
typedef std::pair<UInt_t, UInt_t*> RawRecord_t;
typedef std::vector<RawRecord_t> vRawRecord_t;
vRawRecord_t fSortedRecords;
static Int_t fgMaxBufSize;
public:
TGLSelectBuffer();
virtual ~TGLSelectBuffer();
Int_t GetBufSize() const { return fBufSize; }
UInt_t* GetBuf() const { return fBuf; }
Int_t GetNRecords() const { return fNRecords; }
Bool_t CanGrow();
void Grow();
void ProcessResult(Int_t glResult);
UInt_t* RawRecord(Int_t i) { return fSortedRecords[i].second; }
void SelectRecord(TGLSelectRecordBase& rec, Int_t i);
ClassDef(TGLSelectBuffer, 0)
};
#endif
Last change: Wed Jun 25 08:41:22 2008
Last generated: 2008-06-25 08:41
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.