Classes | Public Types | Public Member Functions | Public Attributes | List of all members
BuffersDataFlowTest Class Reference

Classes

class  BufferReader
 
class  BufferWriter
 
class  DataObjectReader
 
class  DataObjectWriter
 

Public Types

typedef std::map< FlowStatus, int > ReadsByStatusMap
 

Public Member Functions

 BuffersDataFlowTest ()
 
void testBuf ()
 
void testBufMultiThreaded (int number_of_writers, int number_of_readers)
 
void testCirc ()
 
void testDObj ()
 
void testDObjMultiThreaded (int number_of_writers, int number_of_readers)
 
 ~BuffersDataFlowTest ()
 

Public Attributes

BufferInterface< Dummy > * buffer
 
BufferInterface< Dummy > * circular
 
BufferLocked< Dummy > * clocked
 
BufferLockFree< Dummy > * clockfree
 
BufferUnSync< Dummy > * cunsync
 
DataObjectInterface< Dummy > * dataobj
 
DataObjectLocked< Dummy > * dlocked
 
DataObjectLockFree< Dummy > * dlockfree
 
DataObjectUnSync< Dummy > * dunsync
 
BufferLocked< Dummy > * locked
 
BufferLockFree< Dummy > * lockfree
 
BufferUnSync< Dummy > * unsync
 

Detailed Description

Definition at line 166 of file buffers_test.cpp.

Member Typedef Documentation

Definition at line 189 of file buffers_test.cpp.

Constructor & Destructor Documentation

BuffersDataFlowTest::BuffersDataFlowTest ( )
inline

Definition at line 194 of file buffers_test.cpp.

BuffersDataFlowTest::~BuffersDataFlowTest ( )
inline

Definition at line 215 of file buffers_test.cpp.

Member Function Documentation

void BuffersDataFlowTest::testBuf ( )

Single Threaded test for BufferLockFree. This is a mixed white/black box test.

Definition at line 360 of file buffers_test.cpp.

void BuffersDataFlowTest::testBufMultiThreaded ( int  number_of_writers,
int  number_of_readers 
)

Definition at line 657 of file buffers_test.cpp.

void BuffersDataFlowTest::testCirc ( )

Single Threaded test for a circular BufferLockFree. This is a mixed white/black box test.

Definition at line 503 of file buffers_test.cpp.

void BuffersDataFlowTest::testDObj ( )

Definition at line 635 of file buffers_test.cpp.

void BuffersDataFlowTest::testDObjMultiThreaded ( int  number_of_writers,
int  number_of_readers 
)

Definition at line 705 of file buffers_test.cpp.

Member Data Documentation

BufferInterface<Dummy>* BuffersDataFlowTest::buffer

Definition at line 169 of file buffers_test.cpp.

BufferInterface<Dummy>* BuffersDataFlowTest::circular

Definition at line 170 of file buffers_test.cpp.

BufferLocked<Dummy>* BuffersDataFlowTest::clocked

Definition at line 178 of file buffers_test.cpp.

BufferLockFree<Dummy>* BuffersDataFlowTest::clockfree

Definition at line 177 of file buffers_test.cpp.

BufferUnSync<Dummy>* BuffersDataFlowTest::cunsync

Definition at line 179 of file buffers_test.cpp.

DataObjectInterface<Dummy>* BuffersDataFlowTest::dataobj

Definition at line 171 of file buffers_test.cpp.

DataObjectLocked<Dummy>* BuffersDataFlowTest::dlocked

Definition at line 181 of file buffers_test.cpp.

DataObjectLockFree<Dummy>* BuffersDataFlowTest::dlockfree

Definition at line 182 of file buffers_test.cpp.

DataObjectUnSync<Dummy>* BuffersDataFlowTest::dunsync

Definition at line 183 of file buffers_test.cpp.

BufferLocked<Dummy>* BuffersDataFlowTest::locked

Definition at line 174 of file buffers_test.cpp.

BufferLockFree<Dummy>* BuffersDataFlowTest::lockfree

Definition at line 173 of file buffers_test.cpp.

BufferUnSync<Dummy>* BuffersDataFlowTest::unsync

Definition at line 175 of file buffers_test.cpp.


The documentation for this class was generated from the following file:


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:40