SpikeStream Application Library  0.2
spikestream::ArchivePlayerThread Class Reference

#include <ArchivePlayerThread.h>

List of all members.

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 ()

Detailed Description

Thread used to play an archive.

Definition at line 19 of file ArchivePlayerThread.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

Returns the error message associated with an error

Definition at line 34 of file ArchivePlayerThread.cpp.

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.

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]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines