mirror of
https://github.com/gwm17/DaqGrimoire.git
synced 2024-11-26 12:18:52 -05:00
Continue to extend file api
This commit is contained in:
parent
63058b51da
commit
7ab9d41007
|
@ -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; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user