Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
tests
corba_mqueue_test.hpp
Go to the documentation of this file.
1
/***************************************************************************
2
tag: The SourceWorks Tue Sep 7 00:54:57 CEST 2010 corba_mqueue_test.hpp
3
4
corba_mqueue_test.hpp - description
5
-------------------
6
begin : Tue September 07 2010
7
copyright : (C) 2010 The SourceWorks
8
email : peter@thesourceworks.com
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
#ifndef CORBA_TEST_H
21
#define CORBA_TEST_H
22
23
#include <
transports/corba/corba.h
>
24
#include <
rtt/InputPort.hpp
>
25
#include <
rtt/OutputPort.hpp
>
26
#include <
rtt/TaskContext.hpp
>
27
#include <
transports/corba/TaskContextServer.hpp
>
28
#include <
transports/corba/TaskContextProxy.hpp
>
29
#include <string>
30
31
using namespace
RTT
;
32
using namespace
RTT::detail
;
33
34
class
CorbaMQueueTest
35
{
36
public
:
37
CorbaMQueueTest
() { this->setUp(); }
38
~CorbaMQueueTest
() { this->tearDown(); }
39
40
TaskContext
*
tc
;
41
TaskContext
*
t2
;
42
TaskContext
*
tp
;
43
corba::TaskContextServer
*
ts
;
44
TaskContext
*
tp2
;
45
corba::TaskContextServer
*
ts2
;
46
47
base::PortInterface
*
signalled_port
;
48
void
new_data_listener(
base::PortInterface
* port);
49
50
// Ports
51
InputPort<double>
*
mr1
;
52
OutputPort<double>
*
mw1
;
53
InputPort<double>
*
mr2
;
54
OutputPort<double>
*
mw2
;
55
56
void
setupCorba();
57
void
cleanupCorba();
58
59
void
setUp();
60
void
tearDown();
61
62
void
testPortConnections();
63
void
testPortProxying();
64
65
// helper test functions
66
void
testPortDataConnection();
67
void
testPortBufferConnection();
68
void
testPortDisconnected();
69
};
70
71
#endif
CorbaMQueueTest::mr2
InputPort< double > * mr2
Definition:
corba_mqueue_test.hpp:53
RTT::corba::TaskContextServer
Definition:
TaskContextServer.hpp:65
CorbaMQueueTest::tp
TaskContext * tp
Definition:
corba_mqueue_test.hpp:42
CorbaMQueueTest::t2
TaskContext * t2
Definition:
corba_mqueue_test.hpp:41
CorbaMQueueTest::CorbaMQueueTest
CorbaMQueueTest()
Definition:
corba_mqueue_test.hpp:37
CorbaMQueueTest::tc
TaskContext * tc
Definition:
corba_mqueue_test.hpp:40
CorbaMQueueTest
Definition:
corba_mqueue_test.hpp:34
RTT::InputPort< double >
CorbaMQueueTest::mw1
OutputPort< double > * mw1
Definition:
corba_mqueue_test.hpp:52
CorbaMQueueTest::mw2
OutputPort< double > * mw2
Definition:
corba_mqueue_test.hpp:54
CorbaMQueueTest::mr1
InputPort< double > * mr1
Definition:
corba_mqueue_test.hpp:51
RTT::detail
Definition:
rtt-base-fwd.hpp:97
CorbaMQueueTest::signalled_port
base::PortInterface * signalled_port
Definition:
corba_mqueue_test.hpp:47
TaskContextProxy.hpp
OutputPort.hpp
TaskContext.hpp
CorbaMQueueTest::tp2
TaskContext * tp2
Definition:
corba_mqueue_test.hpp:44
CorbaMQueueTest::ts2
corba::TaskContextServer * ts2
Definition:
corba_mqueue_test.hpp:45
InputPort.hpp
RTT::TaskContext
Definition:
TaskContext.hpp:93
TaskContextServer.hpp
RTT::OutputPort< double >
CorbaMQueueTest::ts
corba::TaskContextServer * ts
Definition:
corba_mqueue_test.hpp:43
RTT
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition:
Activity.cpp:53
RTT::base::PortInterface
Definition:
PortInterface.hpp:59
CorbaMQueueTest::~CorbaMQueueTest
~CorbaMQueueTest()
Definition:
corba_mqueue_test.hpp:38
corba.h
rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:23