12 #ifndef ROOT_TGLSelectBuffer
13 #define ROOT_TGLSelectBuffer
17 class TGLSelectRecordBase;
33 typedef std::pair<UInt_t, UInt_t*> RawRecord_t;
34 typedef std::vector<RawRecord_t> vRawRecord_t;
36 vRawRecord_t fSortedRecords;
38 static Int_t fgMaxBufSize;
42 virtual ~TGLSelectBuffer();
44 Int_t GetBufSize()
const {
return fBufSize; }
45 UInt_t* GetBuf()
const {
return fBuf; }
46 Int_t GetNRecords()
const {
return fNRecords; }
51 void ProcessResult(Int_t glResult);
53 UInt_t* RawRecord(Int_t i) {
return fSortedRecords[i].second; }
55 Int_t SelectRecord(TGLSelectRecordBase& rec, Int_t i);
57 ClassDef(TGLSelectBuffer, 0)