1
0
Fork 0
mirror of https://github.com/gwm17/DaqGrimoire.git synced 2024-11-26 20:28:51 -05:00

Continue to extend file api

This commit is contained in:
Gordon McCann 2022-09-29 21:04:30 -04:00
parent 63058b51da
commit 7ab9d41007

View File

@ -85,10 +85,14 @@ namespace DaqGrimoire {
const DYListEvent& GetCurrentEvent() const const DYListEvent& GetCurrentEvent() const
{ {
m_isHitUsed = true;
return m_dataEvent; return m_dataEvent;
} }
void SetHitUsed()
{
m_isHitUsed = true;
}
const bool IsOpen() const { return m_fileHandle == nullptr ? false : m_fileHandle->is_open(); } const bool IsOpen() const { return m_fileHandle == nullptr ? false : m_fileHandle->is_open(); }
const bool IsEOF() const { return m_isEOF; } const bool IsEOF() const { return m_isEOF; }