#include <IOIFCStreamBuffer.hpp>
Inheritance diagram for BLOCXX_NAMESPACE::IOIFCStreamBuffer:
Public Member Functions | |
IOIFCStreamBuffer (IOIFC *dev, int bufSize=BASE_BUF_SIZE, const char *direction="io") | |
virtual | ~IOIFCStreamBuffer () |
virtual void | reset () |
Private Member Functions | |
IOIFCStreamBuffer (const IOIFCStreamBuffer &arg) | |
IOIFCStreamBuffer & | operator= (const IOIFCStreamBuffer &arg) |
virtual int | buffer_to_device (const char *c, int n) |
Writes the buffer to the "device". | |
virtual int | buffer_from_device (char *c, int n) |
Fill the buffer from the "device". | |
Private Attributes | |
IOIFC * | m_dev |
Definition at line 47 of file IOIFCStreamBuffer.hpp.
|
Definition at line 45 of file IOIFCStreamBuffer.cpp. |
|
Definition at line 52 of file IOIFCStreamBuffer.cpp. References BLOCXX_NAMESPACE::BaseStreamBuffer::sync(). |
|
|
|
Fill the buffer from the "device".
Reimplemented from BLOCXX_NAMESPACE::BaseStreamBuffer. Definition at line 58 of file IOIFCStreamBuffer.cpp. References m_dev, and BLOCXX_NAMESPACE::IOIFC::read(). |
|
Writes the buffer to the "device".
Reimplemented from BLOCXX_NAMESPACE::BaseStreamBuffer. Definition at line 64 of file IOIFCStreamBuffer.cpp. References m_dev, and BLOCXX_NAMESPACE::IOIFC::write(). |
|
|
|
Definition at line 81 of file IOIFCStreamBuffer.cpp. References BLOCXX_NAMESPACE::BaseStreamBuffer::initBuffers(). Referenced by BLOCXX_NAMESPACE::SocketBaseImpl::connect(). |
|
Definition at line 60 of file IOIFCStreamBuffer.hpp. Referenced by buffer_from_device(), and buffer_to_device(). |