Classes | Defines | Functions | Variables
corba_ipc_test.cpp File Reference
#include "unit.hpp"
#include <iostream>
#include <rtt/OperationCaller.hpp>
#include <rtt/Service.hpp>
#include <transports/corba/DataFlowI.h>
#include <rtt/transports/corba/RemotePorts.hpp>
#include <transports/corba/ServiceC.h>
#include <transports/corba/corba.h>
#include <transports/corba/CorbaConnPolicy.hpp>
#include <rtt/InputPort.hpp>
#include <rtt/OutputPort.hpp>
#include <rtt/TaskContext.hpp>
#include <transports/corba/TaskContextServer.hpp>
#include <transports/corba/TaskContextProxy.hpp>
#include <transports/corba/CorbaLib.hpp>
#include <rtt/internal/DataSourceTypeInfo.hpp>
#include <string>
#include <stdlib.h>
Include dependency graph for corba_ipc_test.cpp:

Go to the source code of this file.

Classes

class  CorbaTest

Defines

#define ASSERT_PORT_SIGNALLING(code, read_port)
#define wait_for(cond, times)
#define wait_for_equal(a, b, times)

Functions

 BOOST_AUTO_TEST_CASE (testRemoteOperationCallerC)
 BOOST_AUTO_TEST_CASE (testRemoteOperationCaller)
 BOOST_AUTO_TEST_CASE (testRemoteOperationCallerCallback)
 BOOST_AUTO_TEST_CASE (testAnyOperationCaller)
 BOOST_AUTO_TEST_CASE (testDataFlowInterface)
 BOOST_AUTO_TEST_CASE (testPortConnections)
 BOOST_AUTO_TEST_CASE (testPortProxying)
 BOOST_AUTO_TEST_CASE (testDataHalfs)
 BOOST_AUTO_TEST_CASE (testBufferHalfs)

Variables

bool wait_for_helper

Define Documentation

#define ASSERT_PORT_SIGNALLING (   code,
  read_port 
)
Value:
signalled_port = 0; wait = 0;\
    code; \
    while (read_port != signalled_port && wait++ != 5) \
    usleep(100000); \
    BOOST_CHECK( read_port == signalled_port );

Definition at line 145 of file corba_ipc_test.cpp.

#define wait_for (   cond,
  times 
)
Value:
wait = 0; \
    while( (wait_for_helper = !(cond)) && wait++ != times ) \
      usleep(100000); \
    if (wait_for_helper) BOOST_CHECK( cond );

Definition at line 153 of file corba_ipc_test.cpp.

#define wait_for_equal (   a,
  b,
  times 
)
Value:
wait = 0; \
    while( (wait_for_helper = ((a) != (b))) && wait++ != times ) \
      usleep(100000); \
    if (wait_for_helper) BOOST_CHECK_EQUAL( a, b );

Definition at line 159 of file corba_ipc_test.cpp.


Function Documentation

BOOST_AUTO_TEST_CASE ( testRemoteOperationCallerC  )

Definition at line 224 of file corba_ipc_test.cpp.

BOOST_AUTO_TEST_CASE ( testRemoteOperationCaller  )

Definition at line 252 of file corba_ipc_test.cpp.

BOOST_AUTO_TEST_CASE ( testRemoteOperationCallerCallback  )

Tests synchronous/asynchronous callbacks to self from a remote peer. For example A->B->A or even A->B->A->B

Definition at line 277 of file corba_ipc_test.cpp.

BOOST_AUTO_TEST_CASE ( testAnyOperationCaller  )

Definition at line 296 of file corba_ipc_test.cpp.

BOOST_AUTO_TEST_CASE ( testDataFlowInterface  )

Definition at line 368 of file corba_ipc_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortConnections  )

Definition at line 395 of file corba_ipc_test.cpp.

BOOST_AUTO_TEST_CASE ( testPortProxying  )

Definition at line 487 of file corba_ipc_test.cpp.

BOOST_AUTO_TEST_CASE ( testDataHalfs  )

Definition at line 545 of file corba_ipc_test.cpp.

BOOST_AUTO_TEST_CASE ( testBufferHalfs  )

Definition at line 614 of file corba_ipc_test.cpp.


Variable Documentation

Definition at line 152 of file corba_ipc_test.cpp.



rtt
Author(s): RTT Developers
autogenerated on Thu Jan 2 2014 11:35:41