OpenCPN Partial API docs
ais_info_gui.h
1
/******************************************************************************
2
* Project: OpenCPN
3
* Purpose: AIS info GUI parts
4
*
5
***************************************************************************
6
* Copyright (C) 2012 by David S. Register *
7
* *
8
* This program is free software; you can redistribute it and/or modify *
9
* it under the terms of the GNU General Public License as published by *
10
* the Free Software Foundation; either version 2 of the License, or *
11
* (at your option) any later version. *
12
* *
13
* This program is distributed in the hope that it will be useful, *
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16
* GNU General Public License for more details. *
17
* *
18
* You should have received a copy of the GNU General Public License *
19
* along with this program; if not, write to the *
20
* Free Software Foundation, Inc., *
21
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
22
**************************************************************************/
23
24
#include "model/ais_target_data.h"
25
#include "observable.h"
26
#include "OCPN_Sound.h"
27
28
class
AisInfoGui
:
public
wxEvtHandler {
29
public
:
30
AisInfoGui
();
31
32
void
ShowAisInfo(std::shared_ptr<const AisTargetData> palert_target);
33
bool
AIS_AlertPlaying(
void
) {
return
m_bAIS_AlertPlaying; };
34
35
void
OnSoundFinishedAISAudio(wxCommandEvent &event);
36
37
bool
m_bAIS_Audio_Alert_On;
38
bool
m_bAIS_AlertPlaying;
39
OcpnSound* m_AIS_Sound;
40
ObservableListener
ais_info_listener;
41
ObservableListener
ais_touch_listener;
42
ObservableListener
ais_wp_listener;
43
ObservableListener
ais_new_track_listener;
44
ObservableListener
ais_del_track_listener;
45
};
AisInfoGui
Definition:
ais_info_gui.h:28
ObservableListener
Keeps listening over it's lifespan, removes itself on destruction.
Definition:
observable.h:133
gui
include
gui
ais_info_gui.h
Generated on Thu Aug 1 2024 11:18:00 for OpenCPN Partial API docs by
1.9.1