00001 #pragma ident "$Id: SystemTime.hpp 1162 2008-03-27 21:18:13Z snelsen $" 00002 00003 00004 00005 #ifndef GPSTK_SYSTEMTIME_HPP 00006 #define GPSTK_SYSTEMTIME_HPP 00007 00008 //============================================================================ 00009 // 00010 // This file is part of GPSTk, the GPS Toolkit. 00011 // 00012 // The GPSTk is free software; you can redistribute it and/or modify 00013 // it under the terms of the GNU Lesser General Public License as published 00014 // by the Free Software Foundation; either version 2.1 of the License, or 00015 // any later version. 00016 // 00017 // The GPSTk is distributed in the hope that it will be useful, 00018 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 // GNU Lesser General Public License for more details. 00021 // 00022 // You should have received a copy of the GNU Lesser General Public 00023 // License along with GPSTk; if not, write to the Free Software Foundation, 00024 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00025 // 00026 // Copyright 2004, The University of Texas at Austin 00027 // 00028 //============================================================================ 00029 00030 #include "UnixTime.hpp" 00031 00032 namespace gpstk 00033 { 00038 class SystemTime 00039 : public UnixTime 00040 { 00041 public: 00046 00051 SystemTime() 00052 throw() 00053 { 00054 update(); 00055 } 00056 00058 virtual ~SystemTime() 00059 throw() 00060 {} 00062 00067 SystemTime& update() 00068 throw(); 00069 00070 protected: 00074 SystemTime( const SystemTime& right ) 00075 throw() 00076 : UnixTime( right ) 00077 {} 00078 00079 }; 00080 00081 } 00082 00083 #endif // GPSTK_SYSTEMTIME_HPP
1.3.9.1