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

Dialog for displaying AIS target alerts. More...

#include <ais_target_alert_dlg.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)
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 61 of file ais_target_alert_dlg.h.

Constructor & Destructor Documentation

◆ AISTargetAlertDialog()

AISTargetAlertDialog::AISTargetAlertDialog ( )

Definition at line 106 of file ais_target_alert_dlg.cpp.

◆ ~AISTargetAlertDialog()

AISTargetAlertDialog::~AISTargetAlertDialog ( )

Definition at line 108 of file ais_target_alert_dlg.cpp.

Member Function Documentation

◆ Create() [1/2]

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 118 of file ais_target_alert_dlg.cpp.

◆ Create() [2/2]

bool OCPN_AlertDialog::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 )
virtual

Reimplemented from OCPN_AlertDialog.

Definition at line 46 of file ais_target_alert_dlg.cpp.

◆ Get_Dialog_MMSI()

int AISTargetAlertDialog::Get_Dialog_MMSI ( void )
inline

Definition at line 78 of file ais_target_alert_dlg.h.

◆ Init()

void AISTargetAlertDialog::Init ( )
virtual

Reimplemented from OCPN_AlertDialog.

Definition at line 110 of file ais_target_alert_dlg.cpp.

◆ RecalculateSize()

void AISTargetAlertDialog::RecalculateSize ( void )

Definition at line 267 of file ais_target_alert_dlg.cpp.

◆ UpdateText()

void AISTargetAlertDialog::UpdateText ( )

Definition at line 229 of file ais_target_alert_dlg.cpp.

Member Data Documentation

◆ dtAlertExpireTime

wxDateTime AISTargetAlertDialog::dtAlertExpireTime

Definition at line 82 of file ais_target_alert_dlg.h.


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