Earth Observation Mission CFI Software Lib Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.10 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: ModelId.h,v 1.12 2014-02-20 20:02:28 cavm 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 friend class AttitudeDef; //AN-526 00040 00041 public: 00042 00044 ModelId(); 00045 00047 ModelId( long mode, vector<long> &models ) throw (CfiError); 00048 00050 ~ModelId() throw (CfiError); 00051 00053 void init( long mode, vector<long> &models ) throw (CfiError); 00054 00056 bool status() const; 00057 00059 ModelData getData(); 00060 00061 protected: 00062 00064 GenericId* getId(); // this is the xl_model_id variable 00065 00066 private: 00067 00068 }; 00069 00070 } // closing namespace 00071 00072 #endif