![]() |
Earth Observation Mission CFI Software Lib Software User Manual |
![]() |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.4 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: ModelId.h,v 1.8 2012/06/20 16:11:16 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 00039 public: 00040 00042 ModelId(); 00043 00045 ModelId( long mode, vector<long> &models ) throw (CfiError); 00046 00048 ~ModelId() throw (CfiError); 00049 00051 void init( long mode, vector<long> &models ) throw (CfiError); 00052 00054 bool status() const; 00055 00057 ModelData getData(); 00058 00059 protected: 00060 00062 GenericId* getId(); // this is the xl_model_id variable 00063 00064 private: 00065 00066 }; 00067 00068 } // closing namespace 00069 00070 #endif