test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME > Class Template Reference

#include <test_bdeque.h>

Inheritance diagram for test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >:

test::ThreadFactory< ParaType > test::ThreadFactory< ParaType >

List of all members.

Public Types

typedef ThreadPushRight
< DequeType, ParaType,
CLASS_NAME > 
ThreadPushRight_T
typedef ThreadPushRight
< DequeType, ParaType,
CLASS_NAME > 
ThreadPushRight_T

Public Member Functions

 ThreadPushRightFactory (DequeType *q, BDequeTest< DequeType, ParaType, CLASS_NAME > *qt)
virtual Runnable ** createThreads (int threadNum, int elementNum, int operationNum)
virtual void verifyResult (int threadNum, int elementNum)
 ThreadPushRightFactory (DequeType *q, DequeTest< DequeType, ParaType, CLASS_NAME > *qt)
virtual Runnable ** createThreads (int threadNum, int elementNum, int operationNum)
virtual void verifyResult (int threadNum, int elementNum)

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
class test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >


Member Typedef Documentation

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
typedef ThreadPushRight<DequeType, ParaType, CLASS_NAME> test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::ThreadPushRight_T

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
typedef ThreadPushRight<DequeType, ParaType, CLASS_NAME> test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::ThreadPushRight_T


Constructor & Destructor Documentation

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::ThreadPushRightFactory ( DequeType *  q,
BDequeTest< DequeType, ParaType, CLASS_NAME > *  qt 
) [inline]

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::ThreadPushRightFactory ( DequeType *  q,
DequeTest< DequeType, ParaType, CLASS_NAME > *  qt 
) [inline]


Member Function Documentation

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
virtual Runnable** test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::createThreads ( int  threadNum,
int  elementNum,
int  operationNum 
) [inline, virtual]

Create multiple threads which can be used to run simultaneously. This method should also clean and setup internal state for next round of execution.

Implements test::ThreadFactory< ParaType >.

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
virtual void test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::verifyResult ( int  threadNum,
int  elementNum 
) [inline, virtual]

Verify result when created threads finished.

Reimplemented from test::ThreadFactory< ParaType >.

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
virtual Runnable** test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::createThreads ( int  threadNum,
int  elementNum,
int  operationNum 
) [inline, virtual]

Create multiple threads which can be used to run simultaneously. This method should also clean and setup internal state for next round of execution.

Implements test::ThreadFactory< ParaType >.

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
virtual void test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::verifyResult ( int  threadNum,
int  elementNum 
) [inline, virtual]

Verify result when created threads finished.

Reimplemented from test::ThreadFactory< ParaType >.


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

Generated on Tue Dec 9 13:39:40 2008 for Amino by  doxygen 1.5.6