test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME > Class Template Reference

#include <test_list.h>

Inheritance diagram for test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >:

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

List of all members.

Public Member Functions

 ThreadRemoveFactory (ListType *l, ListTest< ListType, ParaType, CLASS_NAME > *lt)
virtual Runnable ** createThreads (int threadNum, int elementNum, int operationNum)
virtual void verifyResult (int threadNum, int elementNum)
 ThreadRemoveFactory (SetType *s, SetTest< SetType, ParaType, CLASS_NAME > *st)
virtual Runnable ** createThreads (int threadNum, int elementNum, int operationNum)
virtual void verifyResult (int threadNum, int elementNum)

template<typename ListType, typename ParaType, char const * CLASS_NAME>
class test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >


Constructor & Destructor Documentation

template<typename ListType, typename ParaType, char const * CLASS_NAME>
test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >::ThreadRemoveFactory ( ListType *  l,
ListTest< ListType, ParaType, CLASS_NAME > *  lt 
) [inline]

template<typename ListType, typename ParaType, char const * CLASS_NAME>
test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >::ThreadRemoveFactory ( SetType *  s,
SetTest< SetType, ParaType, CLASS_NAME > *  st 
) [inline]


Member Function Documentation

template<typename ListType, typename ParaType, char const * CLASS_NAME>
virtual Runnable** test::ThreadRemoveFactory< ListType, 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 ListType, typename ParaType, char const * CLASS_NAME>
virtual void test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >::verifyResult ( int  threadNum,
int  elementNum 
) [inline, virtual]

Verify result when created threads finished.

Reimplemented from test::ThreadFactory< ParaType >.

template<typename ListType, typename ParaType, char const * CLASS_NAME>
virtual Runnable** test::ThreadRemoveFactory< ListType, 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 ListType, typename ParaType, char const * CLASS_NAME>
virtual void test::ThreadRemoveFactory< ListType, 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:41 2008 for Amino by  doxygen 1.5.6