Classes | Macros | Functions
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
 

Macros

#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)
 

Macro Definition Documentation

#define ASSERT_PORT_SIGNALLING (   code,
  read_port 
)
Value:
do { \
signalled_port = 0; \
int wait = 0; \
code; \
while (read_port != signalled_port && wait++ != 5) \
usleep(100000); \
BOOST_CHECK( read_port == signalled_port ); \
} while(0)
int usleep(unsigned int us)
Definition: fosi.cpp:58

Definition at line 104 of file corba_mqueue_ipc_test.cpp.

#define wait_for (   cond,
  times 
)
Value:
do { \
bool wait_for_helper; \
int wait = 0; \
while( (wait_for_helper = !(cond)) && wait++ != times ) \
usleep(100000); \
if (wait_for_helper) BOOST_CHECK( cond ); \
} while(0)
int usleep(unsigned int us)
Definition: fosi.cpp:58

Definition at line 113 of file corba_mqueue_ipc_test.cpp.

#define wait_for_equal (   a,
  b,
  times 
)
Value:
do { \
bool wait_for_helper; \
int wait = 0; \
while( (wait_for_helper = ((a) != (b))) && wait++ != times ) \
usleep(100000); \
if (wait_for_helper) BOOST_CHECK_EQUAL( a, b ); \
} while(0)
int usleep(unsigned int us)
Definition: fosi.cpp:58

Definition at line 121 of file corba_mqueue_ipc_test.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( testPortConnections  )

Definition at line 187 of file corba_mqueue_ipc_test.cpp.



rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:45