| 1 | /*************************************************************************** |
| 2 | towedarray.h - description |
| 3 | ------------------- |
| 4 | begin : Sat Mar 16 2002 |
| 5 | copyright : (C) 2002 by Michael Bridak |
| 6 | email :[email protected] |
| 7 | $Id: towedarray.h,v 1.3 2003/04/14 05:52:40 mbridak Exp $ |
| 8 | ***************************************************************************/ |
| 9 | |
| 10 | /*************************************************************************** |
| 11 | * * |
| 12 | * This program is free software; you can redistribute it and/or modify * |
| 13 | * it under the terms of the GNU General Public License as published by * |
| 14 | * the Free Software Foundation; either version 2 of the License. * |
| 15 | * . * |
| 16 | * * |
| 17 | ***************************************************************************/ |
| 18 | |
| 19 | #ifndef TOWEDARRAY_H |
| 20 | #define TOWEDARRAY_Hcxx . . $ `src/towedarray.h:20:9`! |
| 21 | |
| 22 | #include "stack.h"cxx . . $ `<file>/src/stack.h`/ |
| 23 | |
| 24 | #ifndef TRUEcxx . . $ `src/stack.h:30:9`! |
| 25 | #define TRUE 1 |
| 26 | #endif |
| 27 | #ifndef FALSEcxx . . $ `src/stack.h:33:9`! |
| 28 | #define FALSE 0 |
| 29 | #endif |
| 30 | |
| 31 | /** |
| 32 | *@author Michael Bridak |
| 33 | */ |
| 34 | |
| 35 | class TowedArraycxx . . $ TowedArray# : public Stackcxx . . $ Stack# { |
| 36 | public: |
| 37 | TowedArraycxx . . $ TowedArray#TowedArray(49f6e7a06ebc5aa8).(); |
| 38 | TowedArraycxx . . $ TowedArray#TowedArray(bc12c9ec15586e6a).(double, double); |
| 39 | ~cxx . . $ TowedArray#`~TowedArray`(49f6e7a06ebc5aa8).TowedArraycxx . . $ TowedArray#(); |
| 40 | void RecordPoscxx . . $ TowedArray#RecordPos(bc12c9ec15586e6a).(double lat, double lon); |
| 41 | int Extendcxx . . $ TowedArray#Extend(b126dc7c1de90089).(); |
| 42 | void Stopcxx . . $ TowedArray#Stop(49f6e7a06ebc5aa8).(); |
| 43 | int ReelIncxx . . $ TowedArray#ReelIn(b126dc7c1de90089).(); |
| 44 | int CutArraycxx . . $ TowedArray#CutArray(b126dc7c1de90089).(); // cut the rope and let it go |
| 45 | int GetLengthcxx . . $ TowedArray#GetLength(b126dc7c1de90089).(); |
| 46 | void OperateWinchcxx . . $ TowedArray#OperateWinch(49f6e7a06ebc5aa8).(); |
| 47 | void ReturnLatLoncxx . . $ TowedArray#ReturnLatLon(c81f1f64cfc86035).(double &latitude, double &longitude); |
| 48 | float ReturnHeadingcxx . . $ TowedArray#ReturnHeading(9b8c9e39889c762c).(); |
| 49 | float BearingAmbiguitycxx . . $ TowedArray#BearingAmbiguity(fbcf3211dfe1bfd1).(float); |
| 50 | float BearingToTargetcxx . . $ TowedArray#BearingToTarget(b7af2f536204233).(double target_Latitude, double target_longitude); |
| 51 | float CalcBearingcxx . . $ TowedArray#CalcBearing(cec7714f2b1be9b5).(double observer_latitude, double observer_longitude ,double target_latitude,double target_longitude); |
| 52 | double RangeToTargetcxx . . $ TowedArray#RangeToTarget(d8e7e0733fa41c87).(double target_latitude, double target_longitude); |
| 53 | double latitude_arraycxx . . $ TowedArray#latitude_array.[100], longitude_arraycxx . . $ TowedArray#longitude_array.[100]; |
| 54 | float lengthcxx . . $ TowedArray#length.; // how far out is the array? |
| 55 | int winchcxx . . $ TowedArray#winch.; // is the array going out or coming in or stopped? |
| 56 | int cutcxx . . $ TowedArray#cut.; // did we cut the array? |
| 57 | }; |
| 58 | |
| 59 | #endif |