[Gcblue-commits] gcb_wx/include/sim tcGuidanceState.h,1.4,1.5 tcPool.h,1.7,1.8
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-07-20 16:25:02
|
Update of /cvsroot/gcblue/gcb_wx/include/sim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4256/include/sim Modified Files: tcGuidanceState.h tcPool.h Log Message: Index: tcGuidanceState.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcGuidanceState.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** tcGuidanceState.h 17 Aug 2004 02:22:56 -0000 1.4 --- tcGuidanceState.h 20 Jul 2005 16:24:53 -0000 1.5 *************** *** 48,53 **** float mfGoalSpeed_kts; float mfGoalAltitude_m; - tcKinematics mcKinIntercept; - bool mbIntercept; void Serialize(tcFile& file, bool abLoad); --- 48,51 ---- Index: tcPool.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcPool.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** tcPool.h 8 Aug 2004 00:31:33 -0000 1.7 --- tcPool.h 20 Jul 2005 16:24:53 -0000 1.8 *************** *** 367,371 **** /**********************************************************/ template <class T, int POOLSIZE> ! void tcPool<T,POOLSIZE>::RemoveAll(void) { for(tnPoolIndex k=0;k<POOLSIZE;k++) --- 367,371 ---- /**********************************************************/ template <class T, int POOLSIZE> ! void tcPool<T,POOLSIZE>::RemoveAll() { for(tnPoolIndex k=0;k<POOLSIZE;k++) *************** *** 378,382 **** maPrev[k] = NULL_INDEX; maNext[k] = NULL_INDEX; ! maAvailable[k] = k; } mnSize = 0; --- 378,382 ---- maPrev[k] = NULL_INDEX; maNext[k] = NULL_INDEX; ! maAvailable[k] = (k + 1) % POOLSIZE; ///< start with 1 as index (for debugging) } mnSize = 0; *************** *** 400,404 **** maPrev[k] = NULL_INDEX; maNext[k] = NULL_INDEX; ! maAvailable[k] = k; } } --- 400,404 ---- maPrev[k] = NULL_INDEX; maNext[k] = NULL_INDEX; ! maAvailable[k] = (k + 1) % POOLSIZE; ///< start with 1 as index (for debugging) } } |