GEOSX
|
An abstract class for performing buffered history output. More...
#include <HistoryIO.hpp>
Public Member Functions | |
BufferedHistoryIO () | |
Constructor. | |
virtual | ~BufferedHistoryIO () |
Destructor. | |
buffer_unit_type * | getBufferHead () |
Get the head of the internal history storage buffer. More... | |
virtual void | init (bool existsOkay)=0 |
Perform and intialization needed for time-history output. More... | |
virtual void | write ()=0 |
Write the buffered history data to the output target. | |
virtual void | compressInFile ()=0 |
Ensure the repressentation of the data in the output target is dense and terse. More... | |
localIndex | getBufferedCount () |
Query the number of history states currently stored in the internal buffer. More... | |
Protected Member Functions | |
virtual void | resizeBuffer ()=0 |
Resize the buffer to accomodate additional history collection. | |
void | emptyBuffer () |
Empty the history collection buffer. | |
Protected Attributes | |
localIndex | m_bufferedCount |
The current number of records in the buffer. | |
buffer_unit_type * | m_bufferHead |
The write head of the buffer. | |
buffer_type | m_dataBuffer |
The data buffer containing the history info. | |
An abstract class for performing buffered history output.
Definition at line 32 of file HistoryIO.hpp.
|
pure virtual |
Ensure the repressentation of the data in the output target is dense and terse.
Implemented in geosx::HDFSerialHistIO, and geosx::HDFHistIO.
|
inline |
Query the number of history states currently stored in the internal buffer.
Definition at line 82 of file HistoryIO.hpp.
|
inline |
Get the head of the internal history storage buffer.
Definition at line 52 of file HistoryIO.hpp.
|
pure virtual |
Perform and intialization needed for time-history output.
existsOkay | Whether it is acceptable for the intended output target to already exist ( false on start from scratch, true on restart ). data). |
Implemented in geosx::HDFSerialHistIO, and geosx::HDFHistIO.