1 #ifndef CubeDataThreadTester_h 2 #define CubeDataThreadTester_h 6 template<
typename T>
class QList;
7 template<
typename A,
typename B>
struct QPair;
28 return p_numTestsDone;
33 return p_cubeDataThread;
64 int endSample,
int endLine,
int band,
void *caller);
79 int endSample,
int endLine,
int band,
void *caller);
void WriteCubeTest3BreakDeadlock()
This test breaks the deadlock caused by the third write test.
Definition: CubeDataThreadTester.cpp:180
void ReadBrick(void *requester, int cubeId, const Isis::Brick *data)
This is called when a brick is read.
Definition: CubeDataThreadTester.cpp:222
void RequestReadCube(int cubeId, int startSample, int startLine, int endSample, int endLine, int band, void *caller)
Ask for a brick for reading.
Buffer for containing a three dimensional section of an image.
Definition: Brick.h:61
int NumberOfTestsDone()
Returns the number of tests done (testing methods count as several)
Definition: CubeDataThreadTester.h:27
Definition: CubeDataThreadTester.h:19
void ReadCubeTest(int)
This tests a basic read.
Definition: CubeDataThreadTester.cpp:93
CubeDataThreadTester(CubeDataThread *)
This initializes a CubeDataThreadTester.
Definition: CubeDataThreadTester.cpp:27
void NotifyChangeTest(int)
This test tests this automatic change notifications.
Definition: CubeDataThreadTester.cpp:200
void BrickChanged(int cubeId, const Isis::Brick *data)
This is called when a brick is written.
Definition: CubeDataThreadTester.cpp:354
void ReadWriteBrick(void *requester, int cubeId, Isis::Brick *data)
This is called when a brick is given for R/W.
Definition: CubeDataThreadTester.cpp:277
void WriteCubeTest2(int, int)
This tests two non-conflicting writes.
Definition: CubeDataThreadTester.cpp:148
CubeDataThread * DataThread()
Returns the cube data thread being tested.
Definition: CubeDataThreadTester.h:32
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 ReadCubeTest3(int)
This tests an overlapping read.
Definition: CubeDataThreadTester.cpp:120
void WriteCubeTest3(int)
This tests two conflicting* writes.
Definition: CubeDataThreadTester.cpp:166
Encapsulation of Cube I/O with Change Notifications.
Definition: CubeDataThread.h:53
void ReadCubeTest2(int, int)
This tests two basic reads with no conflicts.
Definition: CubeDataThreadTester.cpp:105
void Connect()
This connects this class' signals and slots with CubeDataThread's signals and slots.
Definition: CubeDataThreadTester.cpp:46
void NotifyDoneWithData(int, const Isis::Brick *)
Let the cube data thread know we're no longer working with a particular brick.
Definition: Calculator.h:33
virtual ~CubeDataThreadTester()
This cleans up the cube data thread.
Definition: CubeDataThreadTester.cpp:72
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Definition: CubeIoHandler.h:39
void WriteCubeTest(int)
This tests a basic write.
Definition: CubeDataThreadTester.cpp:135