Public Member Functions | Private Attributes
OpcUa::InputFromBuffer Class Reference

#include <input_from_buffer.h>

Inheritance diagram for OpcUa::InputFromBuffer:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 27 of file input_from_buffer.h.


Constructor & Destructor Documentation

InputFromBuffer::InputFromBuffer ( const char *  buf,
std::size_t  bufSize 
)

Definition at line 29 of file input_from_buffer.cpp.


Member Function Documentation

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.

Parameters:
datadata for send
sizesize of data
Returns:
size of received 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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:24:59