Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
tests
taskthread_test.hpp
Go to the documentation of this file.
1
/***************************************************************************
2
tag: Peter Soetens Tue Apr 5 16:53:26 CEST 2005 taskthread_test.hpp
3
4
taskthread_test.hpp - description
5
-------------------
6
begin : Tue April 05 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 TASKSTHREADTEST_H
22
#define TASKSTHREADTEST_H
23
24
#include <
extras/PeriodicActivity.hpp
>
25
#include <
extras/SimulationActivity.hpp
>
26
#include <
extras/SlaveActivity.hpp
>
27
#include <
Activity.hpp
>
28
#include <
rtt-detail-fwd.hpp
>
29
using namespace
RTT::detail
;
30
31
using namespace
RTT
;
32
33
template
<
class
T>
34
struct
TestActivity
;
35
36
40
class
ActivitiesThreadTest
41
{
42
public
:
43
44
TestActivity<PeriodicActivity>
*
t_task_np
;
45
TestActivity<PeriodicActivity>
*
t_task_np_bad
;
46
TestActivity<PeriodicActivity>
*
t_task_p
;
47
TestActivity<SlaveActivity>
*
t_task_slave
;
48
TestActivity<Activity>
*
t_task_a
;
49
50
ActivitiesThreadTest
(){ setUp(); };
51
~ActivitiesThreadTest
(){ tearDown(); };
52
void
setUp();
53
void
tearDown();
54
55
#ifndef ORO_EMBEDDED
56
void
testExceptionRecovery();
57
#endif
58
void
testThreadConfig();
59
void
testPeriodic();
60
void
testNonPeriodic();
61
void
testSlave();
62
void
testSequential();
63
void
testScheduler();
64
void
testAllocation();
65
void
testFileDescriptor();
66
void
testFileDescriptor_NoFD();
67
};
68
69
#endif
ActivitiesThreadTest::t_task_np
TestActivity< PeriodicActivity > * t_task_np
Definition:
taskthread_test.hpp:44
Activity.hpp
ActivitiesThreadTest::t_task_np_bad
TestActivity< PeriodicActivity > * t_task_np_bad
Definition:
taskthread_test.hpp:45
SimulationActivity.hpp
SlaveActivity.hpp
ActivitiesThreadTest::~ActivitiesThreadTest
~ActivitiesThreadTest()
Definition:
taskthread_test.hpp:51
RTT::detail
Definition:
rtt-base-fwd.hpp:97
ActivitiesThreadTest::ActivitiesThreadTest
ActivitiesThreadTest()
Definition:
taskthread_test.hpp:50
ActivitiesThreadTest
Definition:
taskthread_test.hpp:40
PeriodicActivity.hpp
ActivitiesThreadTest::t_task_a
TestActivity< Activity > * t_task_a
Definition:
taskthread_test.hpp:48
TestActivity
Definition:
taskthread_test.cpp:39
RTT
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition:
Activity.cpp:53
ActivitiesThreadTest::t_task_slave
TestActivity< SlaveActivity > * t_task_slave
Definition:
taskthread_test.hpp:47
rtt-detail-fwd.hpp
ActivitiesThreadTest::t_task_p
TestActivity< PeriodicActivity > * t_task_p
Definition:
taskthread_test.hpp:46
rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:44