//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// $Id$
#define _TIMESTAMP_HXX
-#ifndef __cplusplus
+#ifndef __cplusplus
# error This library requires C++
-#endif
+#endif
#include <simgear/compiler.h>
* @param m initial microseconds value
*/
SGTimeStamp( const long s, const long m );
- ~SGTimeStamp();
/** Update stored time to current time (seconds and microseconds) */
void stamp();
- /** Compare two time stamps for equality */
- SGTimeStamp& operator = ( const SGTimeStamp& t );
-
/**
* Increment the saved time by the specified number of microseconds
* @param t time stamp
usec = u;
}
-inline SGTimeStamp::~SGTimeStamp() {
-}
-
-inline SGTimeStamp& SGTimeStamp::operator = (const SGTimeStamp& t)
-{
- seconds = t.seconds;
- usec = t.usec;
- return *this;
-}
-
-
#endif // _TIMESTAMP_HXX