OpenCPN Partial API docs
|
This class provides access to the NMEA log/debug window. More...
#include <NMEALogWindow.h>
Public Member Functions | |
NMEALogWindow (const NMEALogWindow &)=delete | |
NMEALogWindow & | operator= (const NMEALogWindow &)=delete |
bool | Active () const |
Return true if log is visible i. | |
void | Create (wxWindow *parent, int num_lines=35) |
void | Add (const wxString &s) |
Add an formatted string to log output. | |
void | Refresh (bool do_refresh=false) |
int | GetSizeW () |
int | GetSizeH () |
int | GetPosX () |
int | GetPosY () |
void | SetSize (int w, int h) |
void | SetSize (const wxSize &size) |
void | SetPos (int x, int y) |
void | SetPos (const wxPoint &pos) |
void | CheckPos (int display_width, int display_height) |
void | Move () |
virtual void | DestroyWindow () |
wxWindow * | GetTTYWindow (void) |
Static Public Member Functions | |
static NMEALogWindow & | GetInstance () |
static void | Shutdown () |
This class provides access to the NMEA log/debug window.
This provides everything needed to use the single NMEA log window.
Singleton.
Reading geometry information from the window will cache them inside this class. This is used to store them permanently in the configuration file.
Definition at line 48 of file NMEALogWindow.h.
|
virtual |
Return true if log is visible i.
e., if it's any point using Add().
Implements NmeaLog.
Definition at line 54 of file NMEALogWindow.cpp.
|
virtual |
Add an formatted string to log output.
Implements NmeaLog.
Definition at line 70 of file NMEALogWindow.cpp.
void NMEALogWindow::CheckPos | ( | int | display_width, |
int | display_height | ||
) |
Definition at line 128 of file NMEALogWindow.cpp.
void NMEALogWindow::Create | ( | wxWindow * | parent, |
int | num_lines = 35 |
||
) |
Definition at line 56 of file NMEALogWindow.cpp.
|
virtual |
Implements WindowDestroyListener.
Definition at line 133 of file NMEALogWindow.cpp.
|
static |
Definition at line 37 of file NMEALogWindow.cpp.
int NMEALogWindow::GetPosX | ( | ) |
Definition at line 102 of file NMEALogWindow.cpp.
int NMEALogWindow::GetPosY | ( | ) |
Definition at line 107 of file NMEALogWindow.cpp.
int NMEALogWindow::GetSizeH | ( | ) |
Definition at line 97 of file NMEALogWindow.cpp.
int NMEALogWindow::GetSizeW | ( | ) |
Definition at line 92 of file NMEALogWindow.cpp.
|
inline |
Definition at line 69 of file NMEALogWindow.h.
void NMEALogWindow::Move | ( | ) |
Definition at line 141 of file NMEALogWindow.cpp.
void NMEALogWindow::Refresh | ( | bool | do_refresh = false | ) |
Definition at line 74 of file NMEALogWindow.cpp.
void NMEALogWindow::SetPos | ( | const wxPoint & | pos | ) |
Definition at line 87 of file NMEALogWindow.cpp.
void NMEALogWindow::SetPos | ( | int | x, |
int | y | ||
) |
Definition at line 123 of file NMEALogWindow.cpp.
void NMEALogWindow::SetSize | ( | const wxSize & | size | ) |
Definition at line 78 of file NMEALogWindow.cpp.
void NMEALogWindow::SetSize | ( | int | w, |
int | h | ||
) |
Definition at line 112 of file NMEALogWindow.cpp.
|
static |
Definition at line 47 of file NMEALogWindow.cpp.