Debian Codegraph @

src/stack.h

raw symbols SCIP
1 /***************************************************************************
2 stack.h - description
3 -------------------
4 begin : Sat Mar 16 2002
5 copyright : (C) 2002 by Michael Bridak
6 email : [email protected]
7 $Id: stack.h,v 1.4 2003/04/14 05:51:04 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 STACK_H
20 #define STACK_Hcxx . . $ `src/stack.h:20:9`!
21
22 /**Holds sound information for the SONAR
23 *@author Michael Bridak
24 * Re-written to use linked list instead of array
25 * by Jesse
26 */
27
28
29 #ifndef TRUE
30 #define TRUEcxx . . $ `src/stack.h:30:9`! 1
31 #endif
32 #ifndef FALSE
33 #define FALSEcxx . . $ `src/stack.h:33:9`! 0
34 #endif
35
36 typedef structcxx . . $ $anonymous_type_2a3252a61388ed4a_0#
37 {
38 int directioncxx . . $ $anonymous_type_2a3252a61388ed4a_0#direction., ship_typecxx . . $ $anonymous_type_2a3252a61388ed4a_0#ship_type.;
39 float signal_strengthcxx . . $ $anonymous_type_2a3252a61388ed4a_0#signal_strength.;
40 void *nextcxx . . $ $anonymous_type_2a3252a61388ed4a_0#next.;
41 } STACK_DATAcxx . . $ STACK_DATA#;
42
43 class Stackcxx . . $ Stack# {
44 public:
45 /** how many events for this second*/
46 int countercxx . . $ Stack#counter.;
47 /** storage space */
48 STACK_DATAcxx . . $ STACK_DATA# *stackcxx . . $ Stack#stack., *top_of_stackcxx . . $ Stack#top_of_stack.;
49 /** Advance sound history, drop old events */
50 void AdvanceSonarHistorycxx . . $ Stack#AdvanceSonarHistory(49f6e7a06ebc5aa8).();
51 /** Place a sound event on in the Queue */
52 int RegisterEventcxx . . $ Stack#RegisterEvent(e6f1e707912c925d).(int direction, float signalstrength, int ship_type);
53 /** Get how many events are in the Queue for a particular second */
54 int GetCountcxx . . $ Stack#GetCount(b126dc7c1de90089).();
55 /** Get sound information */
56 int GetEventcxx . . $ Stack#GetEvent(b79619b7de9e70a7).(int event, int *Direction, float *SignalStrength, int *ship_type);
57 Stackcxx . . $ Stack#Stack(49f6e7a06ebc5aa8).();
58 ~cxx . . $ Stack#`~Stack`(ced63f7c635d850d).Stackcxx . . $ Stack#();
59 };
60
61 #endif