Earth Observation Mission CFI Software Orbit Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.11 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: RelANXTime.h,v 1.10 2014-02-20 20:02:31 cavm Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef _RELANXTIME_H 00010 #define _RELANXTIME_H 00011 00012 //--INCLUDE----------------------------------------------------------- 00013 #include "OrbitData.h" 00014 #include "CfiError.h" 00015 #include "CfiClass.h" 00016 #include "OrbitId.h" 00017 #include "ANXTime.h" 00018 00019 //--NAMESPACES-------------------------------------------------------- 00020 using namespace std; 00021 00022 namespace EECFI 00023 { 00024 00028 class XO_DECL RelANXTime: public CfiClass 00029 { 00030 public: 00031 long orbit; 00032 long cycle; 00033 long seconds; 00034 long microseconds; 00035 00039 RelANXTime(); 00040 00044 RelANXTime( long orbitIn, long cycleIn, long secondsIn, long microsecIn ); 00045 00047 RelANXTime( const OrbitId &orbitId, long orbitIn, long cycleIn, long secondsIn, long microsecIn ) throw (CfiError); 00048 00050 RelANXTime( const RelANXTime &at ); 00051 00053 ~RelANXTime(); 00054 00056 ANXTime toAbsolute() const throw (CfiError); 00057 00059 void fromAbsolute( const ANXTime &anxTime ) throw (CfiError); 00060 00062 void operator= ( const RelANXTime &t ); 00063 00064 protected: 00065 00066 00067 private: 00068 OrbitId orbitId; 00069 }; 00070 00071 } // closing namespace 00072 00073 #endif