Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
tests
time_test.hpp
Go to the documentation of this file.
1
/***************************************************************************
2
tag: Peter Soetens Fri Feb 11 15:59:13 CET 2005 time_test.hpp
3
4
time_test.hpp - description
5
-------------------
6
begin : Fri February 11 2005
7
copyright : (C) 2005 Peter Soetens
8
email : peter.soetens@mech.kuleuven.ac.be
9
10
***************************************************************************
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* *
17
***************************************************************************/
18
19
20
21
#ifndef TIMETEST_H
22
#define TIMETEST_H
23
24
#include <Time.hpp>
25
#include <
os/TimeService.hpp
>
26
#include <
os/Timer.hpp
>
27
#include <string>
28
#include <rtt-config.h>
29
30
class
TimeTest
31
{
32
public
:
33
RTT::os::TimeService
*
hbg
;
34
double
small_S
,
normal_S
,
long_S
;
35
RTT::os::TimeService::ticks
small_t
,
normal_t
,
long_t
;
36
RTT::nsecs
small_ns
,
normal_ns
,
long_ns
;
37
38
TimeTest
();
39
~TimeTest
();
40
41
void
testSecondsConversion
();
42
void
testTicksConversion
();
43
void
testTimeProgress
();
44
void
testTimers
();
45
void
testTimerPeriod
();
46
47
};
48
49
#endif // TIMETEST_H
TimeTest::testTimeProgress
void testTimeProgress()
RTT::os::TimeService
Definition:
TimeService.hpp:53
TimeTest::long_ns
RTT::nsecs long_ns
Definition:
time_test.hpp:36
TimeTest::testTimers
void testTimers()
RTT::os::TimeService::ticks
long long ticks
Definition:
TimeService.hpp:84
TimeTest::normal_t
RTT::os::TimeService::ticks normal_t
Definition:
time_test.hpp:35
TimeTest::long_t
RTT::os::TimeService::ticks long_t
Definition:
time_test.hpp:35
TimeTest::testTicksConversion
void testTicksConversion()
TimeTest::small_S
double small_S
Definition:
time_test.hpp:34
TimeTest::testTimerPeriod
void testTimerPeriod()
TimeTest::small_ns
RTT::nsecs small_ns
Definition:
time_test.hpp:36
TimeTest::long_S
double long_S
Definition:
time_test.hpp:34
TimeTest::small_t
RTT::os::TimeService::ticks small_t
Definition:
time_test.hpp:35
TimeTest::~TimeTest
~TimeTest()
Definition:
time_test.cpp:54
TimeTest
Definition:
time_test.hpp:30
TimeTest::testSecondsConversion
void testSecondsConversion()
TimeTest::normal_ns
RTT::nsecs normal_ns
Definition:
time_test.hpp:36
TimeTest::TimeTest
TimeTest()
Definition:
time_test.cpp:37
TimeTest::normal_S
double normal_S
Definition:
time_test.hpp:34
Timer.hpp
RTT::nsecs
long long nsecs
Definition:
os/Time.hpp:69
TimeService.hpp
TimeTest::hbg
RTT::os::TimeService * hbg
Definition:
time_test.hpp:33
rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:37