Earth Observation Mission CFI Software Lib Software User Manual |
00001 //-------------------------------------------------------------------- 00002 // CVS Info: $Id: ModelId.h,v 1.5 2009/04/13 13:30:10 expcfi Exp $ 00003 //-------------------------------------------------------------------- 00004 00005 #ifndef _EECFI_MODELID_H 00006 #define _EECFI_MODELID_H 00007 00008 00009 //--INCLUDE----------------------------------------------------------- 00010 #include <vector> 00011 #include "LibData.h" 00012 #include "CfiId.h" 00013 #include "CfiError.h" 00014 00015 //--NAMESPACES-------------------------------------------------------- 00016 using namespace std; 00017 00018 namespace EECFI 00019 { 00020 00024 class ModelId: public CfiId 00025 { 00026 friend class Coord; 00027 friend class StateVector; 00028 friend class StarData; 00029 friend class Geodetic; 00030 friend class OrbitId; 00031 friend class OrbitFunc; 00032 friend class DemId; 00033 friend class Attitude; 00034 00035 public: 00036 00038 ModelId(); 00039 00041 ModelId( long mode, vector<long> &models ) throw (CfiError); 00042 00044 ~ModelId() throw (CfiError); 00045 00047 void init( long mode, vector<long> &models ) throw (CfiError); 00048 00050 bool status() const; 00051 00053 ModelData getData(); 00054 00055 protected: 00056 00058 GenericId* getId(); // this is the xl_model_id variable 00059 00060 private: 00061 00062 }; 00063 00064 } // closing namespace 00065 00066 #endif