]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/ExternalPipe/ExternalPipe.hxx
Make FGAircraftModel behave like a standarrd subsystem.
[flightgear.git] / src / FDM / ExternalPipe / ExternalPipe.hxx
index 50b1d88431d4961a01e228c1d8b95411b5cfa9ef..866967c12e3531aed284f0d47323be7bb5ca6873 100644 (file)
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
@@ -29,6 +29,7 @@
 
 #include <Network/net_ctrls.hxx>
 #include <Network/net_fdm.hxx>
+#include <FDM/flight.hxx>
 
 
 class FGExternalPipe: public FGInterface {
@@ -51,7 +52,7 @@ private:
     double last_cg_offset;
 
     vector <string> property_names;
-    vector <SGPropertyNode *> nodes;
+    vector <SGPropertyNode_ptr> nodes;
 
     // Protocol specific init routines
     void init_binary();
@@ -61,6 +62,7 @@ private:
     void update_binary( double dt );
     void update_property( double dt );
 
+    void process_set_command( const string_list &tokens );
 public:
 
     // Constructor