1 // ATC-Main.hxx -- FGFS interface to ATC 610x hardware
3 // Written by Curtis Olson, started January 2002.
5 // Copyright (C) 2002 Curtis L. Olson - http://www.flightgear.org/~curt
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License as
9 // published by the Free Software Foundation; either version 2 of the
10 // License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 // General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 #ifndef _FG_ATC_MAIN_HXX
25 #define _FG_ATC_MAIN_HXX
31 #include <simgear/misc/sg_path.hxx>
33 #include <Main/fg_props.hxx>
35 #include "protocol.hxx"
37 #include "ATC-Inputs.hxx"
38 #include "ATC-Outputs.hxx"
41 class FGATCMain : public FGProtocol {
43 FGATCInput *input0; // board0 input interface class
44 FGATCInput *input1; // board1 input interface class
45 FGATCOutput *output0; // board0 output interface class
46 FGATCOutput *output1; // board1 output interface class
78 // Open and initialize ATC 610x hardware
87 inline void set_path_names( const SGPath &in0, const SGPath &in1,
88 const SGPath &out0, const SGPath &out1 )
98 #endif // _FG_ATC_MAIN_HXX