|
MASA-Core
|
Definition at line 27 of file NullBuffer.hpp.
#include <NullBuffer.hpp>
Public Member Functions | |
| NullBuffer (int size=0) | |
| virtual | ~NullBuffer () |
| 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 | |
| int | size |
| NullBuffer::NullBuffer | ( | int | size = 0 | ) |
Definition at line 27 of file NullBuffer.cpp.
| NullBuffer::~NullBuffer | ( | ) | [virtual] |
Definition at line 36 of file NullBuffer.cpp.
| void NullBuffer::autoFlushThread | ( | ) | [virtual] |
Implements Buffer.
Definition at line 47 of file NullBuffer.cpp.
| void NullBuffer::autoLoadThread | ( | ) | [virtual] |
Implements Buffer.
Definition at line 59 of file NullBuffer.cpp.
| void NullBuffer::destroyAutoFlush | ( | ) | [virtual] |
This method is called prior to the auto-load thread destruction.
See the Buffer::destroyAutoLoad() method description.
Implements Buffer.
Definition at line 78 of file NullBuffer.cpp.
| void NullBuffer::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 81 of file NullBuffer.cpp.
| void NullBuffer::initAutoFlush | ( | ) | [virtual] |
Implements Buffer.
Definition at line 41 of file NullBuffer.cpp.
| void NullBuffer::initAutoLoad | ( | ) | [virtual] |
Implements Buffer.
Definition at line 44 of file NullBuffer.cpp.
int NullBuffer::size [private] |
Definition at line 42 of file NullBuffer.hpp.
1.7.6.1