#include <test_bdeque.h>
Public Types | |
typedef Thread4Dir< DequeType, ParaType, CLASS_NAME > | Thread4Dir_T |
typedef Thread4Dir< DequeType, ParaType, CLASS_NAME > | Thread4Dir_T |
Public Member Functions | |
Thread4DirFactory (DequeType *q, BDequeTest< DequeType, ParaType, CLASS_NAME > *qt) | |
virtual Runnable ** | createThreads (int threadNum, int elementNum, int operationNum) |
Thread4DirFactory (CounterType *q, CounterTest< CounterType, ParaType, CLASS_NAME > *qt) | |
virtual Runnable ** | createThreads (int threadNum, int elementNum, int operationNum) |
virtual void | verifyResult (int threadNum, int elementNum) |
Thread4DirFactory (DequeType *q, DequeTest< DequeType, ParaType, CLASS_NAME > *qt) | |
virtual Runnable ** | createThreads (int threadNum, int elementNum, int operationNum) |
Public Attributes | |
int | opNum |
typedef Thread4Dir<DequeType, ParaType, CLASS_NAME> test::Thread4DirFactory< DequeType, ParaType, CLASS_NAME >::Thread4Dir_T |
typedef Thread4Dir<DequeType, ParaType, CLASS_NAME> test::Thread4DirFactory< DequeType, ParaType, CLASS_NAME >::Thread4Dir_T |
test::Thread4DirFactory< DequeType, ParaType, CLASS_NAME >::Thread4DirFactory | ( | DequeType * | q, | |
BDequeTest< DequeType, ParaType, CLASS_NAME > * | qt | |||
) | [inline] |
test::Thread4DirFactory< DequeType, ParaType, CLASS_NAME >::Thread4DirFactory | ( | CounterType * | q, | |
CounterTest< CounterType, ParaType, CLASS_NAME > * | qt | |||
) | [inline] |
test::Thread4DirFactory< DequeType, ParaType, CLASS_NAME >::Thread4DirFactory | ( | DequeType * | q, | |
DequeTest< DequeType, ParaType, CLASS_NAME > * | qt | |||
) | [inline] |
virtual Runnable** test::Thread4DirFactory< 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 Runnable** test::Thread4DirFactory< 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::Thread4DirFactory< 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::Thread4DirFactory< 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 >.
int test::Thread4DirFactory< DequeType, ParaType, CLASS_NAME >::opNum |