Earth Observation Mission CFI Software Lib Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.6 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: ModelId.h,v 1.11 2013-09-18 07:43:56 expcfi Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef _EECFI_MODELID_H 00010 #define _EECFI_MODELID_H 00011 00012 00013 //--INCLUDE----------------------------------------------------------- 00014 #include <vector> 00015 #include "LibData.h" 00016 #include "CfiId.h" 00017 #include "CfiError.h" 00018 00019 //--NAMESPACES-------------------------------------------------------- 00020 using namespace std; 00021 00022 namespace EECFI 00023 { 00024 00028 class ModelId: public CfiId 00029 { 00030 friend class Coord; 00031 friend class StateVector; 00032 friend class StarData; 00033 friend class Geodetic; 00034 friend class OrbitId; 00035 friend class OrbitFunc; 00036 friend class DemId; 00037 friend class Attitude; 00038 friend class GeoidCalcInputs; 00039 00040 public: 00041 00043 ModelId(); 00044 00046 ModelId( long mode, vector<long> &models ) throw (CfiError); 00047 00049 ~ModelId() throw (CfiError); 00050 00052 void init( long mode, vector<long> &models ) throw (CfiError); 00053 00055 bool status() const; 00056 00058 ModelData getData(); 00059 00060 protected: 00061 00063 GenericId* getId(); // this is the xl_model_id variable 00064 00065 private: 00066 00067 }; 00068 00069 } // closing namespace 00070 00071 #endif