|
OpenCPN Partial API docs
|
Assembles input characters to lines. More...
#include <comm_buffers.h>
Public Member Functions | |
| void | Put (uint8_t ch) |
| Add a single character. | |
| bool | HasLine () const |
| Return true if a line is available to be returned by GetLine(). | |
| std::vector< uint8_t > | GetLine () |
| Retrieve a line from buffer, return empty line if none available. | |
| void | pushLine (float x0, float y0, float x1, float y1) |
| void | pushPetiteBarbule (int b, int l) |
| void | pushGrandeBarbule (int b, int l) |
| void | pushTriangle (int b, int l) |
| void | Finalize () |
Public Attributes | |
| int | count |
| float * | lines |
Assembles input characters to lines.
Definition at line 57 of file comm_buffers.h.
|
inline |
Definition at line 68 of file comm_buffers.h.
|
inline |
Definition at line 146 of file GribOverlayFactory.h.
|
inline |
Definition at line 150 of file GribOverlayFactory.h.
| void LineBuffer::Finalize | ( | ) |
Definition at line 178 of file GribOverlayFactory.cpp.
| std::vector< uint8_t > LineBuffer::GetLine | ( | ) |
Retrieve a line from buffer, return empty line if none available.
Definition at line 61 of file comm_buffers.cpp.
| bool LineBuffer::HasLine | ( | ) | const |
Return true if a line is available to be returned by GetLine().
Definition at line 59 of file comm_buffers.cpp.
| void LineBuffer::pushGrandeBarbule | ( | int | b, |
| int | l ) |
Definition at line 167 of file GribOverlayFactory.cpp.
| void LineBuffer::pushLine | ( | float | x0, |
| float | y0, | ||
| float | x1, | ||
| float | y1 ) |
Definition at line 155 of file GribOverlayFactory.cpp.
| void LineBuffer::pushPetiteBarbule | ( | int | b, |
| int | l ) |
Definition at line 162 of file GribOverlayFactory.cpp.
| void LineBuffer::pushTriangle | ( | int | b, |
| int | l ) |
Definition at line 172 of file GribOverlayFactory.cpp.
| void LineBuffer::Put | ( | uint8_t | ch | ) |
Add a single character.
Definition at line 44 of file comm_buffers.cpp.
| int LineBuffer::count |
Definition at line 158 of file GribOverlayFactory.h.
| float* LineBuffer::lines |
Definition at line 159 of file GribOverlayFactory.h.