OpenCPN Partial API docs
Loading...
Searching...
No Matches
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 "ais_target_data.h"
25
#include "OCPN_Sound.h"
26
27
class
AisInfoGui
:
public
wxEvtHandler {
28
public
:
29
AisInfoGui
();
30
31
void
ShowAisInfo(std::shared_ptr<const AisTargetData> palert_target);
32
bool
AIS_AlertPlaying(
void
) {
return
m_bAIS_AlertPlaying; };
33
34
void
OnSoundFinishedAISAudio(wxCommandEvent &event);
35
36
bool
m_bAIS_Audio_Alert_On;
37
bool
m_bAIS_AlertPlaying;
38
OcpnSound* m_AIS_Sound;
39
ObservableListener
ais_info_listener;
40
ObservableListener
ais_touch_listener;
41
ObservableListener
ais_wp_listener;
42
ObservableListener
ais_new_track_listener;
43
ObservableListener
ais_del_track_listener;
44
};
AisInfoGui
Definition:
ais_info_gui.h:27
ObservableListener
Keeps listening over it's lifespan, removes itself on destruction.
Definition:
observable.h:143
include
ais_info_gui.h
Generated by
1.9.5