FlightGear
next
newnavradio.hxx
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: GPL-2.0+
3
* SPDX-FileCopyrightText: 2000 - 2011 (C) Curtis L. Olson - http://www.flightgear.org/~curt
4
*
5
* navradio.hxx -- class to manage a nav radio instance
6
* Written by Torsten Dreyer, started August 2011
7
*
8
* Copyright (C) 2000 - 2011 Curtis L. Olson - http://www.flightgear.org/~curt
9
*
10
* This program is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU General Public License as
12
* published by the Free Software Foundation; either version 2 of the
13
* License, or (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful, but
16
* WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23
*/
24
25
#pragma once
26
27
#include <simgear/props/props.hxx>
28
#include <simgear/structure/subsystem_mgr.hxx>
29
30
namespace
Instrumentation
{
31
32
class
NavRadio
:
public
SGSubsystem
33
{
34
public
:
35
// Subsystem identification.
36
static
const
char
*
staticSubsystemClassId
() {
return
"nav-radio"
; }
37
38
static
SGSubsystem *
createInstance
( SGPropertyNode_ptr rootNode );
39
};
40
41
}
Instrumentation::NavRadio
Definition
newnavradio.hxx:33
Instrumentation::NavRadio::createInstance
static SGSubsystem * createInstance(SGPropertyNode_ptr rootNode)
Definition
newnavradio.cxx:967
Instrumentation::NavRadio::staticSubsystemClassId
static const char * staticSubsystemClassId()
Definition
newnavradio.hxx:36
Instrumentation
Definition
commradio.cxx:30
src
Instrumentation
newnavradio.hxx
Generated on Tue Jun 3 2025 12:58:40 for FlightGear by
1.13.2