This is the main object that will keep track of overall test progress and results. More...
#include <TestStateData.h>
Public Member Functions | |
| void | ResetTestData () |
| Reset to the start of a new test. More... | |
| void | ResetAvgData () |
| Reset to the data that tracks the average values of tests. More... | |
| void | UpdateBufPtr (BufferObj &bufferObj) |
| Updates the current buffer pointer to the location where we are reading/writing the data. More... | |
| bool | ValidateDataBuffer () |
| Validates if the data buffer used to receive and send data from matches our base data buffer. More... | |
| void | ReportCurTestData () |
| Prints out data associated with the current test. More... | |
| bool | UpdateCurTestComplete () |
| Updates the data and averages associated with the overall set of tests that have been run. More... | |
| void | ReportTotalTestData () |
| Prints out the cumulative data for a specific test type. More... | |
This is the main object that will keep track of overall test progress and results.
| void TestStateData::ReportCurTestData | ( | ) |
Prints out data associated with the current test.
| void TestStateData::ReportTotalTestData | ( | ) |
Prints out the cumulative data for a specific test type.
| state | The state that the data should be printed for |
| void TestStateData::ResetAvgData | ( | ) |
Reset to the data that tracks the average values of tests.
| void TestStateData::ResetTestData | ( | ) |
Reset to the start of a new test.
| fillBuffer | Whether to fill the buffer with random data or zero it out |
| testInitiator | Whether the device running is the one that initiated the tests |
| void TestStateData::UpdateBufPtr | ( | BufferObj & | bufferObj | ) |
Updates the current buffer pointer to the location where we are reading/writing the data.
| bool TestStateData::UpdateCurTestComplete | ( | ) |
Updates the data and averages associated with the overall set of tests that have been run.
| bool TestStateData::ValidateDataBuffer | ( | ) |
Validates if the data buffer used to receive and send data from matches our base data buffer.