|
MASA-Core
|
Definition at line 30 of file FileBuffer.hpp.
#include <FileBuffer.hpp>
Public Member Functions | |
| FileBuffer (string filename) | |
| virtual | ~FileBuffer () |
| virtual void | initAutoFlush () |
| virtual void | initAutoLoad () |
| virtual void | autoFlushThread () |
| virtual void | autoLoadThread () |
| virtual void | destroyAutoFlush () |
| This method is called prior to the auto-load thread destruction. | |
| virtual void | destroyAutoLoad () |
| This method is called prior to the auto-load thread destruction. | |
Private Attributes | |
| string | filename |
| FILE * | file |
| FileBuffer::FileBuffer | ( | string | filename | ) |
Definition at line 27 of file FileBuffer.cpp.
| FileBuffer::~FileBuffer | ( | ) | [virtual] |
Definition at line 31 of file FileBuffer.cpp.
| void FileBuffer::autoFlushThread | ( | ) | [virtual] |
Implements Buffer.
Definition at line 41 of file FileBuffer.cpp.
| void FileBuffer::autoLoadThread | ( | ) | [virtual] |
Implements Buffer.
Definition at line 53 of file FileBuffer.cpp.
| void FileBuffer::destroyAutoFlush | ( | ) | [virtual] |
This method is called prior to the auto-load thread destruction.
See the Buffer::destroyAutoLoad() method description.
Implements Buffer.
Definition at line 82 of file FileBuffer.cpp.
| void FileBuffer::destroyAutoLoad | ( | ) | [virtual] |
This method is called prior to the auto-load thread destruction.
For example, if the auto-load thread is waiting for a socket input, then the destroyAutoLoad must destroy the socket in order to wake the thread execution. Note that during and after this method is called, the Buffer::isDestroyed() method will always return true.
Implements Buffer.
Definition at line 85 of file FileBuffer.cpp.
| void FileBuffer::initAutoFlush | ( | ) | [virtual] |
Implements Buffer.
Definition at line 74 of file FileBuffer.cpp.
| void FileBuffer::initAutoLoad | ( | ) | [virtual] |
Implements Buffer.
Definition at line 66 of file FileBuffer.cpp.
FILE* FileBuffer::file [private] |
Definition at line 48 of file FileBuffer.hpp.
string FileBuffer::filename [private] |
Definition at line 47 of file FileBuffer.hpp.
1.7.6.1