casacore
|
Helper class for MultiFileInfo holding a data buffer. More...
#include <MultiFileBase.h>
Public Member Functions | |
MultiFileBuffer (size_t bufSize, Bool useODirect) | |
~MultiFileBuffer () | |
Public Attributes | |
char * | data |
Data member. More... | |
Private Member Functions | |
MultiFileBuffer (const MultiFileBuffer &) | |
MultiFileBuffer & | operator= (const MultiFileBuffer &) |
Helper class for MultiFileInfo holding a data buffer.
The buffer can be allocated with posix_memalign (for O_DIRECT support). Hence the memory must be freed using free, which makes it impossible to use a shared_ptr to that memory. Hence it is encapsulated in this class.
Definition at line 56 of file MultiFileBase.h.
casacore::MultiFileBuffer::MultiFileBuffer | ( | size_t | bufSize, |
Bool | useODirect | ||
) |
|
inline |
Definition at line 58 of file MultiFileBase.h.
|
private |
|
private |
char* casacore::MultiFileBuffer::data |