ICP
1
|
#include <event_store.h>
Public Member Functions | |
FileEventSource (int run_number, int source_id) | |
virtual | ~FileEventSource () |
uint32_t | getNewEvents (isisU32_t *buffer, uint32_t maxlen, uint64_t &num_unread, bool &run_ended, DAEstatus &status) |
uint64_t | nNewEventWords (DAEstatus &status) |
void | updateDAEEventLastRead (DAEstatus &status) |
int | eventSourceID () const |
const int * | getDAE2SpecMap () |
void | setLastAddressRead (isisU32_t addr) |
isisU32_t | getLastAddressRead () |
void | readInfo (EventStore::FileEventSourceInfo &info) |
Public Member Functions inherited from FileEventSourceBase | |
virtual | ~FileEventSourceBase () |
Private Member Functions | |
std::string | loggingPrefix () const |
FileEventSource () | |
void | operator= (const FileEventSource &) |
FileEventSource (const FileEventSource &) | |
Private Attributes | |
std::string | m_file_name |
std::string | m_info_file_name |
uint64_t | m_file_words |
InfoFileData | m_info |
int | m_source_id |
SplitFile | m_file |
Additional Inherited Members | |
Protected Member Functions inherited from ISIS::Base | |
Base (const std::string &logger_name="UNKNOWN") | |
void | setLoggerName (const std::string &logger_name) |
virtual | ~Base () |
void | setThisLoggerLevel (int level) |
Static Protected Member Functions inherited from ISIS::Base | |
static void | setAllLoggerLevel (int level) |
Protected Attributes inherited from ISIS::Base | |
Poco::Logger * | m_logger |
Poco::LogStream * | m_logstr |
Poco::Mutex | m_logger_lock |
Definition at line 238 of file event_store.h.
FileEventSource::FileEventSource | ( | int | run_number, |
int | source_id | ||
) |
Definition at line 789 of file event_store.cpp.
References EventStoreCard::fileNameForDC(), EventStoreCard::getInfoFileData(), EventStoreCard::infoFileNameForDC(), SplitFile::isOpen(), m_file, m_file_name, m_info, m_info_file_name, SplitFile::open(), IFile::ReadOnly, and ISIS::Base::setLoggerName().
|
virtual |
Definition at line 802 of file event_store.cpp.
References SplitFile::close(), SplitFile::isOpen(), and m_file.
|
inlineprivate |
Definition at line 261 of file event_store.h.
|
inlineprivate |
Definition at line 263 of file event_store.h.
|
virtual |
|
virtual |
Implements DAEEventSource.
Definition at line 862 of file event_store.cpp.
|
virtual |
Implements DAEEventSource.
Definition at line 867 of file event_store.cpp.
|
virtual |
Implements DAEEventSource.
Definition at line 810 of file event_store.cpp.
References LOGSTR_ERROR, m_file, m_file_words, nNewEventWords(), and SplitFile::read().
|
inlineprivatevirtual |
Reimplemented from ISIS::Base.
Definition at line 259 of file event_store.h.
References m_source_id.
|
virtual |
Implements DAEEventSource.
Definition at line 848 of file event_store.cpp.
References InfoFileData::file_words, m_file_words, and m_info.
Referenced by getNewEvents().
|
inlineprivate |
Definition at line 262 of file event_store.h.
void FileEventSource::readInfo | ( | EventStore::FileEventSourceInfo & | info | ) |
Definition at line 876 of file event_store.cpp.
References EventStore::FileEventSourceInfo::good_events, InfoFileData::good_events, EventStore::FileEventSourceInfo::good_frames, InfoFileData::good_frames, m_info, EventStore::FileEventSourceInfo::raw_events, InfoFileData::raw_events, EventStore::FileEventSourceInfo::raw_frames, and InfoFileData::raw_frames.
Referenced by EventStore::addFileInputSource().
|
virtual |
Implements DAEEventSource.
Definition at line 872 of file event_store.cpp.
|
virtual |
Implements DAEEventSource.
Definition at line 853 of file event_store.cpp.
|
private |
Definition at line 245 of file event_store.h.
Referenced by FileEventSource(), getNewEvents(), and ~FileEventSource().
|
private |
Definition at line 240 of file event_store.h.
Referenced by FileEventSource().
|
private |
Definition at line 242 of file event_store.h.
Referenced by getNewEvents(), and nNewEventWords().
|
private |
Definition at line 243 of file event_store.h.
Referenced by FileEventSource(), nNewEventWords(), and readInfo().
|
private |
Definition at line 241 of file event_store.h.
Referenced by FileEventSource().
|
private |
Definition at line 244 of file event_store.h.
Referenced by eventSourceID(), and loggingPrefix().