Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes
DataThread Class Reference

Abstract base class for a data input thread owned by the SourceNode. More...

#include <DataThread.h>

Inheritance diagram for DataThread:
FileReaderThread FPGAThread IntanThread NetworkThread

List of all members.

Public Member Functions

 DataThread (SourceNode *sn)
 ~DataThread ()
void run ()
DataBuffergetBufferAddress ()
virtual bool updateBuffer ()=0
virtual bool foundInputSource ()=0
virtual bool startAcquisition ()=0
virtual bool stopAcquisition ()=0
virtual int getNumChannels ()=0
virtual float getSampleRate ()=0
virtual float getBitVolts ()=0

Public Attributes

ScopedPointer< DataBufferdataBuffer
SourceNodesn

Detailed Description

Abstract base class for a data input thread owned by the SourceNode.

See also:
SourceNode

Constructor & Destructor Documentation

DataThread::DataThread ( SourceNode sn)
DataThread::~DataThread ( )

Member Function Documentation

virtual bool DataThread::foundInputSource ( )
pure virtual
virtual float DataThread::getBitVolts ( )
pure virtual

Implemented in FileReaderThread, FPGAThread, and IntanThread.

DataBuffer* DataThread::getBufferAddress ( )
virtual int DataThread::getNumChannels ( )
pure virtual
virtual float DataThread::getSampleRate ( )
pure virtual
void DataThread::run ( )
virtual bool DataThread::startAcquisition ( )
pure virtual

Implemented in FileReaderThread, and NetworkThread.

virtual bool DataThread::stopAcquisition ( )
pure virtual

Implemented in FileReaderThread, and NetworkThread.

virtual bool DataThread::updateBuffer ( )
pure virtual

Member Data Documentation

ScopedPointer<DataBuffer> DataThread::dataBuffer
SourceNode* DataThread::sn

The documentation for this class was generated from the following file: