#ifndef HDATASOURCE_H
#define HDATASOURCE_H
#include "TObject.h"
class HEvent;
enum EDsState {kDsOk=0,kDsEndFile=1,kDsEndData=2,kDsError=3,kDsSkip=4};
class HDataSource : public TObject {
protected:
HEvent **fEventAddr;
public:
void setEventAddress(HEvent **ev);
virtual EDsState skipEvents(Int_t nEv);
virtual EDsState getNextEvent(Bool_t doUnpack=kTRUE)=0;
virtual void setCursorToPreviousEvent(){};
virtual Bool_t init(void)=0;
virtual Bool_t reinit(void)=0;
virtual Bool_t finalize(void)=0;
virtual Bool_t rewind(void)=0;
virtual Int_t getCurrentRunId(void)=0;
virtual Int_t getCurrentRefId(void)=0;
virtual Text_t const *getCurrentFileName(void)=0;
ClassDef(HDataSource,1)
};
#endif /* !HDATASOURCE_H */
Last change: Sat May 22 12:54:20 2010
Last generated: 2010-05-22 12:54
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.