Debian Codegraph @

utils/fgpanel/FGGroupLayer.hxx

raw symbols SCIP
1 // SPDX-FileCopyrightText: 2000 David Megginson
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #ifndef FGGROUPLAYER_HXX
5 #define FGGROUPLAYER_HXX
6
7 #include "FGInstrumentLayer.hxx"
8 using std::vector;
9
10 /**
11 * An instrument layer containing a group of sublayers.
12 *
13 * This class is useful for gathering together a group of related
14 * layers, either to hold in an external file or to work under
15 * the same condition.
16 */
17 class FGGroupLayer : public FGInstrumentLayer {
18 public:
19 FGGroupLayer ();
20 virtual ~FGGroupLayer ();
21 virtual void draw ();
22 // transfer pointer ownership
23 virtual void addLayer (FGInstrumentLayer * const layer);
24 protected:
25 vector <FGInstrumentLayer *> m_layers;
26 };
27
28 #endif