Loading [MathJax]/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
1 #ifndef CubeDataThreadTester_h
2 #define CubeDataThreadTester_h
12 template<
typename T>
class QList;
13 template<
typename A,
typename B>
struct QPair;
70 int endSample,
int endLine,
int band,
void *caller);
85 int endSample,
int endLine,
int band,
void *caller);
int p_numTestsDone
The count of completed tests.
CubeDataThread * p_cubeDataThread
The data thread being tested.
void BrickChanged(int cubeId, const Isis::Brick *data)
This is called when a brick is written.
void run()
This thread is centered completely around its event loop.
void ReadCubeTest2(int, int)
This tests two basic reads with no conflicts.
CubeDataThreadTester(CubeDataThread *)
This initializes a CubeDataThreadTester.
This is free and unencumbered software released into the public domain.
CubeDataThread * DataThread()
Returns the cube data thread being tested.
int NumberOfTestsDone()
Returns the number of tests done (testing methods count as several)
void RequestReadCube(int cubeId, int startSample, int startLine, int endSample, int endLine, int band, void *caller)
Ask for a brick for reading.
void NotifyDoneWithData(int, const Isis::Brick *)
Let the cube data thread know we're no longer working with a particular brick.
QVector< QPair< int, const Isis::Brick * > > * p_cachedDoneBricks
A list of bricks we haven't send the done signal for.
void ReadCubeTest(int)
This tests a basic read.
Buffer for containing a three dimensional section of an image.
void WriteCubeTest(int)
This tests a basic write.
Encapsulation of Cube I/O with Change Notifications.
bool p_notifyDone
True if we will notify done on the next brick received for R/W.
virtual ~CubeDataThreadTester()
This cleans up the cube data thread.
void NotifyChangeTest(int)
This test tests this automatic change notifications.
void ReadCubeTest3(int)
This tests an overlapping read.
bool p_execStarted
True if this thread is started.
void ReadWriteBrick(void *requester, int cubeId, Isis::Brick *data)
This is called when a brick is given for R/W.
void WriteCubeTest3BreakDeadlock()
This test breaks the deadlock caused by the third write test.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
void ReadBrick(void *requester, int cubeId, const Isis::Brick *data)
This is called when a brick is read.
void Connect()
This connects this class' signals and slots with CubeDataThread's signals and slots.
void RequestReadWriteCube(int cubeId, int startSample, int startLine, int endSample, int endLine, int band, void *caller)
Ask for a brick for reading and writing.
void WriteCubeTest2(int, int)
This tests two non-conflicting writes.
This is free and unencumbered software released into the public domain.
void WriteCubeTest3(int)
This tests two conflicting* writes.