check transfer
0.1
Check data transfer for SDAccell OpenCL application
|
Base class for testing device. More...
#include <tf_test.h>
Public Member Functions | |
virtual void | GetResult () |
Show result of test. More... | |
virtual int | isComplete () |
Return 1 when test is complete. More... | |
virtual int | Prepare (int cnt)=0 |
Prepare test. More... | |
virtual void | Start ()=0 |
Start of test. More... | |
virtual void | StepMainThread () |
Don't use. Reserve for future. More... | |
virtual void | StepTable () |
Show table. More... | |
virtual void | Stop () |
Stop of test. More... | |
TF_Test (TableEngine *pTable) | |
Public Attributes | |
TableEngine * | m_pTemplateEngine |
|
inline |
|
inlinevirtual |
Show result of test.
Reimplemented in TF_TestThread.
Definition at line 65 of file tf_test.h.
Referenced by main().
|
inlinevirtual |
Return 1 when test is complete.
Reimplemented in TF_TestThread.
Definition at line 49 of file tf_test.h.
Referenced by main().
|
pure virtual |
Prepare test.
cnt | number of call function |
Function is called during test preparation. Preparation of the test can be very long. When preparation is complete function must be return 1.
Preparation of the all tests is complete when all tests return 1
Implemented in TF_TestThread.
|
pure virtual |
|
inlinevirtual |
|
inlinevirtual |
Show table.
Function is called with 100 ms period. Test must put status information in the test table into this function.
Reimplemented in TF_TestThread, TF_CheckTransferIn, and TF_CheckTransferOut.
Definition at line 58 of file tf_test.h.
Referenced by main().
|
inlinevirtual |
Stop of test.
Reimplemented in TF_TestThread.
Definition at line 46 of file tf_test.h.
Referenced by main().
TableEngine* TF_Test::m_pTemplateEngine |
Definition at line 21 of file tf_test.h.
Referenced by TF_CheckTransferIn::Run(), TF_CheckTransferOut::Run(), TF_CheckTransferOut::StepTable(), and TF_CheckTransferIn::StepTable().