Classes | Namespaces | Defines | Typedefs | Functions | Variables
RingBufferTests.cpp File Reference

RingBuffer test class. More...

#include <cppunit/ui/text/TestRunner.h>
#include <cppunit/TextOutputter.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/TestAssert.h>
#include <string>
#include <sstream>
#include <rtm/RingBuffer.h>
Include dependency graph for RingBufferTests.cpp:

Go to the source code of this file.

Classes

class  RingBuffer::RingBufferTests
 RingBuffer test. More...
struct  thread_arg

Namespaces

namespace  RingBuffer

Defines

#define RingBuffer_cpp

Typedefs

typedef ::RTC::BufferStatus::Enum ReturnCode

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (RingBuffer::RingBufferTests)
void * reader (void *arg)
void * writer (void *arg)

Variables

ReturnCode g_ret = RTC::BufferStatus::BUFFER_OK
int isBlockTest = false
static const int NLOOP = 0x00000fff

Detailed Description

RingBuffer test class.

Date:
Date:
2008/01/24 01:52:14
Author:
Shinji Kurihara Noriaki Ando <n-ando@aist.go.jp>

Copyright (C) 2006 Noriaki Ando Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.

Id:
RingBufferTests.cpp 2015 2010-12-29 11:33:33Z n-ando

Definition in file RingBufferTests.cpp.


Define Documentation

#define RingBuffer_cpp

Definition at line 42 of file RingBufferTests.cpp.


Typedef Documentation

Definition at line 57 of file RingBufferTests.cpp.


Function Documentation

void* reader ( void *  arg)

Definition at line 70 of file RingBufferTests.cpp.

void* writer ( void *  arg)

Definition at line 99 of file RingBufferTests.cpp.


Variable Documentation

Definition at line 59 of file RingBufferTests.cpp.

int isBlockTest = false

Definition at line 58 of file RingBufferTests.cpp.

const int NLOOP = 0x00000fff [static]

Definition at line 56 of file RingBufferTests.cpp.



openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:18