|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef CubeDataThreadTester_h
2 #define CubeDataThreadTester_h
12 template<
typename T>
class QList;
13 template<
typename A,
typename B>
struct QPair;
34 return p_numTestsDone;
39 return p_cubeDataThread;
70 int endSample,
int endLine,
int band,
void *caller);
85 int endSample,
int endLine,
int band,
void *caller);
void BrickChanged(int cubeId, const Isis::Brick *data)
This is called when a brick is written.
Definition: CubeDataThreadTester.cpp:360
void ReadCubeTest2(int, int)
This tests two basic reads with no conflicts.
Definition: CubeDataThreadTester.cpp:111
CubeDataThreadTester(CubeDataThread *)
This initializes a CubeDataThreadTester.
Definition: CubeDataThreadTester.cpp:33
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
CubeDataThread * DataThread()
Returns the cube data thread being tested.
Definition: CubeDataThreadTester.h:38
int NumberOfTestsDone()
Returns the number of tests done (testing methods count as several)
Definition: CubeDataThreadTester.h:33
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.
void ReadCubeTest(int)
This tests a basic read.
Definition: CubeDataThreadTester.cpp:99
Buffer for containing a three dimensional section of an image.
Definition: Brick.h:45
void WriteCubeTest(int)
This tests a basic write.
Definition: CubeDataThreadTester.cpp:141
Encapsulation of Cube I/O with Change Notifications.
Definition: CubeDataThread.h:59
Definition: CubeDataThreadTester.h:25
void AddChangeListener()
You must call this method after connecting to the BrickChanged signal, otherwise you are not guarante...
Definition: CubeDataThread.cpp:230
virtual ~CubeDataThreadTester()
This cleans up the cube data thread.
Definition: CubeDataThreadTester.cpp:78
void NotifyChangeTest(int)
This test tests this automatic change notifications.
Definition: CubeDataThreadTester.cpp:206
void ReadCubeTest3(int)
This tests an overlapping read.
Definition: CubeDataThreadTester.cpp:126
double at(const int index) const
Returns the value in the shape buffer at the given index.
Definition: Buffer.cpp:231
void ReadWriteBrick(void *requester, int cubeId, Isis::Brick *data)
This is called when a brick is given for R/W.
Definition: CubeDataThreadTester.cpp:283
void WriteCubeTest3BreakDeadlock()
This test breaks the deadlock caused by the third write test.
Definition: CubeDataThreadTester.cpp:186
Namespace for the standard library.
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
int size() const
Returns the total number of pixels in the shape buffer.
Definition: Buffer.h:97
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
void ReadBrick(void *requester, int cubeId, const Isis::Brick *data)
This is called when a brick is read.
Definition: CubeDataThreadTester.cpp:228
void Connect()
This connects this class' signals and slots with CubeDataThread's signals and slots.
Definition: CubeDataThreadTester.cpp:52
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.
Definition: CubeDataThreadTester.cpp:154
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
void WriteCubeTest3(int)
This tests two conflicting* writes.
Definition: CubeDataThreadTester.cpp:172