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

Dialog for displaying AIS target alerts. More...

#include <AISTargetAlertDialog.h>

Inheritance diagram for AISTargetAlertDialog:
OCPN_AlertDialog

Public Member Functions

bool Create (int target_mmsi, wxWindow *parent, AisDecoder *pdecoder, bool b_jumpto, bool b_createWP, bool b_ack, wxWindowID id=wxID_ANY, const wxString &caption=_("OpenCPN AIS Alert"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU)
 
void Init ()
 
int Get_Dialog_MMSI (void)
 
void UpdateText ()
 
void RecalculateSize (void)
 
- Public Member Functions inherited from OCPN_AlertDialog
virtual bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("OpenCPN Alert"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU)
 

Public Attributes

wxDateTime dtAlertExpireTime
 

Detailed Description

Dialog for displaying AIS target alerts.

Shows alerts for specific AIS targets, allowing user interaction such as acknowledging or silencing the alert.

Definition at line 62 of file AISTargetAlertDialog.h.

Constructor & Destructor Documentation

◆ AISTargetAlertDialog()

AISTargetAlertDialog::AISTargetAlertDialog ( )

Definition at line 118 of file AISTargetAlertDialog.cpp.

◆ ~AISTargetAlertDialog()

AISTargetAlertDialog::~AISTargetAlertDialog ( )

Definition at line 120 of file AISTargetAlertDialog.cpp.

Member Function Documentation

◆ Create()

bool AISTargetAlertDialog::Create ( int  target_mmsi,
wxWindow *  parent,
AisDecoder pdecoder,
bool  b_jumpto,
bool  b_createWP,
bool  b_ack,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("OpenCPN AIS Alert"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU 
)

Definition at line 130 of file AISTargetAlertDialog.cpp.

◆ Get_Dialog_MMSI()

int AISTargetAlertDialog::Get_Dialog_MMSI ( void  )
inline

Definition at line 78 of file AISTargetAlertDialog.h.

◆ Init()

void AISTargetAlertDialog::Init ( void  )
virtual

Reimplemented from OCPN_AlertDialog.

Definition at line 122 of file AISTargetAlertDialog.cpp.

◆ RecalculateSize()

void AISTargetAlertDialog::RecalculateSize ( void  )

Definition at line 279 of file AISTargetAlertDialog.cpp.

◆ UpdateText()

void AISTargetAlertDialog::UpdateText ( )

Definition at line 241 of file AISTargetAlertDialog.cpp.

Member Data Documentation

◆ dtAlertExpireTime

wxDateTime AISTargetAlertDialog::dtAlertExpireTime

Definition at line 82 of file AISTargetAlertDialog.h.


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