![]() |
Earth Observation Mission CFI Software Orbit Software User Manual |
![]() |
00001 //-------------------------------------------------------------------- 00002 // CVS Info: $Id: RelANXTime.h,v 1.4 2009/04/13 13:39:37 expcfi Exp $ 00003 //-------------------------------------------------------------------- 00004 00005 #ifndef _RELANXTIME_H 00006 #define _RELANXTIME_H 00007 00008 //--INCLUDE----------------------------------------------------------- 00009 #include "OrbitData.h" 00010 #include "CfiError.h" 00011 #include "CfiClass.h" 00012 #include "OrbitId.h" 00013 #include "ANXTime.h" 00014 00015 //--NAMESPACES-------------------------------------------------------- 00016 using namespace std; 00017 00018 namespace EECFI 00019 { 00020 00024 class RelANXTime: public CfiClass 00025 { 00026 public: 00027 long orbit; 00028 long cycle; 00029 long seconds; 00030 long microseconds; 00031 00035 RelANXTime(); 00036 00040 RelANXTime( long orbitIn, long cycleIn, long secondsIn, long microsecIn ); 00041 00043 RelANXTime( const OrbitId &orbitId, long orbitIn, long cycleIn, long secondsIn, long microsecIn ) throw (CfiError); 00044 00046 RelANXTime( const RelANXTime &at ); 00047 00049 ~RelANXTime(); 00050 00052 ANXTime toAbsolute() const throw (CfiError); 00053 00055 void fromAbsolute( const ANXTime &anxTime ) throw (CfiError); 00056 00058 void operator= ( const RelANXTime &t ); 00059 00060 protected: 00061 00062 00063 private: 00064 OrbitId orbitId; 00065 }; 00066 00067 } // closing namespace 00068 00069 #endif