#include <test_bdeque.h>
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) |
typedef ThreadPushRight<DequeType, ParaType, CLASS_NAME> test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::ThreadPushRight_T |
typedef ThreadPushRight<DequeType, ParaType, CLASS_NAME> test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::ThreadPushRight_T |
test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::ThreadPushRightFactory | ( | DequeType * | q, | |
BDequeTest< DequeType, ParaType, CLASS_NAME > * | qt | |||
) | [inline] |
test::ThreadPushRightFactory< DequeType, ParaType, CLASS_NAME >::ThreadPushRightFactory | ( | DequeType * | q, | |
DequeTest< DequeType, ParaType, CLASS_NAME > * | qt | |||
) | [inline] |
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 >.
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 >.
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 >.
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 >.