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. More... | |
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.