| 1 | /*************************************************************************** |
| 2 | boatpositionlog.h - description |
| 3 | ------------------- |
| 4 | begin : Sat Mar 16 2002 |
| 5 | copyright : (C) 2002 by Michael Bridak |
| 6 | email : [email protected] |
| 7 | $Id: boatpositionlog.h,v 1.2 2003/04/14 05:51:03 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 BOATPOSITIONLOG_H |
| 20 | #define BOATPOSITIONLOG_Hcxx . . $ `src/boatpositionlog.h:20:9`! |
| 21 | |
| 22 | |
| 23 | /**A stack to hold our intermitent boat position |
| 24 | *@author Michael Bridak |
| 25 | */ |
| 26 | |
| 27 | class BoatPositionLogcxx . . $ BoatPositionLog# { |
| 28 | public: |
| 29 | struct positioncxx . . $ BoatPositionLog#position# { |
| 30 | float latcxx . . $ BoatPositionLog#position#lat.; |
| 31 | float loncxx . . $ BoatPositionLog#position#lon.; |
| 32 | double bearingcxx . . $ BoatPositionLog#position#bearing.; |
| 33 | Uint32cxx . . $ Uint32# tickcxx . . $ BoatPositionLog#position#tick.; |
| 34 | }; |
| 35 | BoatPositionLogcxx . . $ BoatPositionLog#BoatPositionLog(49f6e7a06ebc5aa8).(); |
| 36 | ~cxx . . $ BoatPositionLog#`~BoatPositionLog`(ced63f7c635d850d).BoatPositionLogcxx . . $ BoatPositionLog#(); |
| 37 | void RecBoatPoscxx . . $ BoatPositionLog#RecBoatPos(6882ec15dc2018f0).(positioncxx . . $ BoatPositionLog#position# temp); |
| 38 | /** Remove the oldest record off stack. */ |
| 39 | void PopRecordcxx . . $ BoatPositionLog#PopRecord(49f6e7a06ebc5aa8).(); |
| 40 | /** returns a log item */ |
| 41 | void GetLogItemcxx . . $ BoatPositionLog#GetLogItem(d3e18dab127d8b08).(int item, positioncxx . . $ BoatPositionLog#position# &loc); |
| 42 | |
| 43 | /** */ |
| 44 | positioncxx . . $ BoatPositionLog#position# storagecxx . . $ BoatPositionLog#storage.[10]; |
| 45 | |
| 46 | /** number of items on the stack |
| 47 | */ |
| 48 | int sizecxx . . $ BoatPositionLog#size.; |
| 49 | }; |
| 50 | |
| 51 | #endif |