OpenCPN Partial API docs
Loading...
Searching...
No Matches
OutputBuffer Class Reference

Synchronized buffer for outbound, line oriented data. More...

#include <comm_buffers.h>

Public Member Functions

void Put (const std::string line)
 Insert line in buffer.
 
bool Get (std::string &line)
 Retrieve a line in buffer.
 

Detailed Description

Synchronized buffer for outbound, line oriented data.

Definition at line 40 of file comm_buffers.h.

Member Function Documentation

◆ Get()

bool OutputBuffer::Get ( std::string &  line)

Retrieve a line in buffer.

Returns
true if data was available and fetched into line, else false.

Definition at line 34 of file comm_buffers.cpp.

◆ Put()

void OutputBuffer::Put ( const std::string  line)

Insert line in buffer.

Definition at line 29 of file comm_buffers.cpp.


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