Earth Observation Mission CFI Software Orbit Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.22 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 00048 RelANXTime(const RelANXTime& at); 00049 00051 ~RelANXTime() NOEXCEPT; 00052 00054 ANXTime toAbsolute() const; 00055 00057 void fromAbsolute(const ANXTime& anxTime); 00058 00060 void operator=(const RelANXTime& t); 00061 00062 protected: 00063 private: 00064 OrbitId orbitId; 00065 }; 00066 00067 } // namespace EECFI 00068 00069 #endif