GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMultiRawFile Class Reference

#include <TMultiRawFile.h>

Inheritance diagram for TMultiRawFile:
TRawEventSource

Public Member Functions

 TMultiRawFile ()
 ~TMultiRawFile ()
void AddFile (TRawEventSource *infile)
void AddFile (const char *filename)
bool IsValid () const
virtual std::string SourceDescription () const
virtual std::string Status () const
virtual int GetLastErrno () const
virtual std::string GetLastError () const
- Public Member Functions inherited from TRawEventSource
 TRawEventSource ()
virtual ~TRawEventSource ()
int Read (TRawEvent &event)
 Reads the next event.
int Read (TRawEvent *event)
bool IsFinished () const
size_t GetBytesGiven () const
double GetAverageRate () const

Private Member Functions

 TMultiRawFile (const TMultiRawFile &other)
TMultiRawFileoperator= (const TMultiRawFile &other)
virtual int GetEvent (TRawEvent &outevent)
 ClassDef (TMultiRawFile, 0)

Private Attributes

std::set< TRawEventSource * > fFileList
std::set< FileEventfFileEvents
std::mutex fFileListMutex
bool fIsFirstStatus
bool fIsValid

Additional Inherited Members

- Static Public Member Functions inherited from TRawEventSource
static TRawEventSourceEventSource (const char *filename, bool is_online=false, bool is_ring=false, kFileType file_type=DefaultFileType())
- Protected Member Functions inherited from TRawEventSource
void SetLastErrno (int error)
void SetLastError (std::string error)

Constructor & Destructor Documentation

TMultiRawFile::TMultiRawFile ( )
TMultiRawFile::~TMultiRawFile ( )
TMultiRawFile::TMultiRawFile ( const TMultiRawFile other)
inlineprivate

Member Function Documentation

void TMultiRawFile::AddFile ( TRawEventSource infile)
void TMultiRawFile::AddFile ( const char *  filename)
TMultiRawFile::ClassDef ( TMultiRawFile  ,
 
)
private
int TMultiRawFile::GetEvent ( TRawEvent outevent)
privatevirtual
int TMultiRawFile::GetLastErrno ( ) const
virtual

Reimplemented from TRawEventSource.

std::string TMultiRawFile::GetLastError ( ) const
virtual

Reimplemented from TRawEventSource.

bool TMultiRawFile::IsValid ( ) const
inline
TMultiRawFile& TMultiRawFile::operator= ( const TMultiRawFile other)
inlineprivate
std::string TMultiRawFile::SourceDescription ( ) const
virtual

Implements TRawEventSource.

std::string TMultiRawFile::Status ( ) const
virtual

Implements TRawEventSource.

Member Data Documentation

std::set<FileEvent> TMultiRawFile::fFileEvents
private
std::set<TRawEventSource*> TMultiRawFile::fFileList
private
std::mutex TMultiRawFile::fFileListMutex
mutableprivate
bool TMultiRawFile::fIsFirstStatus
mutableprivate
bool TMultiRawFile::fIsValid
private

The documentation for this class was generated from the following files: