Public Member Functions | |
CernNov10SorterModule (const char *name, dabc::Command *cmd) | |
bool | DoWrite () const |
bool | BuildEvent (int syncid) |
void | FlushBuffer (dabc::Buffer *buf) |
void | ProduceBufferIndex (dabc::Buffer *buf) |
virtual void | MainLoop () |
virtual void | AfterModuleStop () |
Protected Attributes | |
int | fBufferSize |
bool | fDoWrite |
bool | fDoSorting |
bool | fOnlyFull |
int | bufcnt |
int | evntcnt |
int | completecnt |
int | lastevnt |
SubMap | fMap |
mbs::WriteIterator | fOutIter |
std::string | fRunName |
int | fLastFlushId |
int | fStatistic [11] |
int | fPreviousEventId |
int | fPreviousSyncId |
Definition at line 54 of file nov10-sorter.cxx.
CernNov10SorterModule::CernNov10SorterModule | ( | const char * | name, | |
dabc::Command * | cmd | |||
) | [inline] |
Definition at line 82 of file nov10-sorter.cxx.
References bufcnt, completecnt, evntcnt, fBufferSize, fDoSorting, fDoWrite, fLastFlushId, fOnlyFull, fPreviousEventId, fPreviousSyncId, fRunName, fStatistic, and lastevnt.
virtual void CernNov10SorterModule::AfterModuleStop | ( | ) | [inline, virtual] |
Definition at line 442 of file nov10-sorter.cxx.
References bufcnt, completecnt, evntcnt, fRunName, and fStatistic.
bool CernNov10SorterModule::BuildEvent | ( | int | syncid | ) | [inline] |
Definition at line 119 of file nov10-sorter.cxx.
References fBufferSize, fMap, fOnlyFull, and fOutIter.
Referenced by FlushBuffer().
bool CernNov10SorterModule::DoWrite | ( | ) | const [inline] |
Definition at line 117 of file nov10-sorter.cxx.
References fDoWrite.
Referenced by FlushBuffer(), ProduceBufferIndex(), and RunSorter().
void CernNov10SorterModule::FlushBuffer | ( | dabc::Buffer * | buf | ) | [inline] |
Definition at line 222 of file nov10-sorter.cxx.
References BuildEvent(), DoWrite(), fLastFlushId, and fMap.
Referenced by MainLoop().
virtual void CernNov10SorterModule::MainLoop | ( | ) | [inline, virtual] |
Definition at line 401 of file nov10-sorter.cxx.
References FlushBuffer(), fOutIter, and ProduceBufferIndex().
void CernNov10SorterModule::ProduceBufferIndex | ( | dabc::Buffer * | buf | ) | [inline] |
Definition at line 267 of file nov10-sorter.cxx.
References SubRec::buf, bufcnt, completecnt, DoWrite(), SubRec::evnt, evntcnt, fMap, fPreviousEventId, fPreviousSyncId, fStatistic, and SubRec::sub.
Referenced by MainLoop().
int CernNov10SorterModule::bufcnt [protected] |
Definition at line 61 of file nov10-sorter.cxx.
Referenced by AfterModuleStop(), CernNov10SorterModule(), and ProduceBufferIndex().
int CernNov10SorterModule::completecnt [protected] |
Definition at line 63 of file nov10-sorter.cxx.
Referenced by AfterModuleStop(), CernNov10SorterModule(), and ProduceBufferIndex().
int CernNov10SorterModule::evntcnt [protected] |
Definition at line 62 of file nov10-sorter.cxx.
Referenced by AfterModuleStop(), CernNov10SorterModule(), and ProduceBufferIndex().
int CernNov10SorterModule::fBufferSize [protected] |
Definition at line 57 of file nov10-sorter.cxx.
Referenced by BuildEvent(), and CernNov10SorterModule().
bool CernNov10SorterModule::fDoSorting [protected] |
Definition at line 59 of file nov10-sorter.cxx.
Referenced by CernNov10SorterModule().
bool CernNov10SorterModule::fDoWrite [protected] |
Definition at line 58 of file nov10-sorter.cxx.
Referenced by CernNov10SorterModule(), and DoWrite().
int CernNov10SorterModule::fLastFlushId [protected] |
Definition at line 69 of file nov10-sorter.cxx.
Referenced by CernNov10SorterModule(), and FlushBuffer().
SubMap CernNov10SorterModule::fMap [protected] |
Definition at line 65 of file nov10-sorter.cxx.
Referenced by BuildEvent(), FlushBuffer(), and ProduceBufferIndex().
bool CernNov10SorterModule::fOnlyFull [protected] |
Definition at line 60 of file nov10-sorter.cxx.
Referenced by BuildEvent(), and CernNov10SorterModule().
mbs::WriteIterator CernNov10SorterModule::fOutIter [protected] |
Definition at line 66 of file nov10-sorter.cxx.
Referenced by BuildEvent(), and MainLoop().
int CernNov10SorterModule::fPreviousEventId [protected] |
Definition at line 73 of file nov10-sorter.cxx.
Referenced by CernNov10SorterModule(), and ProduceBufferIndex().
int CernNov10SorterModule::fPreviousSyncId [protected] |
Definition at line 74 of file nov10-sorter.cxx.
Referenced by CernNov10SorterModule(), and ProduceBufferIndex().
std::string CernNov10SorterModule::fRunName [protected] |
Definition at line 67 of file nov10-sorter.cxx.
Referenced by AfterModuleStop(), and CernNov10SorterModule().
int CernNov10SorterModule::fStatistic[11] [protected] |
Definition at line 71 of file nov10-sorter.cxx.
Referenced by AfterModuleStop(), CernNov10SorterModule(), and ProduceBufferIndex().
int CernNov10SorterModule::lastevnt [protected] |
Definition at line 64 of file nov10-sorter.cxx.
Referenced by CernNov10SorterModule().