OpenCPN Partial API docs
Loading...
Searching...
No Matches
DashboardInstrument_GPS Class Reference
Inheritance diagram for DashboardInstrument_GPS:
DashboardInstrument

Public Member Functions

 DashboardInstrument_GPS (wxWindow *parent, wxWindowID id, wxString title, InstrumentProperties *Properties)
 
wxSize GetSize (int orient, wxSize hint)
 
void SetData (DASH_CAP, double, wxString)
 
void SetSatInfo (int cnt, int seq, wxString talk, SAT_INFO sats[4])
 
- Public Member Functions inherited from DashboardInstrument
 DashboardInstrument (wxWindow *pparent, wxWindowID id, wxString title, DASH_CAP cap_flag, InstrumentProperties *Properties=NULL)
 
CapType GetCapacity ()
 
void OnEraseBackground (wxEraseEvent &WXUNUSED(evt))
 
void OnPaint (wxPaintEvent &WXUNUSED(event))
 
void SetDrawSoloInPane (bool value)
 
void MouseEvent (wxMouseEvent &event)
 
void OnLeftUp (wxMouseEvent &event)
 
void SetCapFlag (DASH_CAP val)
 
bool HasCapFlag (DASH_CAP val)
 

Protected Member Functions

void Draw (wxGCDC *dc)
 
void DrawFrame (wxGCDC *dc)
 
void DrawBackground (wxGCDC *dc)
 
void DrawForeground (wxGCDC *dc)
 
- Protected Member Functions inherited from DashboardInstrument
virtual void InitDataTextHeight (const wxString &sampleText, int &sampleWidth)
 
virtual void InitTitleSize ()
 
virtual void InitTitleAndDataPosition (int drawHeight)
 
virtual int GetFullHeight (int drawHeight)
 
virtual int GetDataBottom (int clientHeight)
 
virtual void SetDataFont (wxGCDC *dc)
 

Protected Attributes

int m_cx
 
int m_cy
 
int m_radius
 
int m_refDim
 
int m_scaleDelta
 
int m_scaleBase
 
int m_SatCount
 
int m_MaxSatCount
 
wxString talkerID
 
SAT_INFO m_SatInfo [12]
 
bool b_shift
 
wxDateTime m_lastShift
 
wxDateTime m_Gtime [GNSS_SYSTEM]
 
int m_iMaster
 
wxString s_gTalker
 
- Protected Attributes inherited from DashboardInstrument
CapType m_cap_flag
 
int m_InstrumentSpacing
 
int m_DataTextHeight
 
int m_DataMargin
 
int m_TitleWidth
 
int m_TitleHeight
 
int m_DataTop
 
int m_TitleTop
 
bool m_DataRightAlign
 
bool m_TitleRightAlign
 
wxString m_title
 

Additional Inherited Members

- Public Attributes inherited from DashboardInstrument
int instrumentTypeId
 
InstrumentPropertiesm_Properties
 

Detailed Description

Definition at line 49 of file gps.h.

Constructor & Destructor Documentation

◆ DashboardInstrument_GPS()

DashboardInstrument_GPS::DashboardInstrument_GPS ( wxWindow *  parent,
wxWindowID  id,
wxString  title,
InstrumentProperties Properties 
)

Definition at line 43 of file gps.cpp.

◆ ~DashboardInstrument_GPS()

DashboardInstrument_GPS::~DashboardInstrument_GPS ( void  )
inline

Definition at line 54 of file gps.h.

Member Function Documentation

◆ Draw()

void DashboardInstrument_GPS::Draw ( wxGCDC *  dc)
protectedvirtual

Implements DashboardInstrument.

Definition at line 210 of file gps.cpp.

◆ DrawBackground()

void DashboardInstrument_GPS::DrawBackground ( wxGCDC *  dc)
protected

Definition at line 313 of file gps.cpp.

◆ DrawForeground()

void DashboardInstrument_GPS::DrawForeground ( wxGCDC *  dc)
protected

Definition at line 365 of file gps.cpp.

◆ DrawFrame()

void DashboardInstrument_GPS::DrawFrame ( wxGCDC *  dc)
protected

Definition at line 216 of file gps.cpp.

◆ GetSize()

wxSize DashboardInstrument_GPS::GetSize ( int  orient,
wxSize  hint 
)
virtual

Implements DashboardInstrument.

Definition at line 76 of file gps.cpp.

◆ SetData()

void DashboardInstrument_GPS::SetData ( DASH_CAP  ,
double  ,
wxString   
)
inlinevirtual

Implements DashboardInstrument.

Definition at line 57 of file gps.h.

◆ SetSatInfo()

void DashboardInstrument_GPS::SetSatInfo ( int  cnt,
int  seq,
wxString  talk,
SAT_INFO  sats[4] 
)

Definition at line 96 of file gps.cpp.

Member Data Documentation

◆ b_shift

bool DashboardInstrument_GPS::b_shift
protected

Definition at line 68 of file gps.h.

◆ m_cx

int DashboardInstrument_GPS::m_cx
protected

Definition at line 63 of file gps.h.

◆ m_cy

int DashboardInstrument_GPS::m_cy
protected

Definition at line 63 of file gps.h.

◆ m_Gtime

wxDateTime DashboardInstrument_GPS::m_Gtime[GNSS_SYSTEM]
protected

Definition at line 70 of file gps.h.

◆ m_iMaster

int DashboardInstrument_GPS::m_iMaster
protected

Definition at line 71 of file gps.h.

◆ m_lastShift

wxDateTime DashboardInstrument_GPS::m_lastShift
protected

Definition at line 69 of file gps.h.

◆ m_MaxSatCount

int DashboardInstrument_GPS::m_MaxSatCount
protected

Definition at line 65 of file gps.h.

◆ m_radius

int DashboardInstrument_GPS::m_radius
protected

Definition at line 63 of file gps.h.

◆ m_refDim

int DashboardInstrument_GPS::m_refDim
protected

Definition at line 63 of file gps.h.

◆ m_SatCount

int DashboardInstrument_GPS::m_SatCount
protected

Definition at line 64 of file gps.h.

◆ m_SatInfo

SAT_INFO DashboardInstrument_GPS::m_SatInfo[12]
protected

Definition at line 67 of file gps.h.

◆ m_scaleBase

int DashboardInstrument_GPS::m_scaleBase
protected

Definition at line 63 of file gps.h.

◆ m_scaleDelta

int DashboardInstrument_GPS::m_scaleDelta
protected

Definition at line 63 of file gps.h.

◆ s_gTalker

wxString DashboardInstrument_GPS::s_gTalker
protected

Definition at line 72 of file gps.h.

◆ talkerID

wxString DashboardInstrument_GPS::talkerID
protected

Definition at line 66 of file gps.h.


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