LIRC libraries
LinuxInfraredRemoteControl
LineBuffer Class Reference

After appending, data can be retrieved as lines. More...

#include <line_buffer.h>

Public Member Functions

void append (const char *line, size_t size)
 Insert data in buffer.
 
bool has_lines ()
 Check if get_next_line() returns a non-empty string.
 
const char * c_str ()
 Peek the complete buffer contents.
 
std::string get_next_line ()
 Return and remove first line in buffer, possibly "".
 

Detailed Description

After appending, data can be retrieved as lines.

Definition at line 23 of file line_buffer.h.


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