#include <input_from_buffer.h>
Public Member Functions | |
size_t | GetRemainSize () const |
InputFromBuffer (const char *buf, std::size_t bufSize) | |
virtual std::size_t | Receive (char *data, std::size_t size) override |
Receive data. | |
virtual void | Stop () |
Private Attributes | |
const char * | Buffer |
std::size_t | Size |
Definition at line 27 of file input_from_buffer.h.
InputFromBuffer::InputFromBuffer | ( | const char * | buf, |
std::size_t | bufSize | ||
) |
Definition at line 29 of file input_from_buffer.cpp.
size_t InputFromBuffer::GetRemainSize | ( | ) | const |
Definition at line 51 of file input_from_buffer.cpp.
std::size_t InputFromBuffer::Receive | ( | char * | data, |
std::size_t | size | ||
) | [override, virtual] |
Receive data.
data | data for send |
size | size of data |
Implements OpcUa::InputChannel.
Definition at line 37 of file input_from_buffer.cpp.
virtual void OpcUa::InputFromBuffer::Stop | ( | ) | [inline, virtual] |
Implements OpcUa::BreakableChannel.
Definition at line 36 of file input_from_buffer.h.
const char* OpcUa::InputFromBuffer::Buffer [private] |
Definition at line 39 of file input_from_buffer.h.
std::size_t OpcUa::InputFromBuffer::Size [private] |
Definition at line 40 of file input_from_buffer.h.