Debian Codegraph @

utils/fgpanel/FGPanelProtocol.hxx

raw symbols SCIP
1 // SPDX-FileCopyrightText: 2011 Torsten Dreyer
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <simgear/structure/subsystem_mgr.hxx>
7 #include <simgear/props/props.hxx>
8 #include <simgear/io/iochannel.hxx>
9
10 class PropertySetter;
11
12 typedef std::vector<PropertySetter*> PropertySetterVector;
13
14 class FGPanelProtocol : public SGSubsystem {
15 public:
16 FGPanelProtocol (SGPropertyNode_ptr a_Root);
17 virtual ~FGPanelProtocol ();
18
19 // Subsystem API.
20 void init() override;
21 void reinit() override;
22 void update(double dt) override;
23
24 // Subsystem identification.
25 static const char* staticSubsystemClassId() { return "panel-protocol"; }
26
27 private:
28 SGPropertyNode_ptr root;
29 SGIOChannel *io;
30 PropertySetterVector propertySetterVector;
31 };