Public Member Functions | Private Member Functions | Private Attributes | List of all members
LMSBuffer Class Reference

#include <lms_buffer.h>

Public Member Functions

char * getNextBuffer ()
 
 LMSBuffer ()
 
void popLastBuffer ()
 
void readFrom (int fd)
 

Private Member Functions

void shiftBuffer (char *new_start)
 

Private Attributes

char buffer_ [LMS_BUFFER_SIZE]
 
char * end_of_first_message_
 
uint16_t total_length_
 

Detailed Description

Definition at line 35 of file lms_buffer.h.

Constructor & Destructor Documentation

LMSBuffer::LMSBuffer ( )
inline

Definition at line 38 of file lms_buffer.h.

Member Function Documentation

char* LMSBuffer::getNextBuffer ( )
inline

Definition at line 58 of file lms_buffer.h.

void LMSBuffer::popLastBuffer ( )
inline

Definition at line 99 of file lms_buffer.h.

void LMSBuffer::readFrom ( int  fd)
inline

Definition at line 42 of file lms_buffer.h.

void LMSBuffer::shiftBuffer ( char *  new_start)
inlineprivate

Definition at line 109 of file lms_buffer.h.

Member Data Documentation

char LMSBuffer::buffer_[LMS_BUFFER_SIZE]
private

Definition at line 121 of file lms_buffer.h.

char* LMSBuffer::end_of_first_message_
private

Definition at line 124 of file lms_buffer.h.

uint16_t LMSBuffer::total_length_
private

Definition at line 122 of file lms_buffer.h.


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


lms1xx
Author(s): Konrad Banachowicz
autogenerated on Wed Jan 22 2020 03:36:59