Earth Observation Mission CFI Software Orbit Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.26 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 <ANXTime.h> 00014 #include <CfiClass.h> 00015 #include <CfiError.h> 00016 #include <OrbitData.h> 00017 #include <OrbitId.h> 00018 00019 //--NAMESPACES-------------------------------------------------------- 00020 00021 namespace EECFI 00022 { 00026 class XO_DECL RelANXTime : public CfiClass 00027 { 00028 public: 00029 long orbit; 00030 long cycle; 00031 long seconds; 00032 long microseconds; 00033 00037 RelANXTime(); 00038 00042 RelANXTime(long orbitIn, long cycleIn, long secondsIn, long microsecIn); 00043 00045 RelANXTime(const OrbitId& orbitId, long orbitIn, long cycleIn, long secondsIn, long microsecIn); 00046 00049 RelANXTime(const RelANXTime& other); 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 private: 00065 OrbitId orbitId; 00066 }; 00067 00068 } // namespace EECFI 00069 00070 #endif