[Gcblue-commits] gcb_wx/include/database tcDatabaseObject.h,1.6,1.7 tcLauncherDBObject.h,1.2,1.3 tcM
Status: Alpha
Brought to you by:
ddcforge
From: <ddc...@pr...> - 2004-01-31 04:25:29
|
Update of /cvsroot/gcblue/gcb_wx/include/database In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4640/include/database Modified Files: tcDatabaseObject.h tcLauncherDBObject.h tcMissileDBObject.h tcRadarDBObject.h Log Message: Index: tcDatabaseObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcDatabaseObject.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** tcDatabaseObject.h 10 Jan 2004 21:55:31 -0000 1.6 --- tcDatabaseObject.h 30 Jan 2004 01:02:34 -0000 1.7 *************** *** 42,45 **** --- 42,46 ---- namespace Database { + class tcDatabase; class CsvTranslator; *************** *** 124,127 **** --- 125,129 ---- char mzDescription[DESCRIPTION_STRING_LENGTH]; + static void AttachDatabase(tcDatabase *db) {database = db;} tc3DModel* Get3DModel(); void Load3DModel(); *************** *** 135,138 **** --- 137,141 ---- virtual ~tcDatabaseObject(); protected: + static tcDatabase *database; ///< allows db objects to query for other db objects tc3DModel *model; Index: tcLauncherDBObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcLauncherDBObject.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tcLauncherDBObject.h 7 Dec 2003 01:53:36 -0000 1.2 --- tcLauncherDBObject.h 30 Jan 2004 01:02:34 -0000 1.3 *************** *** 39,42 **** --- 39,44 ---- UINT maCapacity[MAX_LAUNCHER_CONFIGURATIONS]; ///< array for mult configs UINT mnConfigurations; + std::string fireControlSensorClass; ///< class of sensor on platform for fire control + ///< (track required to launch) virtual void PrintToFile(tcFile& file); Index: tcMissileDBObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcMissileDBObject.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tcMissileDBObject.h 29 Jan 2004 00:05:03 -0000 1.3 --- tcMissileDBObject.h 30 Jan 2004 01:02:34 -0000 1.4 *************** *** 102,105 **** --- 102,106 ---- // sensor info tcDBString maSensorClass[2]; ///< primary and secondary + tnPoolIndex primarySeekerKey; ///< key for fast access of primary seeker /// flight profile, array of flight segment info unsigned mnNumSegments; *************** *** 107,110 **** --- 108,112 ---- teWeaponLaunchMode GetLaunchMode(void); + tnPoolIndex GetPrimarySeekerKey(); virtual void PrintToFile(tcFile& file); int Serialize(tcFile& file, bool mbLoad, UINT32 anVersion); Index: tcRadarDBObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcRadarDBObject.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tcRadarDBObject.h 29 Jan 2004 00:05:03 -0000 1.3 --- tcRadarDBObject.h 30 Jan 2004 01:02:34 -0000 1.4 *************** *** 37,40 **** --- 37,41 ---- float mfMinRangeRate_mps; ///< minimum detectable range rate unsigned int maxFireControlTracks; ///< max number of simultaneous fire control tracks + bool isSemiactive; ///< set true if this is a semiactive radar bool mbDetectsSurface; ///< set true if detects surface targets bool mbDetectsAir; ///< set true if detects airborne targets |