time_test.hpp
Go to the documentation of this file.
00001 /***************************************************************************
00002   tag: Peter Soetens  Fri Feb 11 15:59:13 CET 2005  time_test.hpp
00003 
00004                         time_test.hpp -  description
00005                            -------------------
00006     begin                : Fri February 11 2005
00007     copyright            : (C) 2005 Peter Soetens
00008     email                : peter.soetens@mech.kuleuven.ac.be
00009 
00010  ***************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   (at your option) any later version.                                   *
00016  *                                                                         *
00017  ***************************************************************************/
00018 
00019 
00020 
00021 #ifndef TIMETEST_H
00022 #define TIMETEST_H
00023 
00024 #include <Time.hpp>
00025 #include <os/TimeService.hpp>
00026 #include <os/Timer.hpp>
00027 #include <string>
00028 #include <rtt-config.h>
00029 
00030 class TimeTest
00031 {
00032 public:
00033         RTT::os::TimeService* hbg;
00034     double small_S, normal_S, long_S;
00035     RTT::os::TimeService::ticks small_t, normal_t, long_t;
00036     RTT::nsecs small_ns, normal_ns, long_ns;
00037 
00038         TimeTest();
00039         ~TimeTest();
00040 
00041     void testSecondsConversion();
00042     void testTicksConversion();
00043     void testTimeProgress();
00044     void testTimers();
00045     void testTimerPeriod();
00046 
00047 };
00048 
00049 #endif  // TIMETEST_H


rtt
Author(s): RTT Developers
autogenerated on Sat Jun 8 2019 18:46:33