Earth Observation Mission CFI Software Orbit Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.18 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 00021 namespace EECFI 00022 { 00023 00027 class XO_DECL RelANXTime: public CfiClass 00028 { 00029 public: 00030 long orbit; 00031 long cycle; 00032 long seconds; 00033 long microseconds; 00034 00038 RelANXTime(); 00039 00043 RelANXTime( long orbitIn, long cycleIn, long secondsIn, long microsecIn ); 00044 00046 RelANXTime( const OrbitId &orbitId, long orbitIn, long cycleIn, long secondsIn, long microsecIn ) ; 00047 00049 RelANXTime( const RelANXTime &at ); 00050 00052 ~RelANXTime() NOEXCEPT; 00053 00055 ANXTime toAbsolute() const ; 00056 00058 void fromAbsolute( const ANXTime &anxTime ) ; 00059 00061 void operator= ( const RelANXTime &t ); 00062 00063 protected: 00064 00065 00066 private: 00067 OrbitId orbitId; 00068 }; 00069 00070 } // closing namespace 00071 00072 #endif