PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
A single EOF buffer signals the end of a run (pacman .ldf format). A double EOF signals the end of the .ldf file. More...
#include <hribf_buffers.h>
Public Member Functions | |
EOF_buffer () | |
virtual bool | Write (std::ofstream *file_) |
0x20464F45 "EOF " More... | |
virtual bool | Read (std::ifstream *file_) |
Read an EOF buffer from a file. Return false if buffer has the wrong header and return true otherwise. More... | |
virtual void | Reset () |
Set initial values. More... | |
![]() | |
unsigned int | GetBufferType () |
unsigned int | GetBufferSize () |
unsigned int | GetBufferEndFlag () |
bool | DebugMode () |
void | SetDebugMode (bool debug_=true) |
bool | ReadHeader (std::ifstream *file_) |
Return true if the first word of the current buffer is equal to this buffer type. More... | |
Additional Inherited Members | |
![]() | |
BufferType (unsigned int bufftype_, unsigned int buffsize_, unsigned int buffend_=0xFFFFFFFF) | |
Generic BufferType constructor. More... | |
![]() | |
unsigned int | bufftype |
unsigned int | buffsize |
unsigned int | buffend |
unsigned int | zero |
bool | debug_mode |
A single EOF buffer signals the end of a run (pacman .ldf format). A double EOF signals the end of the .ldf file.
Definition at line 302 of file hribf_buffers.h.
EOF_buffer::EOF_buffer | ( | ) |
Definition at line 899 of file hribf_buffers.cpp.
|
virtual |
Read an EOF buffer from a file. Return false if buffer has the wrong header and return true otherwise.
Read an end-of-file buffer.
Reimplemented from BufferType.
Definition at line 920 of file hribf_buffers.cpp.
|
inlinevirtual |
|
virtual |
0x20464F45 "EOF "
Write an end-of-file buffer (1 word buffer type, 1 word buffer size, and 8192 end of file words).
EOF buffer (1 word buffer type, 1 word buffer size, and 8192 end of buffer words)
Reimplemented from BufferType.
Definition at line 902 of file hribf_buffers.cpp.