Classes | Defines | Functions | Variables
corba_mqueue_ipc_test.cpp File Reference
#include "unit.hpp"
#include "corba_mqueue_test.hpp"
#include <iostream>
#include <transports/corba/DataFlowI.h>
#include <rtt/transports/corba/RemotePorts.hpp>
#include <rtt/transports/mqueue/MQLib.hpp>
#include <rtt/transports/corba/CorbaConnPolicy.hpp>
#include <transports/corba/corba.h>
#include <rtt/InputPort.hpp>
#include <rtt/OutputPort.hpp>
#include <rtt/TaskContext.hpp>
#include <transports/corba/TaskContextServer.hpp>
#include <transports/corba/TaskContextProxy.hpp>
#include <string>
#include <cstdlib>
Include dependency graph for corba_mqueue_ipc_test.cpp:

Go to the source code of this file.

Classes

class  CorbaMQueueIPCTest

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 (testPortConnections)

Variables

bool wait_for_helper

Define Documentation

#define ASSERT_PORT_SIGNALLING (   code,
  read_port 
)
Value:
signalled_port = 0; \
    code; \
    usleep(100000); \
    BOOST_CHECK( read_port == signalled_port );

Definition at line 105 of file corba_mqueue_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 112 of file corba_mqueue_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 118 of file corba_mqueue_ipc_test.cpp.


Function Documentation

BOOST_AUTO_TEST_CASE ( testPortConnections  )

Definition at line 189 of file corba_mqueue_ipc_test.cpp.


Variable Documentation

Definition at line 111 of file corba_mqueue_ipc_test.cpp.



rtt
Author(s): RTT Developers
autogenerated on Wed Aug 26 2015 16:16:21