SpikeStream Library  0.2
spikestream::SpikeStreamThread Class Reference

#include <SpikeStreamThread.h>

List of all members.

Public Member Functions

 SpikeStreamThread ()
virtual ~SpikeStreamThread ()
void clearError ()
virtual QString getErrorMessage ()
virtual bool isError ()
virtual void run ()=0
virtual void stop ()

Protected Member Functions

void setError (const QString &errorMessage)

Protected Attributes

QString errorMessage
bool stopThread
bool error

Detailed Description

Implements basic functionality used by all SpikeStream threads

Definition at line 10 of file SpikeStreamThread.h.


Constructor & Destructor Documentation

Constructor

Definition at line 5 of file SpikeStreamThread.cpp.

Destructor

Definition at line 10 of file SpikeStreamThread.cpp.


Member Function Documentation

Clears error state and message

Definition at line 19 of file SpikeStreamThread.cpp.

QString SpikeStreamThread::getErrorMessage ( ) [virtual]

Returns the error message

Definition at line 26 of file SpikeStreamThread.cpp.

bool SpikeStreamThread::isError ( ) [virtual]

Returns true if an error has occurred

Definition at line 31 of file SpikeStreamThread.cpp.

virtual void spikestream::SpikeStreamThread::run ( ) [pure virtual]
void SpikeStreamThread::setError ( const QString &  errorMessage) [protected]

Puts the thread into the error state with the provided error message

Definition at line 47 of file SpikeStreamThread.cpp.

void SpikeStreamThread::stop ( ) [virtual]

Stops the thread running

Definition at line 37 of file SpikeStreamThread.cpp.


Member Data Documentation

Set to true when an error has occurred

Definition at line 32 of file SpikeStreamThread.h.

Message associated with an error

Definition at line 26 of file SpikeStreamThread.h.

Used to cancel the operation

Definition at line 29 of file SpikeStreamThread.h.


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