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

This class provides access to the NMEA log/debug window. More...

#include <NMEALogWindow.h>

Inheritance diagram for NMEALogWindow:
WindowDestroyListener

Public Member Functions

bool Active () const
 
void Create (wxWindow *parent, int num_lines=35)
 
void Add (const wxString &s)
 
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)
 
virtual void DestroyWindow ()=0
 

Static Public Member Functions

static NMEALogWindowGet ()
 
static void Shutdown ()
 

Detailed Description

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 47 of file NMEALogWindow.h.

Member Function Documentation

◆ Active()

bool NMEALogWindow::Active ( ) const

Definition at line 54 of file NMEALogWindow.cpp.

◆ Add()

void NMEALogWindow::Add ( const wxString &  s)

Definition at line 70 of file NMEALogWindow.cpp.

◆ CheckPos()

void NMEALogWindow::CheckPos ( int  display_width,
int  display_height 
)

Definition at line 128 of file NMEALogWindow.cpp.

◆ Create()

void NMEALogWindow::Create ( wxWindow *  parent,
int  num_lines = 35 
)

Definition at line 56 of file NMEALogWindow.cpp.

◆ DestroyWindow()

void NMEALogWindow::DestroyWindow ( )
virtual

Implements WindowDestroyListener.

Definition at line 133 of file NMEALogWindow.cpp.

◆ Get()

NMEALogWindow & NMEALogWindow::Get ( )
static

Definition at line 37 of file NMEALogWindow.cpp.

◆ GetPosX()

int NMEALogWindow::GetPosX ( )

Definition at line 102 of file NMEALogWindow.cpp.

◆ GetPosY()

int NMEALogWindow::GetPosY ( )

Definition at line 107 of file NMEALogWindow.cpp.

◆ GetSizeH()

int NMEALogWindow::GetSizeH ( )

Definition at line 97 of file NMEALogWindow.cpp.

◆ GetSizeW()

int NMEALogWindow::GetSizeW ( )

Definition at line 92 of file NMEALogWindow.cpp.

◆ GetTTYWindow()

wxWindow * NMEALogWindow::GetTTYWindow ( void  )
inline

Definition at line 66 of file NMEALogWindow.h.

◆ Move()

void NMEALogWindow::Move ( )

Definition at line 141 of file NMEALogWindow.cpp.

◆ Refresh()

void NMEALogWindow::Refresh ( bool  do_refresh = false)

Definition at line 74 of file NMEALogWindow.cpp.

◆ SetPos() [1/2]

void NMEALogWindow::SetPos ( const wxPoint &  pos)

Definition at line 87 of file NMEALogWindow.cpp.

◆ SetPos() [2/2]

void NMEALogWindow::SetPos ( int  x,
int  y 
)

Definition at line 123 of file NMEALogWindow.cpp.

◆ SetSize() [1/2]

void NMEALogWindow::SetSize ( const wxSize &  size)

Definition at line 78 of file NMEALogWindow.cpp.

◆ SetSize() [2/2]

void NMEALogWindow::SetSize ( int  w,
int  h 
)

Definition at line 112 of file NMEALogWindow.cpp.

◆ Shutdown()

void NMEALogWindow::Shutdown ( )
static

Definition at line 47 of file NMEALogWindow.cpp.


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