SpikeStream Application Library
0.2
|
#include <ArchivePlayerThread.h>
Signals | |
void | timeStepChanged (unsigned timeStep, const QList< unsigned > &neuronIDList) |
Public Member Functions | |
ArchivePlayerThread (DBInfo dbInfo) | |
~ArchivePlayerThread () | |
void | clearWaitForGraphics () |
QString | getErrorMessage () |
bool | isError () |
void | play (unsigned int startTimeStep, unsigned int archiveID, unsigned int frameRate) |
void | step (unsigned int startTimeStep, unsigned int archiveID) |
void | setFrameRate (unsigned int frameRate) |
void | stop () |
Thread used to play an archive.
Definition at line 19 of file ArchivePlayerThread.h.
ArchivePlayerThread::ArchivePlayerThread | ( | DBInfo | archiveDBInfo | ) |
Constructor. NOTE: Cannot initialize archive dao here because constructor is called by a separate thread.
Definition at line 15 of file ArchivePlayerThread.cpp.
Destructor
Definition at line 25 of file ArchivePlayerThread.cpp.
void spikestream::ArchivePlayerThread::clearWaitForGraphics | ( | ) | [inline] |
Definition at line 25 of file ArchivePlayerThread.h.
QString ArchivePlayerThread::getErrorMessage | ( | ) |
Returns the error message associated with an error
Definition at line 34 of file ArchivePlayerThread.cpp.
bool ArchivePlayerThread::isError | ( | ) |
Returns true if an error has occurred
Definition at line 40 of file ArchivePlayerThread.cpp.
void ArchivePlayerThread::play | ( | unsigned int | startTimeStep, |
unsigned int | archiveID, | ||
unsigned int | frameRate | ||
) |
Starts the archive playing
Definition at line 46 of file ArchivePlayerThread.cpp.
void ArchivePlayerThread::setFrameRate | ( | unsigned int | frameRate | ) |
Sets the number of frames per second. This is converted into the update interval
Definition at line 66 of file ArchivePlayerThread.cpp.
void ArchivePlayerThread::step | ( | unsigned int | startTimeStep, |
unsigned int | archiveID | ||
) |
Causes archive to advance by one step
Definition at line 56 of file ArchivePlayerThread.cpp.
void ArchivePlayerThread::stop | ( | ) |
Causes the player to exit from its run loop and stop
Definition at line 73 of file ArchivePlayerThread.cpp.
void spikestream::ArchivePlayerThread::timeStepChanged | ( | unsigned | timeStep, |
const QList< unsigned > & | neuronIDList | ||
) | [signal] |