Classes | Namespaces | Macros | 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 <unistd.h>
#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

 RingBuffer
 

Macros

#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-and.nosp@m.o@ai.nosp@m.st.go.nosp@m..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$

Definition in file RingBufferTests.cpp.

Macro Definition Documentation

◆ RingBuffer_cpp

#define RingBuffer_cpp

Definition at line 42 of file RingBufferTests.cpp.

Typedef Documentation

◆ ReturnCode

Definition at line 63 of file RingBufferTests.cpp.

Function Documentation

◆ CPPUNIT_TEST_SUITE_REGISTRATION()

CPPUNIT_TEST_SUITE_REGISTRATION ( RingBuffer::RingBufferTests  )

◆ reader()

void* reader ( void *  arg)

Definition at line 76 of file RingBufferTests.cpp.

◆ writer()

void* writer ( void *  arg)

Definition at line 105 of file RingBufferTests.cpp.

Variable Documentation

◆ g_ret

Definition at line 65 of file RingBufferTests.cpp.

◆ isBlockTest

int isBlockTest = false

Definition at line 64 of file RingBufferTests.cpp.

◆ NLOOP

const int NLOOP = 0x00000fff
static

Definition at line 62 of file RingBufferTests.cpp.



openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:45