8 #ifndef TF_TestThread_H_     9 #define TF_TestThread_H_    53     virtual void Run() = 0;
 pthread_mutex_t m_ResultStartMutex
 
virtual void GetResultInThread()=0
Show result. 
 
virtual void Start()
Start of test. 
 
static void * ThreadFunc(void *lpvThreadParm)
 
TF_TestThread(TableEngine *pTable, int argc, char **argv)
 
virtual void PrepareInThread()=0
Prepare test. 
 
pthread_mutex_t m_StartMutex
 
Base class for testing device. 
 
virtual void StepTable()=0
Show status information into test table. 
 
virtual int isComplete()
Return 1 when test is complete. 
 
Base class for application with thread. 
 
virtual int Prepare(int cnt)
Prepare test. 
 
pthread_mutex_t m_ResultCompleteMutex
 
virtual void GetResult()
Show result of test. 
 
pthread_mutex_t m_ThreadExitMutex
 
virtual void CleanupInThread()=0
Free any resource. 
 
virtual void Stop()
Stop of test. 
 
pthread_attr_t m_attrThread
 
virtual void Run()=0
Main body of user test.