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., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #ifndef _FG_ATC_MAIN_HXX
25 #define _FG_ATC_MAIN_HXX
31 #include <plib/netChat.h>
33 #include <simgear/misc/sg_path.hxx>
35 #include <Main/fg_props.hxx>
37 #include "protocol.hxx"
39 #include "ATC-Inputs.hxx"
40 #include "ATC-Outputs.hxx"
43 class FGATCMain : public FGProtocol {
45 FGATCInput *input0; // board0 input interface class
46 FGATCInput *input1; // board1 input interface class
47 FGATCOutput *output0; // board0 output interface class
48 FGATCOutput *output1; // board1 output interface class
74 cout << "FGATCMain destructor" << endl;
81 // Open and initialize ATC 610x hardware
90 inline void set_path_names( const SGPath &in0, const SGPath &in1,
91 const SGPath &out0, const SGPath &out1 )
101 #endif // _FG_ATC_MAIN_HXX